Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.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.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaCur.TSup|heaCur.TRet|heaCur.TOut|heaCur1.TRoo_in|heaCur1.TSup|heaCur1.TRet",fileNamePrefix="Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset") translateModel(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaCur.TSup|heaCur.TRet|heaCur.TOut|heaCur1.TRoo_in|heaCur1.TSup|heaCur1.TRet",fileNamePrefix="Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008606/0.0008607, allocations: 102.7 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.001137/0.001138, allocations: 173.8 kB / 16.58 MB, free: 6.402 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.416/1.416, allocations: 223.2 MB / 240.6 MB, free: 5.418 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.627/2.627, allocations: 390.4 MB / 0.6662 GB, free: 2.867 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003936/0.0003939, allocations: 12 kB / 0.8154 GB, free: 14.17 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9385/0.9389, allocations: 142.3 MB / 0.9544 GB, free: 8.094 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.001743/0.9407, allocations: 1.497 MB / 0.9559 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0002437/0.941, allocations: 122.8 kB / 0.956 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.964e-05/0.941, allocations: 0.9375 kB / 0.956 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 8.191e-05/0.9411, allocations: 8.766 kB / 0.956 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.792e-05/0.9412, allocations: 42.19 kB / 0.956 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001041/0.9413, allocations: 34.94 kB / 0.9561 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001816/0.9415, allocations: 153.6 kB / 0.9562 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.458e-05/0.9416, allocations: 22.28 kB / 0.9562 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.454e-05/0.9417, allocations: 50.09 kB / 0.9563 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.949e-05/0.9418, allocations: 55.39 kB / 0.9563 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.223e-05/0.9419, allocations: 5.344 kB / 0.9563 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.422e-05/0.9419, allocations: 4.219 kB / 0.9563 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.174e-05/0.9419, allocations: 27 kB / 0.9564 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.499e-05/0.942, allocations: 50.14 kB / 0.9564 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.991e-05/0.9421, allocations: 79.45 kB / 0.9565 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.9421, allocations: 1.312 kB / 0.9565 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.134e-06/0.9421, allocations: 0 / 0.9565 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.394e-06/0.9421, allocations: 0 / 0.9565 GB, free: 6.449 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006165/0.9427, allocations: 449.6 kB / 0.9569 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.9428, allocations: 9.906 kB / 0.9569 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.131e-05/0.9428, allocations: 17.83 kB / 0.9569 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001711/0.943, allocations: 200 kB / 0.9571 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.413e-05/0.943, allocations: 10.56 kB / 0.9571 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.783e-05/0.943, allocations: 8.141 kB / 0.9571 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002683/0.9433, allocations: 132.6 kB / 0.9573 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.133e-06/0.9433, allocations: 0 / 0.9573 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.385e-05/0.9433, allocations: 1.062 kB / 0.9573 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.9433, allocations: 2.125 kB / 0.9573 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002879/0.9436, allocations: 119.6 kB / 0.9574 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006616/0.9443, allocations: 472.4 kB / 0.9578 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003563/0.9447, allocations: 141.6 kB / 0.958 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001625/0.9449, allocations: 72.33 kB / 0.958 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.052e-05/0.9449, allocations: 2.062 kB / 0.958 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.895e-05/0.9449, allocations: 36 kB / 0.9581 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 1.182e-06/0.9449, allocations: 4 kB / 0.9581 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9): time 0.0005509/0.9455, allocations: 203.8 kB / 0.9583 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.993e-05/0.9455, allocations: 78.92 kB / 0.9584 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001347/0.9457, allocations: 169.5 kB / 0.9585 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.171e-05/0.9457, allocations: 27.27 kB / 0.9585 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.376e-05/0.9457, allocations: 108.8 kB / 0.9586 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.537e-05/0.9458, allocations: 27.94 kB / 0.9587 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.173e-06/0.9458, allocations: 0 / 0.9587 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.882e-05/0.9459, allocations: 333.8 kB / 0.959 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001359/0.946, allocations: 49.25 kB / 0.959 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001385/0.9462, allocations: 66.31 kB / 0.9591 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001384/0.9463, allocations: 51.27 kB / 0.9591 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.9463, allocations: 3.984 kB / 0.9592 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003167/0.9466, allocations: 162.2 kB / 0.9593 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.9467, allocations: 5 kB / 0.9593 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.9467, allocations: 0 / 0.9593 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.9467, allocations: 1.375 kB / 0.9593 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001486/0.9468, allocations: 24.61 kB / 0.9593 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/0.9469, allocations: 1.375 kB / 0.9593 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001138/0.947, allocations: 25.64 kB / 0.9594 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.182e-05/0.947, allocations: 2.75 kB / 0.9594 GB, free: 3.961 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (10): * Single equations (assignments): 10 * 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.362e-05/0.9471, allocations: 121.9 kB / 0.9595 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.283e-05/0.9471, allocations: 14.73 kB / 0.9595 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004052/0.9475, allocations: 174.8 kB / 0.9597 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.9476, allocations: 5.469 kB / 0.9597 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.9476, allocations: 1.438 kB / 0.9597 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.9476, allocations: 0 / 0.9597 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002603/0.9478, allocations: 231.7 kB / 0.9599 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.9479, allocations: 1.375 kB / 0.9599 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001367/0.948, allocations: 23.64 kB / 0.9599 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/0.948, allocations: 5.016 kB / 0.9599 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.342e-05/0.948, allocations: 5.391 kB / 0.9599 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.948, allocations: 0 / 0.9599 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.948, allocations: 5.469 kB / 0.9599 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003691/0.9484, allocations: 326.4 kB / 0.9602 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.502e-05/0.9485, allocations: 92.03 kB / 0.9603 GB, free: 3.086 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.765e-05/0.9485, allocations: 9.297 kB / 0.9603 GB, free: 3.078 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001631/0.9487, allocations: 16.89 kB / 0.9604 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.82e-05/0.9487, allocations: 7.203 kB / 0.9604 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.155e-06/0.9487, allocations: 2.312 kB / 0.9604 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 8.57e-05/0.9488, allocations: 131.2 kB / 0.9605 GB, free: 2.965 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/0.9488, allocations: 0 / 0.9605 GB, free: 2.965 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002911/0.9491, allocations: 32.81 kB / 0.9605 GB, free: 2.957 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 8.942e-05/0.9492, allocations: 110.9 kB / 0.9606 GB, free: 2.855 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003364/0.9496, allocations: 112.4 kB / 0.9607 GB, free: 2.816 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.9496, allocations: 0 / 0.9607 GB, free: 2.816 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001604/0.9497, allocations: 65.19 kB / 0.9608 GB, free: 2.789 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000483/0.9502, allocations: 42.16 kB / 0.9608 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000468/0.9507, allocations: 280.1 kB / 0.9611 GB, free: 2.516 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001341/0.9508, allocations: 0.7144 MB / 0.9618 GB, free: 1.797 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.882e-05/0.9509, allocations: 18.31 kB / 0.9618 GB, free: 1.789 MB / 0.7169 GB Notification: Performance of SimCode: time 2.51e-07/0.9509, allocations: 0 / 0.9618 GB, free: 1.789 MB / 0.7169 GB Notification: Performance of Templates: time 0.003503/0.9544, allocations: 1.737 MB / 0.9635 GB, free: 0.918 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.makefile make -j1 -f Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.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.Controls.SetPoints.Examples.SupplyReturnTemperatureResetCalcHelperMain.o OMCppBuildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureResetCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureResetCalcHelperMain.o] Error 1