Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.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.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.u_s|con.u_m|con.y",fileNamePrefix="Buildings_9_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer") translateModel(Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.u_s|con.u_m|con.y",fileNamePrefix="Buildings_9_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001064/0.001064, allocations: 102.6 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.00149/0.00149, allocations: 172.4 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.529/1.529, allocations: 223.2 MB / 240.6 MB, free: 5.426 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.539/2.539, allocations: 390.5 MB / 0.6662 GB, free: 2.918 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003836/0.0003836, allocations: 8 kB / 0.8154 GB, free: 14.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9446/0.945, allocations: 142.3 MB / 0.9544 GB, free: 8.16 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.00346/0.9485, allocations: 2.69 MB / 0.957 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001874/0.9504, allocations: 0.8938 MB / 0.9579 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003062/0.9508, allocations: 14.09 kB / 0.9579 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002071/0.951, allocations: 51.22 kB / 0.958 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001763/0.9512, allocations: 67.27 kB / 0.958 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005077/0.9517, allocations: 168.6 kB / 0.9582 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0005042/0.9522, allocations: 489.5 kB / 0.9587 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003605/0.9526, allocations: 182.6 kB / 0.9588 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001914/0.9528, allocations: 138 kB / 0.959 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001869/0.953, allocations: 146.1 kB / 0.9591 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.06e-05/0.953, allocations: 13.88 kB / 0.9591 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 4.29e-05/0.9531, allocations: 12.78 kB / 0.9591 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.179e-05/0.9531, allocations: 60.33 kB / 0.9592 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.411e-05/0.9532, allocations: 104.5 kB / 0.9593 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003489/0.9536, allocations: 431.9 kB / 0.9597 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.9536, allocations: 1.375 kB / 0.9597 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.024e-06/0.9536, allocations: 4 kB / 0.9597 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.083e-06/0.9536, allocations: 0 / 0.9597 GB, free: 4.051 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: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.001061/0.9547, allocations: 0.7 MB / 0.9604 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/0.9547, allocations: 13.56 kB / 0.9604 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001063/0.9548, allocations: 61.42 kB / 0.9605 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005341/0.9554, allocations: 388.5 kB / 0.9608 GB, free: 3.051 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.702e-05/0.9554, allocations: 28.91 kB / 0.9609 GB, free: 3.039 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.618e-05/0.9555, allocations: 41.16 kB / 0.9609 GB, free: 3.023 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006653/0.9562, allocations: 393.6 kB / 0.9613 GB, free: 2.762 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.574e-05/0.9562, allocations: 0 / 0.9613 GB, free: 2.762 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.722e-05/0.9563, allocations: 20.08 kB / 0.9613 GB, free: 2.746 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.613e-05/0.9563, allocations: 9.125 kB / 0.9613 GB, free: 2.746 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005731/0.9569, allocations: 268.5 kB / 0.9616 GB, free: 2.617 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001656/0.9585, allocations: 1.342 MB / 0.9629 GB, free: 1.469 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006766/0.9592, allocations: 308.6 kB / 0.9632 GB, free: 1.305 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002586/0.9595, allocations: 136.4 kB / 0.9633 GB, free: 1.238 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.356e-05/0.9595, allocations: 3.219 kB / 0.9633 GB, free: 1.238 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004132/0.9599, allocations: 174.8 kB / 0.9635 GB, free: 1.113 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=33): time 1.984e-06/0.96, allocations: 0 / 0.9635 GB, free: 1.113 MB / 0.7169 GB Notification: Performance of matching and sorting (n=33): time 0.0008625/0.9608, allocations: 388.8 kB / 0.9638 GB, free: 0.918 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.332e-05/0.9609, allocations: 89.95 kB / 0.9639 GB, free: 0.8164 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003773/0.9613, allocations: 345.1 kB / 0.9642 GB, free: 0.5859 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.461e-05/0.9613, allocations: 36.7 kB / 0.9643 GB, free: 0.5469 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001553/0.9615, allocations: 231.8 kB / 0.9645 GB, free: 348 kB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 7.137e-05/0.9616, allocations: 107.7 kB / 0.9646 GB, free: 252 kB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.643e-05/0.9616, allocations: 6.094 kB / 0.9646 GB, free: 248 kB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001278/0.9617, allocations: 355.5 kB / 0.9649 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002293/0.9619, allocations: 96.05 kB / 0.965 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003078/0.9623, allocations: 172.9 kB / 0.9652 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002615/0.9625, allocations: 123 kB / 0.9653 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.9625, allocations: 0 / 0.9653 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006849/0.9632, allocations: 351 kB / 0.9657 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.264e-05/0.9633, allocations: 4.938 kB / 0.9657 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.333e-06/0.9633, allocations: 2.031 kB / 0.9657 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.932e-05/0.9633, allocations: 3.938 kB / 0.9657 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002915/0.9636, allocations: 65.88 kB / 0.9657 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.463e-05/0.9636, allocations: 6.938 kB / 0.9657 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002233/0.9638, allocations: 42.3 kB / 0.9658 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.356e-05/0.9639, allocations: 21.11 kB / 0.9658 GB, free: 15.42 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition3,$whenCondition2,$whenCondition1,$PRE.con.offHys.entryTime,con.offHys.entryTime,$PRE.con.onTimer.entryTime,con.onTimer.entryTime,$PRE.con.offTimer.entryTime,con.offTimer.entryTime,con.on,$PRE.con.hys.y,con.hys.y,con.greaterEqualThreshold.y,con.con.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 45 * 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 0.0002348/0.9641, allocations: 172.1 kB / 0.966 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.465e-05/0.9642, allocations: 38.91 kB / 0.966 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.994e-05/0.9643, allocations: 46.84 kB / 0.966 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.259e-06/0.9643, allocations: 3.562 kB / 0.966 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.558e-06/0.9643, allocations: 0 / 0.966 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.526e-06/0.9643, allocations: 3.984 kB / 0.966 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001291/0.9656, allocations: 0.8149 MB / 0.9668 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.9656, allocations: 0 / 0.9668 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002461/0.9659, allocations: 49.19 kB / 0.9669 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.129e-06/0.9659, allocations: 1.031 kB / 0.9669 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.219e-05/0.9659, allocations: 6.375 kB / 0.9669 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.03e-06/0.966, allocations: 5.109 kB / 0.9669 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.966, allocations: 5.031 kB / 0.9669 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009244/0.9669, allocations: 0.5224 MB / 0.9674 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00014/0.967, allocations: 134.5 kB / 0.9675 GB, free: 14.07 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.868e-05/0.9671, allocations: 14.83 kB / 0.9676 GB, free: 14.06 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001891/0.9673, allocations: 24.3 kB / 0.9676 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.068e-05/0.9674, allocations: 27.2 kB / 0.9676 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.228e-05/0.9674, allocations: 10.44 kB / 0.9676 GB, free: 14.03 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003242/0.9677, allocations: 244.9 kB / 0.9679 GB, free: 13.87 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9677, allocations: 1 kB / 0.9679 GB, free: 13.87 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004003/0.9682, allocations: 84.34 kB / 0.9679 GB, free: 13.85 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (con.con.I.y,cap.T) * Number of discrete variables: 9 (con.on,$whenCondition3,$whenCondition2,$whenCondition1,con.offHys.entryTime,con.onTimer.entryTime,con.offTimer.entryTime,con.hys.y,con.greaterEqualThreshold.y) * Number of discrete states: 1 (con.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.000154/0.9683, allocations: 111.8 kB / 0.968 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0006223/0.9689, allocations: 268.7 kB / 0.9683 GB, free: 13.63 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.969, allocations: 0 / 0.9683 GB, free: 13.63 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002952/0.9693, allocations: 140.5 kB / 0.9684 GB, free: 13.57 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000565/0.9698, allocations: 77.14 kB / 0.9685 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001741/0.9716, allocations: 0.9931 MB / 0.9695 GB, free: 12.82 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000445/0.972, allocations: 0.8208 MB / 0.9703 GB, free: 12.06 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001149/0.9722, allocations: 34.2 kB / 0.9703 GB, free: 12.05 MB / 0.7325 GB Notification: Performance of SimCode: time 1.613e-06/0.9722, allocations: 0 / 0.9703 GB, free: 12.05 MB / 0.7325 GB Notification: Performance of Templates: time 0.009562/0.9817, allocations: 4.797 MB / 0.975 GB, free: 9.57 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.makefile make -j1 -f Buildings_9_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.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.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimerCalcHelperMain.o OMCppBuildings_9_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimerCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimerCalcHelperMain.o] Error 1