Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/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.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer") translateModel(BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.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.001183/0.001184, 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.001237/0.001237, allocations: 176.6 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.546/1.546, allocations: 223.2 MB / 240.6 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.097/1.097, allocations: 143.4 MB / 435.1 MB, free: 13.73 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003627/0.0003628, allocations: 8 kB / 0.5166 GB, free: 11.3 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2493/0.2497, allocations: 83.42 MB / 0.5981 GB, free: 7.824 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.004437/0.2542, allocations: 2.646 MB / 0.6006 GB, free: 5.16 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002344/0.2566, allocations: 0.8964 MB / 0.6015 GB, free: 4.258 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002921/0.2569, allocations: 11.94 kB / 0.6015 GB, free: 4.246 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002374/0.2572, allocations: 51.5 kB / 0.6016 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001889/0.2574, allocations: 71.42 kB / 0.6016 GB, free: 4.125 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005481/0.258, allocations: 163.1 kB / 0.6018 GB, free: 3.969 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000542/0.2585, allocations: 495.8 kB / 0.6023 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004176/0.2589, allocations: 183.7 kB / 0.6025 GB, free: 3.293 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002218/0.2592, allocations: 139.2 kB / 0.6026 GB, free: 3.156 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002146/0.2594, allocations: 147.1 kB / 0.6027 GB, free: 3.012 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.484e-05/0.2594, allocations: 12 kB / 0.6027 GB, free: 3 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 4.448e-05/0.2595, allocations: 19.94 kB / 0.6028 GB, free: 2.98 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.299e-05/0.2596, allocations: 63.62 kB / 0.6028 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001011/0.2597, allocations: 101.5 kB / 0.6029 GB, free: 2.812 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004442/0.2601, allocations: 463 kB / 0.6034 GB, free: 2.359 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/0.2601, allocations: 3.938 kB / 0.6034 GB, free: 2.355 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.216e-06/0.2601, allocations: 0 / 0.6034 GB, free: 2.355 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.285e-06/0.2602, allocations: 0 / 0.6034 GB, free: 2.355 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: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.001223/0.2614, allocations: 0.692 MB / 0.604 GB, free: 1.613 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.143e-05/0.2615, allocations: 12.03 kB / 0.604 GB, free: 1.602 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.876e-05/0.2616, allocations: 47.44 kB / 0.6041 GB, free: 1.555 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005808/0.2621, allocations: 407.5 kB / 0.6045 GB, free: 1.117 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.794e-05/0.2622, allocations: 29 kB / 0.6045 GB, free: 1.09 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.906e-05/0.2623, allocations: 40 kB / 0.6045 GB, free: 1.051 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006846/0.263, allocations: 401.6 kB / 0.6049 GB, free: 0.6328 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.615e-05/0.263, allocations: 0 / 0.6049 GB, free: 0.6328 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.759e-05/0.263, allocations: 12 kB / 0.6049 GB, free: 0.6211 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.322e-05/0.263, allocations: 8 kB / 0.6049 GB, free: 0.6133 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005401/0.2636, allocations: 267.8 kB / 0.6052 GB, free: 360 kB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4785/0.7421, allocations: 1.322 MB / 0.6065 GB, free: 40.82 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006739/0.7428, allocations: 310.5 kB / 0.6068 GB, free: 40.8 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000266/0.7431, allocations: 141.3 kB / 0.6069 GB, free: 40.79 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.76e-05/0.7432, allocations: 5.219 kB / 0.6069 GB, free: 40.79 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003876/0.7435, allocations: 174.1 kB / 0.6071 GB, free: 40.74 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=33): time 4.137e-06/0.7436, allocations: 0 / 0.6071 GB, free: 40.74 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33): time 0.0007653/0.7443, allocations: 392.5 kB / 0.6075 GB, free: 40.68 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.437e-05/0.7444, allocations: 89.28 kB / 0.6076 GB, free: 40.59 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003425/0.7448, allocations: 350.5 kB / 0.6079 GB, free: 40.48 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.293e-05/0.7448, allocations: 37.5 kB / 0.6079 GB, free: 40.45 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001512/0.7449, allocations: 229.3 kB / 0.6081 GB, free: 40.33 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.182e-05/0.745, allocations: 105.5 kB / 0.6082 GB, free: 40.27 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.627e-05/0.745, allocations: 6.375 kB / 0.6083 GB, free: 40.27 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.997e-05/0.7451, allocations: 349.6 kB / 0.6086 GB, free: 39.96 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001985/0.7454, allocations: 100.4 kB / 0.6087 GB, free: 39.96 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002336/0.7456, allocations: 167.5 kB / 0.6088 GB, free: 39.89 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002112/0.7458, allocations: 111.9 kB / 0.6089 GB, free: 39.89 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.7458, allocations: 0 / 0.6089 GB, free: 39.89 MB / 0.4981 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005419/0.7464, allocations: 356.1 kB / 0.6093 GB, free: 39.83 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/0.7464, allocations: 5.5 kB / 0.6093 GB, free: 39.83 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/0.7464, allocations: 3.281 kB / 0.6093 GB, free: 39.83 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.126e-05/0.7464, allocations: 7.672 kB / 0.6093 GB, free: 39.83 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002445/0.7467, allocations: 65.56 kB / 0.6094 GB, free: 39.82 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.025e-05/0.7467, allocations: 6.641 kB / 0.6094 GB, free: 39.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002074/0.7469, allocations: 49.23 kB / 0.6094 GB, free: 39.81 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.607e-05/0.747, allocations: 14.78 kB / 0.6094 GB, free: 39.81 MB / 0.4981 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.0001814/0.7472, allocations: 166.2 kB / 0.6096 GB, free: 39.69 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.54e-05/0.7472, allocations: 42.69 kB / 0.6096 GB, free: 39.67 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.519e-05/0.7473, allocations: 51.05 kB / 0.6097 GB, free: 39.66 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.193e-06/0.7473, allocations: 7.703 kB / 0.6097 GB, free: 39.66 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.127e-06/0.7473, allocations: 0 / 0.6097 GB, free: 39.66 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.7473, allocations: 1.406 kB / 0.6097 GB, free: 39.66 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001032/0.7484, allocations: 0.8127 MB / 0.6105 GB, free: 39.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.7484, allocations: 0 / 0.6105 GB, free: 39.34 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002183/0.7486, allocations: 53.47 kB / 0.6105 GB, free: 39.34 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/0.7486, allocations: 6.922 kB / 0.6105 GB, free: 39.33 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.004e-05/0.7487, allocations: 2.812 kB / 0.6105 GB, free: 39.33 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/0.7487, allocations: 3 kB / 0.6105 GB, free: 39.33 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.7487, allocations: 0.8125 kB / 0.6105 GB, free: 39.33 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007184/0.7494, allocations: 0.519 MB / 0.6111 GB, free: 39.17 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001041/0.7495, allocations: 137.7 kB / 0.6112 GB, free: 39.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.798e-05/0.7496, allocations: 9.703 kB / 0.6112 GB, free: 39.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001725/0.7498, allocations: 23.31 kB / 0.6112 GB, free: 39.05 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.258e-05/0.7498, allocations: 37.62 kB / 0.6113 GB, free: 39.04 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.668e-05/0.7499, allocations: 5.219 kB / 0.6113 GB, free: 39.04 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002298/0.7501, allocations: 242.4 kB / 0.6115 GB, free: 38.96 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7501, allocations: 0.9375 kB / 0.6115 GB, free: 38.96 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003464/0.7505, allocations: 83.88 kB / 0.6116 GB, free: 38.94 MB / 0.4981 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.0001252/0.7506, allocations: 113.4 kB / 0.6117 GB, free: 38.85 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005207/0.7511, allocations: 269.2 kB / 0.6119 GB, free: 38.83 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.7511, allocations: 0 / 0.6119 GB, free: 38.83 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002273/0.7514, allocations: 129 kB / 0.6121 GB, free: 38.83 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005162/0.7519, allocations: 86.08 kB / 0.6121 GB, free: 38.82 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001391/0.7533, allocations: 0.9954 MB / 0.6131 GB, free: 38.27 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002653/0.7536, allocations: 0.813 MB / 0.6139 GB, free: 37.57 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001019/0.7537, allocations: 30.78 kB / 0.6139 GB, free: 37.56 MB / 0.4981 GB Notification: Performance of SimCode: time 4.01e-07/0.7537, allocations: 0 / 0.6139 GB, free: 37.56 MB / 0.4981 GB Notification: Performance of Templates: time 0.007717/0.7614, allocations: 4.806 MB / 0.6186 GB, free: 37.22 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.makefile make -j1 -f BuildSysPro_BuildSysPro.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 OMCppBuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimerCalcHelperMain.o OMCppBuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimerCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimerCalcHelperMain.o] Error 1