Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer") translateModel(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.001043/0.001043, allocations: 92.16 kB / 16.02 MB, free: 80 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.001754/0.001755, allocations: 173 kB / 16.92 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.945/1.945, allocations: 205.4 MB / 223.1 MB, free: 5.559 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.869/1.869, allocations: 292.7 MB / 0.5509 GB, free: 14.45 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005805/0.0005808, allocations: 19.47 kB / 0.675 GB, free: 25.73 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3345/0.3351, allocations: 116.3 MB / 0.7885 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.004312/0.3395, allocations: 2.779 MB / 0.7912 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001835/0.3413, allocations: 0.971 MB / 0.7922 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002538/0.3416, allocations: 11.94 kB / 0.7922 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002375/0.3419, allocations: 55.5 kB / 0.7923 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002054/0.3421, allocations: 71.44 kB / 0.7923 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006119/0.3427, allocations: 212.7 kB / 0.7925 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0006006/0.3433, allocations: 0.5074 MB / 0.793 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004985/0.3438, allocations: 235.6 kB / 0.7932 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002178/0.344, allocations: 155 kB / 0.7934 GB, free: 6.566 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000255/0.3443, allocations: 154.9 kB / 0.7935 GB, free: 6.414 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.456e-05/0.3444, allocations: 12 kB / 0.7936 GB, free: 6.402 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 4.002e-05/0.3444, allocations: 16 kB / 0.7936 GB, free: 6.387 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.028e-05/0.3445, allocations: 63.64 kB / 0.7936 GB, free: 6.324 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002337/0.3447, allocations: 208.4 kB / 0.7938 GB, free: 6.113 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003939/0.3451, allocations: 418.9 kB / 0.7942 GB, free: 5.703 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.279e-06/0.3451, allocations: 0 / 0.7942 GB, free: 5.703 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.675e-06/0.3451, allocations: 0 / 0.7942 GB, free: 5.703 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.574e-06/0.3452, allocations: 4 kB / 0.7942 GB, free: 5.699 MB / 0.6075 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.001171/0.3463, allocations: 0.6883 MB / 0.7949 GB, free: 4.961 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/0.3464, allocations: 8.031 kB / 0.7949 GB, free: 4.953 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.773e-05/0.3465, allocations: 56.28 kB / 0.795 GB, free: 4.898 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006186/0.3471, allocations: 408.6 kB / 0.7954 GB, free: 4.461 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.469e-05/0.3472, allocations: 29.38 kB / 0.7954 GB, free: 4.43 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.818e-05/0.3472, allocations: 40.36 kB / 0.7954 GB, free: 4.391 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007512/0.348, allocations: 401.9 kB / 0.7958 GB, free: 3.973 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.566e-05/0.348, allocations: 0 / 0.7958 GB, free: 3.973 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.263e-05/0.3481, allocations: 16 kB / 0.7958 GB, free: 3.957 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.111e-05/0.3481, allocations: 8 kB / 0.7958 GB, free: 3.949 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005953/0.3487, allocations: 275.8 kB / 0.7961 GB, free: 3.68 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001999/0.3507, allocations: 1.332 MB / 0.7974 GB, free: 2.273 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008243/0.3515, allocations: 322.6 kB / 0.7977 GB, free: 1.949 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000285/0.3518, allocations: 143.4 kB / 0.7978 GB, free: 1.809 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.365e-05/0.3519, allocations: 3.938 kB / 0.7978 GB, free: 1.805 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004445/0.3523, allocations: 182.1 kB / 0.798 GB, free: 1.617 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=33): time 2.004e-06/0.3523, allocations: 0 / 0.798 GB, free: 1.617 MB / 0.6075 GB Notification: Performance of matching and sorting (n=33): time 0.0008967/0.3532, allocations: 383 kB / 0.7984 GB, free: 1.238 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.839e-05/0.3533, allocations: 81.11 kB / 0.7985 GB, free: 1.141 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004105/0.3538, allocations: 353.6 kB / 0.7988 GB, free: 0.7852 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.17e-05/0.3538, allocations: 37.69 kB / 0.7988 GB, free: 0.7422 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001912/0.354, allocations: 232.4 kB / 0.799 GB, free: 0.5117 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 9.817e-05/0.3541, allocations: 106.5 kB / 0.7991 GB, free: 416 kB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.418e-05/0.3542, allocations: 45.69 kB / 0.7992 GB, free: 364 kB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001835/0.3544, allocations: 346.8 kB / 0.7995 GB, free: 8 kB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002579/0.3546, allocations: 104.8 kB / 0.7996 GB, free: 15.9 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000267/0.3549, allocations: 172.4 kB / 0.7998 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005137/0.3554, allocations: 259.8 kB / 0.8 GB, free: 15.43 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.032e-06/0.3555, allocations: 0 / 0.8 GB, free: 15.43 MB / 0.6231 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006482/0.3561, allocations: 374.2 kB / 0.8004 GB, free: 15.06 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/0.3561, allocations: 4 kB / 0.8004 GB, free: 15.05 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.3562, allocations: 0 / 0.8004 GB, free: 15.05 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.177e-05/0.3562, allocations: 4 kB / 0.8004 GB, free: 15.05 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002814/0.3565, allocations: 67.91 kB / 0.8005 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.358e-05/0.3565, allocations: 8.172 kB / 0.8005 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001906/0.3567, allocations: 39.73 kB / 0.8005 GB, free: 14.94 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.42e-05/0.3567, allocations: 12 kB / 0.8005 GB, free: 14.93 MB / 0.6231 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 (con.greaterEqualThreshold.y,con.hys.y,$PRE.con.hys.y,con.on,con.offTimer.entryTime,$PRE.con.offTimer.entryTime,con.onTimer.entryTime,$PRE.con.onTimer.entryTime,con.offHys.entryTime,$PRE.con.offHys.entryTime,$whenCondition1,$whenCondition2,$whenCondition3,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002168/0.3569, allocations: 185.6 kB / 0.8007 GB, free: 14.73 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.416e-05/0.357, allocations: 35.53 kB / 0.8007 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001008/0.3571, allocations: 44.25 kB / 0.8008 GB, free: 14.66 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.3571, allocations: 4 kB / 0.8008 GB, free: 14.65 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.3571, allocations: 0 / 0.8008 GB, free: 14.65 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.335e-06/0.3572, allocations: 7.984 kB / 0.8008 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001249/0.3584, allocations: 0.8151 MB / 0.8016 GB, free: 13.78 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.3584, allocations: 3.984 kB / 0.8016 GB, free: 13.77 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002306/0.3587, allocations: 47.98 kB / 0.8016 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.574e-06/0.3587, allocations: 0 / 0.8016 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.914e-05/0.3587, allocations: 11.98 kB / 0.8016 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.3587, allocations: 0 / 0.8016 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.3587, allocations: 7.922 kB / 0.8017 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009339/0.3597, allocations: 0.5151 MB / 0.8022 GB, free: 13.18 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001404/0.3598, allocations: 136.6 kB / 0.8023 GB, free: 13.02 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.735e-05/0.3599, allocations: 8 kB / 0.8023 GB, free: 13.02 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002579/0.3601, allocations: 19.98 kB / 0.8023 GB, free: 13 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.608e-05/0.3602, allocations: 27.95 kB / 0.8023 GB, free: 12.97 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.583e-05/0.3603, allocations: 4 kB / 0.8023 GB, free: 12.96 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0003364/0.3606, allocations: 251.2 kB / 0.8026 GB, free: 12.72 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3606, allocations: 0 / 0.8026 GB, free: 12.72 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003407/0.361, allocations: 91.62 kB / 0.8027 GB, free: 12.63 MB / 0.6231 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001681/0.3611, allocations: 111.2 kB / 0.8028 GB, free: 12.51 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0005724/0.3617, allocations: 276.3 kB / 0.803 GB, free: 12.24 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.3617, allocations: 0 / 0.803 GB, free: 12.24 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002654/0.362, allocations: 136.4 kB / 0.8032 GB, free: 12.11 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005663/0.3626, allocations: 73.45 kB / 0.8032 GB, free: 12.04 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001716/0.3643, allocations: 1.046 MB / 0.8043 GB, free: 10.96 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007495/0.3651, allocations: 0.8151 MB / 0.8051 GB, free: 10.11 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001072/0.3652, allocations: 35.42 kB / 0.8051 GB, free: 10.08 MB / 0.6231 GB Notification: Performance of SimCode: time 3.236e-06/0.3652, allocations: 0 / 0.8051 GB, free: 10.08 MB / 0.6231 GB Notification: Performance of Templates: time 0.008186/0.3734, allocations: 4.78 MB / 0.8098 GB, free: 5.312 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.makefile make -j1 -f Buildings_8_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_8_Buildings.Controls.Continuous.Examples.PIDHysteresisTimerCalcHelperMain.o OMCppBuildings_8_Buildings.Controls.Continuous.Examples.PIDHysteresisTimerCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Controls.Continuous.Examples.PIDHysteresisTimerCalcHelperMain.o] Error 1