Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Functions.Examples.Round.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.Round,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ym2|ym1|y|y1|y2",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.Round") translateModel(Buildings.Utilities.Math.Functions.Examples.Round,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ym2|ym1|y|y1|y2",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.Round") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001092/0.001092, allocations: 102.5 kB / 15.71 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001473/0.001473, allocations: 175.9 kB / 16.58 MB, free: 6.082 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.557/1.557, allocations: 223.3 MB / 240.6 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.592/2.592, allocations: 390.4 MB / 0.6662 GB, free: 2.836 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004358/0.0004359, allocations: 11.98 kB / 0.8154 GB, free: 14.17 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9607/0.9611, allocations: 142.3 MB / 0.9544 GB, free: 8.148 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Round): time 0.0008759/0.9621, allocations: 328.7 kB / 0.9547 GB, free: 7.898 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0002738/0.9623, allocations: 56.66 kB / 0.9548 GB, free: 7.855 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.709e-05/0.9624, allocations: 5.188 kB / 0.9548 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.289e-05/0.9624, allocations: 4 kB / 0.9548 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.837e-06/0.9624, allocations: 0 / 0.9548 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002465/0.9627, allocations: 23.5 kB / 0.9548 GB, free: 7.832 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.631e-05/0.9627, allocations: 8.172 kB / 0.9548 GB, free: 7.828 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.91e-05/0.9628, allocations: 1.219 kB / 0.9548 GB, free: 7.828 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.337e-05/0.9628, allocations: 7.156 kB / 0.9548 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.016e-05/0.9629, allocations: 8.312 kB / 0.9548 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.338e-05/0.9629, allocations: 0 / 0.9548 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.343e-05/0.9631, allocations: 15.34 kB / 0.9549 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.481e-05/0.9631, allocations: 9.047 kB / 0.9549 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.271e-05/0.9631, allocations: 34.83 kB / 0.9549 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.43e-05/0.9632, allocations: 8.203 kB / 0.9549 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.223e-06/0.9632, allocations: 0.9688 kB / 0.9549 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.004e-06/0.9632, allocations: 0 / 0.9549 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.029e-06/0.9632, allocations: 0 / 0.9549 GB, free: 7.762 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003524/0.9636, allocations: 313.9 kB / 0.9552 GB, free: 7.414 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.449e-05/0.9637, allocations: 12.98 kB / 0.9552 GB, free: 7.41 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.834e-05/0.9637, allocations: 12.81 kB / 0.9552 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.84e-05/0.9638, allocations: 160.5 kB / 0.9554 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.449e-05/0.9638, allocations: 8 kB / 0.9554 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.347e-05/0.9638, allocations: 2.781 kB / 0.9554 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000155/0.964, allocations: 69.73 kB / 0.9555 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.964, allocations: 0 / 0.9555 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.964, allocations: 1.312 kB / 0.9555 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-06/0.9641, allocations: 0 / 0.9555 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.263e-05/0.9641, allocations: 23.25 kB / 0.9555 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001982/0.9643, allocations: 179.6 kB / 0.9557 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001082/0.9644, allocations: 97.36 kB / 0.9558 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.418e-05/0.9645, allocations: 37.34 kB / 0.9558 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002184/0.9647, allocations: 84.47 kB / 0.9559 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.581e-05/0.9648, allocations: 45.19 kB / 0.9559 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=5): time 1.583e-06/0.9648, allocations: 0 / 0.9559 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5): time 0.0002699/0.9651, allocations: 69.45 kB / 0.956 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.673e-05/0.9652, allocations: 159.3 kB / 0.9561 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.199e-05/0.9652, allocations: 93.86 kB / 0.9562 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.037e-05/0.9652, allocations: 27.2 kB / 0.9562 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.935e-05/0.9652, allocations: 85.58 kB / 0.9563 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.018e-05/0.9653, allocations: 17 kB / 0.9563 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.001e-06/0.9653, allocations: 5.438 kB / 0.9563 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.94e-05/0.9654, allocations: 318.8 kB / 0.9567 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.399e-05/0.9654, allocations: 3.656 kB / 0.9567 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.829e-05/0.9654, allocations: 45.16 kB / 0.9567 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.928e-05/0.9655, allocations: 9.938 kB / 0.9567 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.9655, allocations: 0 / 0.9567 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001373/0.9657, allocations: 61 kB / 0.9568 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/0.9657, allocations: 5.969 kB / 0.9568 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.9657, allocations: 1.625 kB / 0.9568 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.9657, allocations: 5.469 kB / 0.9568 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001016/0.9658, allocations: 20.33 kB / 0.9568 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.225e-06/0.9659, allocations: 1.531 kB / 0.9568 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.695e-05/0.9659, allocations: 5.469 kB / 0.9568 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.209e-05/0.9659, allocations: 3.312 kB / 0.9568 GB, free: 5.613 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.061e-05/0.966, allocations: 112.2 kB / 0.9569 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.257e-05/0.966, allocations: 6.656 kB / 0.9569 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002648/0.9663, allocations: 100.8 kB / 0.957 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.9663, allocations: 1.5 kB / 0.957 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.097e-06/0.9664, allocations: 2.438 kB / 0.957 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.281e-06/0.9664, allocations: 1.281 kB / 0.957 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00015/0.9665, allocations: 169.6 kB / 0.9572 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.9665, allocations: 1.125 kB / 0.9572 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.812e-05/0.9666, allocations: 12.84 kB / 0.9572 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.95e-06/0.9667, allocations: 7.062 kB / 0.9572 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.241e-05/0.9667, allocations: 1.312 kB / 0.9572 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/0.9667, allocations: 2.688 kB / 0.9572 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/0.9667, allocations: 1.188 kB / 0.9572 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001897/0.9669, allocations: 136.3 kB / 0.9573 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.075e-05/0.9669, allocations: 83.17 kB / 0.9574 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.99e-05/0.967, allocations: 6.531 kB / 0.9574 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.875e-05/0.967, allocations: 2.188 kB / 0.9574 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.372e-05/0.9671, allocations: 15.2 kB / 0.9574 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.618e-06/0.9671, allocations: 3.438 kB / 0.9574 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.741e-05/0.9671, allocations: 76.31 kB / 0.9575 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9671, allocations: 0 / 0.9575 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003747/0.9675, allocations: 9.781 kB / 0.9575 GB, free: 4.879 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000198/0.9677, allocations: 119.2 kB / 0.9576 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001429/0.9679, allocations: 36.11 kB / 0.9577 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.9679, allocations: 0 / 0.9577 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 5.178e-05/0.9679, allocations: 23.94 kB / 0.9577 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002703/0.9682, allocations: 9.203 kB / 0.9577 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003234/0.9686, allocations: 178.8 kB / 0.9579 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000138/0.9687, allocations: 0.6852 MB / 0.9585 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.385e-05/0.9688, allocations: 10.16 kB / 0.9586 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of SimCode: time 3.01e-07/0.9688, allocations: 1.094 kB / 0.9586 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of Templates: time 0.003001/0.9718, allocations: 0.6815 MB / 0.9592 GB, free: 3.496 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.Round.makefile make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.Round.makefile clang++ NOTFOUND -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_9_Buildings.Utilities.Math.Functions.Examples.RoundCalcHelperMain.o OMCppBuildings_9_Buildings.Utilities.Math.Functions.Examples.RoundCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Utilities.Math.Functions.Examples.RoundCalcHelperMain.o] Error 1