Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/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(BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset") translateModel(BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009577/0.0009578, allocations: 102.4 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.001362/0.001363, allocations: 173 kB / 16.58 MB, free: 6.105 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.486/1.486, allocations: 223.3 MB / 240.6 MB, free: 5.285 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.151/1.151, allocations: 143.4 MB / 435.1 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003432/0.0003432, allocations: 15.98 kB / 0.5166 GB, free: 11.31 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2122/0.2125, allocations: 83.41 MB / 0.5981 GB, free: 7.84 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset): time 0.004327/0.2169, allocations: 3.495 MB / 0.6015 GB, free: 4.324 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00269/0.2197, allocations: 1.243 MB / 0.6027 GB, free: 3.074 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004285/0.2201, allocations: 23.88 kB / 0.6027 GB, free: 3.051 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002855/0.2204, allocations: 87.22 kB / 0.6028 GB, free: 2.965 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003202/0.2207, allocations: 138.8 kB / 0.6029 GB, free: 2.828 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000845/0.2216, allocations: 283.1 kB / 0.6032 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0008604/0.2225, allocations: 0.8383 MB / 0.604 GB, free: 1.711 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004836/0.223, allocations: 295.6 kB / 0.6043 GB, free: 1.41 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002935/0.2233, allocations: 226.9 kB / 0.6045 GB, free: 1.188 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002853/0.2236, allocations: 242.6 kB / 0.6047 GB, free: 0.9492 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.988e-05/0.2236, allocations: 24 kB / 0.6048 GB, free: 0.9258 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.286e-05/0.2237, allocations: 24 kB / 0.6048 GB, free: 0.9023 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.687e-05/0.2238, allocations: 95.53 kB / 0.6049 GB, free: 0.8086 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001461/0.224, allocations: 157.3 kB / 0.605 GB, free: 0.6484 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.4108/0.6347, allocations: 0.8513 MB / 0.6059 GB, free: 36.01 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 9.728e-06/0.6348, allocations: 1.719 kB / 0.6059 GB, free: 36.01 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.976e-06/0.6348, allocations: 0 / 0.6059 GB, free: 36.01 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.249e-05/0.6349, allocations: 0 / 0.6059 GB, free: 36.01 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.001875/0.6368, allocations: 0.9572 MB / 0.6068 GB, free: 35.42 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.702e-05/0.6368, allocations: 9.906 kB / 0.6068 GB, free: 35.42 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001317/0.6369, allocations: 82.31 kB / 0.6069 GB, free: 35.38 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000773/0.6377, allocations: 0.5411 MB / 0.6074 GB, free: 35.12 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.414e-05/0.6378, allocations: 41.41 kB / 0.6074 GB, free: 35.12 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.695e-05/0.6379, allocations: 57.81 kB / 0.6075 GB, free: 35.12 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001038/0.6389, allocations: 0.6109 MB / 0.6081 GB, free: 35.02 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.186e-05/0.639, allocations: 3.422 kB / 0.6081 GB, free: 35.02 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.458e-05/0.639, allocations: 21.56 kB / 0.6081 GB, free: 35.02 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.659e-05/0.639, allocations: 14.94 kB / 0.6081 GB, free: 35.02 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009419/0.64, allocations: 470.2 kB / 0.6086 GB, free: 35.02 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002792/0.6428, allocations: 2.022 MB / 0.6106 GB, free: 34.37 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008683/0.6437, allocations: 452.9 kB / 0.611 GB, free: 34.34 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000424/0.6441, allocations: 240.3 kB / 0.6112 GB, free: 34.33 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.516e-05/0.6442, allocations: 4.844 kB / 0.6112 GB, free: 34.33 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005318/0.6447, allocations: 269.1 kB / 0.6115 GB, free: 34.27 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=49): time 3.467e-06/0.6447, allocations: 1.734 kB / 0.6115 GB, free: 34.27 MB / 0.4981 GB Notification: Performance of matching and sorting (n=49): time 0.001191/0.6459, allocations: 0.5987 MB / 0.6121 GB, free: 34.2 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.316e-05/0.646, allocations: 60.86 kB / 0.6121 GB, free: 34.14 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000524/0.6465, allocations: 440 kB / 0.6125 GB, free: 34.02 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.941e-05/0.6466, allocations: 37.67 kB / 0.6126 GB, free: 33.98 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002618/0.6468, allocations: 329.4 kB / 0.6129 GB, free: 33.82 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001232/0.647, allocations: 162.9 kB / 0.6131 GB, free: 33.71 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.038e-05/0.647, allocations: 10.19 kB / 0.6131 GB, free: 33.71 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001031/0.6471, allocations: 369 kB / 0.6134 GB, free: 33.4 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003386/0.6474, allocations: 166.2 kB / 0.6136 GB, free: 33.4 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003802/0.6478, allocations: 259.2 kB / 0.6138 GB, free: 33.33 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003744/0.6482, allocations: 220.8 kB / 0.614 GB, free: 33.29 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/0.6482, allocations: 2.969 kB / 0.614 GB, free: 33.29 MB / 0.4981 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0009843/0.6492, allocations: 0.569 MB / 0.6146 GB, free: 33.18 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.349e-05/0.6493, allocations: 35.02 kB / 0.6146 GB, free: 33.15 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.818e-06/0.6493, allocations: 2.422 kB / 0.6146 GB, free: 33.15 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.91e-05/0.6493, allocations: 9.234 kB / 0.6146 GB, free: 33.15 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004793/0.6498, allocations: 116.9 kB / 0.6147 GB, free: 33.14 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.397e-05/0.6498, allocations: 8.906 kB / 0.6148 GB, free: 33.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003385/0.6502, allocations: 67.11 kB / 0.6148 GB, free: 33.12 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.051e-05/0.6502, allocations: 20.61 kB / 0.6148 GB, free: 33.12 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,conWitRes.trigger.y,conNoRes.trigger.y,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,conNoRes.conPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 1 * 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 0.0002832/0.6505, allocations: 215.2 kB / 0.615 GB, free: 33 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.097e-05/0.6506, allocations: 55.59 kB / 0.6151 GB, free: 32.97 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000129/0.6507, allocations: 63.48 kB / 0.6152 GB, free: 32.96 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/0.6507, allocations: 5.875 kB / 0.6152 GB, free: 32.96 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.332e-05/0.6507, allocations: 0 / 0.6152 GB, free: 32.96 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.564e-06/0.6508, allocations: 3.234 kB / 0.6152 GB, free: 32.96 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001554/0.6523, allocations: 1.19 MB / 0.6163 GB, free: 32.63 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.6523, allocations: 0 / 0.6163 GB, free: 32.63 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004327/0.6528, allocations: 100.9 kB / 0.6164 GB, free: 32.63 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.081e-06/0.6528, allocations: 2.719 kB / 0.6164 GB, free: 32.63 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.319e-05/0.6528, allocations: 11.52 kB / 0.6164 GB, free: 32.63 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.6528, allocations: 2.938 kB / 0.6164 GB, free: 32.63 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.6528, allocations: 3.953 kB / 0.6164 GB, free: 32.62 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001198/0.654, allocations: 0.7735 MB / 0.6172 GB, free: 32.45 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001518/0.6542, allocations: 173.8 kB / 0.6174 GB, free: 32.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.053e-05/0.6543, allocations: 10.03 kB / 0.6174 GB, free: 32.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002696/0.6545, allocations: 33.48 kB / 0.6174 GB, free: 32.31 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000102/0.6547, allocations: 44.61 kB / 0.6174 GB, free: 32.31 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.743e-05/0.6547, allocations: 14.69 kB / 0.6175 GB, free: 32.31 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003049/0.655, allocations: 305 kB / 0.6178 GB, free: 32.22 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.655, allocations: 0 / 0.6178 GB, free: 32.22 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004576/0.6555, allocations: 139.6 kB / 0.6179 GB, free: 32.2 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (plaWitRes.cap.T,plaWitRes.cap1.T,conWitRes.conPID.I.y,plaNoRes.cap.T,plaNoRes.cap1.T,conNoRes.conPID.I.y) * Number of discrete variables: 6 (conWitRes.trigger.y,$whenCondition2,$whenCondition1,conNoRes.trigger.y,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001409/0.6556, allocations: 117.2 kB / 0.618 GB, free: 32.11 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0008593/0.6565, allocations: 494.5 kB / 0.6185 GB, free: 32.03 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.6565, allocations: 0 / 0.6185 GB, free: 32.03 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003679/0.6569, allocations: 219.7 kB / 0.6187 GB, free: 32.03 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007221/0.6576, allocations: 145.7 kB / 0.6188 GB, free: 32.03 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00255/0.6602, allocations: 1.653 MB / 0.6204 GB, free: 31.13 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003712/0.6606, allocations: 0.8863 MB / 0.6213 GB, free: 30.43 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001472/0.6607, allocations: 51.86 kB / 0.6213 GB, free: 30.42 MB / 0.4981 GB Notification: Performance of SimCode: time 5.21e-07/0.6607, allocations: 0 / 0.6213 GB, free: 30.42 MB / 0.4981 GB Notification: Performance of Templates: time 0.01009/0.6708, allocations: 7.522 MB / 0.6287 GB, free: 29.79 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.makefile make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.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 OMCppBuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithResetCalcHelperMain.o OMCppBuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithResetCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithResetCalcHelperMain.o] Error 1