Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.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(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer") translateModel(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.0008524/0.0008522, allocations: 93.73 kB / 16.33 MB, free: 6.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008523/0.0008523, allocations: 189.4 kB / 17.23 MB, free: 6.305 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.55/1.55, allocations: 223.2 MB / 241.2 MB, free: 324 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8146/0.8146, allocations: 114.3 MB / 406.7 MB, free: 8.176 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003468/0.0003468, allocations: 8 kB / 494.5 MB, free: 1.465 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5166/0.517, allocations: 77.25 MB / 0.5583 GB, free: 36.75 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.005029/0.5221, allocations: 2.649 MB / 0.5609 GB, free: 34.86 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002215/0.5244, allocations: 0.8936 MB / 0.5618 GB, free: 34.22 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002978/0.5247, allocations: 13.19 kB / 0.5618 GB, free: 34.22 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002321/0.5249, allocations: 50.59 kB / 0.5618 GB, free: 34.19 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001856/0.5251, allocations: 67.55 kB / 0.5619 GB, free: 34.14 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005495/0.5257, allocations: 171.2 kB / 0.5621 GB, free: 34.05 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005526/0.5262, allocations: 491.6 kB / 0.5625 GB, free: 33.8 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004006/0.5266, allocations: 182.4 kB / 0.5627 GB, free: 33.73 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002207/0.5269, allocations: 138.4 kB / 0.5628 GB, free: 33.67 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000235/0.5271, allocations: 149.7 kB / 0.563 GB, free: 33.59 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.552e-05/0.5272, allocations: 12.41 kB / 0.563 GB, free: 33.59 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.422e-05/0.5272, allocations: 13.44 kB / 0.563 GB, free: 33.59 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.517e-05/0.5273, allocations: 61.66 kB / 0.5631 GB, free: 33.55 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 9.916e-05/0.5274, allocations: 105.4 kB / 0.5632 GB, free: 33.47 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005955/0.528, allocations: 433.5 kB / 0.5636 GB, free: 33.38 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.025e-06/0.528, allocations: 1.234 kB / 0.5636 GB, free: 33.38 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.565e-06/0.528, allocations: 3.938 kB / 0.5636 GB, free: 33.37 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.474e-06/0.528, allocations: 2.531 kB / 0.5636 GB, free: 33.37 MB / 446.1 MB 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.0012/0.5293, allocations: 0.6955 MB / 0.5643 GB, free: 32.83 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.741e-05/0.5293, allocations: 8.406 kB / 0.5643 GB, free: 32.83 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001114/0.5294, allocations: 55.78 kB / 0.5643 GB, free: 32.8 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000623/0.5301, allocations: 395.3 kB / 0.5647 GB, free: 32.49 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.466e-05/0.5301, allocations: 33.98 kB / 0.5647 GB, free: 32.47 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.683e-05/0.5302, allocations: 37.45 kB / 0.5648 GB, free: 32.46 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007783/0.531, allocations: 390.6 kB / 0.5651 GB, free: 32.26 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.251e-05/0.531, allocations: 6.016 kB / 0.5651 GB, free: 32.26 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.982e-05/0.5311, allocations: 15.34 kB / 0.5652 GB, free: 32.25 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.81e-05/0.5311, allocations: 11.22 kB / 0.5652 GB, free: 32.25 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006194/0.5317, allocations: 266.8 kB / 0.5654 GB, free: 32.15 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002001/0.5337, allocations: 1.329 MB / 0.5667 GB, free: 31.24 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007301/0.5345, allocations: 308.5 kB / 0.567 GB, free: 31.11 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002776/0.5348, allocations: 139.2 kB / 0.5671 GB, free: 31.05 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.438e-05/0.5348, allocations: 5.625 kB / 0.5672 GB, free: 31.05 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004323/0.5352, allocations: 175 kB / 0.5673 GB, free: 30.96 MB / 446.1 MB Notification: Performance of pre-optimization done (n=33): time 2.975e-06/0.5353, allocations: 0.8438 kB / 0.5673 GB, free: 30.96 MB / 446.1 MB Notification: Performance of matching and sorting (n=33): time 0.0008643/0.5361, allocations: 385.3 kB / 0.5677 GB, free: 30.8 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.956e-05/0.5362, allocations: 94.12 kB / 0.5678 GB, free: 30.7 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004193/0.5366, allocations: 347.6 kB / 0.5681 GB, free: 30.5 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.103e-05/0.5367, allocations: 33.27 kB / 0.5681 GB, free: 30.47 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001684/0.5368, allocations: 244.9 kB / 0.5684 GB, free: 30.27 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.141e-05/0.5369, allocations: 103.6 kB / 0.5685 GB, free: 30.19 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.736e-05/0.5369, allocations: 10.28 kB / 0.5685 GB, free: 30.18 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000108/0.5371, allocations: 352.4 kB / 0.5688 GB, free: 29.85 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002213/0.5373, allocations: 101.4 kB / 0.5689 GB, free: 29.81 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002685/0.5376, allocations: 167.5 kB / 0.5691 GB, free: 29.7 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002478/0.5378, allocations: 118.2 kB / 0.5692 GB, free: 29.65 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.5378, allocations: 0.9688 kB / 0.5692 GB, free: 29.65 MB / 446.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.000633/0.5385, allocations: 349.4 kB / 0.5695 GB, free: 29.5 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.332e-05/0.5385, allocations: 6.344 kB / 0.5695 GB, free: 29.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.5385, allocations: 2.234 kB / 0.5695 GB, free: 29.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.776e-05/0.5385, allocations: 2.969 kB / 0.5695 GB, free: 29.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002794/0.5388, allocations: 67.23 kB / 0.5696 GB, free: 29.49 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.524e-05/0.5388, allocations: 12.55 kB / 0.5696 GB, free: 29.48 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002094/0.5391, allocations: 42.89 kB / 0.5696 GB, free: 29.46 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.758e-05/0.5391, allocations: 15.56 kB / 0.5697 GB, free: 29.46 MB / 446.1 MB 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.0002233/0.5393, allocations: 170.4 kB / 0.5698 GB, free: 29.31 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.884e-05/0.5394, allocations: 39.12 kB / 0.5699 GB, free: 29.29 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001/0.5395, allocations: 46.88 kB / 0.5699 GB, free: 29.26 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.5395, allocations: 6.469 kB / 0.5699 GB, free: 29.25 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.006e-05/0.5395, allocations: 2.594 kB / 0.5699 GB, free: 29.25 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.577e-06/0.5396, allocations: 6.016 kB / 0.5699 GB, free: 29.25 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001298/0.5409, allocations: 0.8101 MB / 0.5707 GB, free: 28.74 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.5409, allocations: 0 / 0.5707 GB, free: 28.74 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002485/0.5411, allocations: 52.3 kB / 0.5708 GB, free: 28.73 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.159e-06/0.5411, allocations: 3 kB / 0.5708 GB, free: 28.73 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.785e-05/0.5412, allocations: 7.469 kB / 0.5708 GB, free: 28.73 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.419e-06/0.5412, allocations: 6.984 kB / 0.5708 GB, free: 28.72 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.5412, allocations: 0.6562 kB / 0.5708 GB, free: 28.72 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008911/0.5421, allocations: 0.5129 MB / 0.5713 GB, free: 28.44 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000131/0.5422, allocations: 134 kB / 0.5714 GB, free: 28.31 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.198e-05/0.5423, allocations: 16.02 kB / 0.5714 GB, free: 28.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001861/0.5425, allocations: 21.61 kB / 0.5714 GB, free: 28.29 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.627e-05/0.5426, allocations: 37.19 kB / 0.5715 GB, free: 28.28 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.241e-05/0.5426, allocations: 7.625 kB / 0.5715 GB, free: 28.28 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002908/0.5429, allocations: 240.5 kB / 0.5717 GB, free: 28.15 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5429, allocations: 1.188 kB / 0.5717 GB, free: 28.15 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004083/0.5433, allocations: 86.06 kB / 0.5718 GB, free: 28.13 MB / 446.1 MB 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.000136/0.5435, allocations: 115.1 kB / 0.5719 GB, free: 28.03 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00061/0.5441, allocations: 267.6 kB / 0.5722 GB, free: 27.95 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.5441, allocations: 1.781 kB / 0.5722 GB, free: 27.95 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000284/0.5444, allocations: 137.7 kB / 0.5723 GB, free: 27.9 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005558/0.545, allocations: 73.95 kB / 0.5724 GB, free: 27.88 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001629/0.5466, allocations: 0.9991 MB / 0.5733 GB, free: 27.27 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003253/0.5469, allocations: 0.8144 MB / 0.5741 GB, free: 26.56 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001144/0.5471, allocations: 33.06 kB / 0.5742 GB, free: 26.55 MB / 446.1 MB Notification: Performance of SimCode: time 7.21e-07/0.5471, allocations: 0 / 0.5742 GB, free: 26.55 MB / 446.1 MB Notification: Performance of Templates: time 0.01101/0.5581, allocations: 4.79 MB / 0.5788 GB, free: 26.08 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.makefile make -j1 -f IBPSA_latest_IBPSA.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 OMCppIBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimerCalcHelperMain.o OMCppIBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimerCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimerCalcHelperMain.o] Error 1