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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer,fileNamePrefix="IBPSA_latest_IBPSA_Obsolete_Controls_Continuous_Examples_PIDHysteresisTimer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer,fileNamePrefix="IBPSA_latest_IBPSA_Obsolete_Controls_Continuous_Examples_PIDHysteresisTimer",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00122/0.00122, allocations: 190.4 kB / 7.803 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4525/0.4525, allocations: 90.86 MB / 99.07 MB, free: 14.91 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.411/1.411, allocations: 221.4 MB / 342.8 MB, free: 5.07 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001098/0.001098, allocations: 100.2 kB / 415.5 MB, free: 9.824 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2206/0.2217, allocations: 78.44 MB / 494 MB, free: 11.43 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.445/0.6667, allocations: 72.3 MB / 0.553 GB, free: 44.74 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1371/0.8039, allocations: 108.8 MB / 0.6592 GB, free: 15.79 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000262/0.8043, allocations: 87.88 kB / 0.6593 GB, free: 15.71 MB / 490.7 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.02086/0.8251, allocations: 7.836 MB / 0.667 GB, free: 7.816 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.238e-05/0.8252, allocations: 11.98 kB / 0.667 GB, free: 7.805 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001858/0.8254, allocations: 55.34 kB / 0.667 GB, free: 7.75 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007682/0.8262, allocations: 407.2 kB / 0.6674 GB, free: 7.309 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.055e-05/0.8262, allocations: 12 kB / 0.6674 GB, free: 7.297 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.607e-05/0.8263, allocations: 20 kB / 0.6674 GB, free: 7.277 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005372/0.8268, allocations: 229.5 kB / 0.6677 GB, free: 7.055 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000582/0.8274, allocations: 333.7 kB / 0.668 GB, free: 6.699 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.079e-05/0.8275, allocations: 8 kB / 0.668 GB, free: 6.691 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.517e-05/0.8275, allocations: 3.984 kB / 0.668 GB, free: 6.688 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.233e-05/0.8276, allocations: 8 kB / 0.668 GB, free: 6.68 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001976/0.8295, allocations: 1.295 MB / 0.6693 GB, free: 5.324 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004277/0.83, allocations: 207.2 kB / 0.6695 GB, free: 5.117 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002087/0.8302, allocations: 114.1 kB / 0.6696 GB, free: 5.004 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.757e-05/0.8303, allocations: 4.219 kB / 0.6696 GB, free: 5 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002429/0.8305, allocations: 161.2 kB / 0.6697 GB, free: 4.828 MB / 490.7 MB Notification: Performance of pre-optimization done (n=33): time 2.013e-06/0.8305, allocations: 5.906 kB / 0.6697 GB, free: 4.824 MB / 490.7 MB Notification: Performance of matching and sorting (n=33): time 0.0005198/0.831, allocations: 251 kB / 0.67 GB, free: 4.574 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.022e-05/0.8311, allocations: 136.5 kB / 0.6701 GB, free: 4.41 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003345/0.8315, allocations: 282 kB / 0.6704 GB, free: 4.125 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.739e-05/0.8315, allocations: 25.7 kB / 0.6704 GB, free: 4.094 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001253/0.8317, allocations: 188.9 kB / 0.6706 GB, free: 3.906 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.395e-05/0.8317, allocations: 98.61 kB / 0.6707 GB, free: 3.809 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.468e-05/0.8318, allocations: 0 / 0.6707 GB, free: 3.809 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001304/0.8319, allocations: 346.8 kB / 0.671 GB, free: 3.461 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001684/0.8321, allocations: 84 kB / 0.6711 GB, free: 3.379 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002109/0.8323, allocations: 160.6 kB / 0.6712 GB, free: 3.199 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001772/0.8325, allocations: 93.55 kB / 0.6713 GB, free: 3.109 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.8325, allocations: 0 / 0.6713 GB, free: 3.109 MB / 490.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0004932/0.833, allocations: 298.3 kB / 0.6716 GB, free: 2.812 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/0.833, allocations: 9.938 kB / 0.6716 GB, free: 2.805 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.833, allocations: 4 kB / 0.6716 GB, free: 2.801 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.8331, allocations: 0 / 0.6716 GB, free: 2.801 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003086/0.8334, allocations: 67.91 kB / 0.6717 GB, free: 2.734 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.858e-06/0.8334, allocations: 8.062 kB / 0.6717 GB, free: 2.727 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002562/0.8337, allocations: 43.75 kB / 0.6717 GB, free: 2.684 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.92e-05/0.8337, allocations: 16 kB / 0.6717 GB, free: 2.668 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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.and3.u1,con.con.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * 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.0001199/0.8339, allocations: 119.2 kB / 0.6719 GB, free: 2.547 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.083e-05/0.8339, allocations: 39.53 kB / 0.6719 GB, free: 2.508 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.214e-05/0.834, allocations: 40.11 kB / 0.6719 GB, free: 2.469 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/0.834, allocations: 7.984 kB / 0.6719 GB, free: 2.461 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.8341, allocations: 0 / 0.6719 GB, free: 2.461 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.935e-06/0.8341, allocations: 3.984 kB / 0.672 GB, free: 2.457 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001008/0.8351, allocations: 0.7406 MB / 0.6727 GB, free: 1.672 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.8351, allocations: 0 / 0.6727 GB, free: 1.672 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003031/0.8354, allocations: 55.97 kB / 0.6727 GB, free: 1.617 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.26e-06/0.8354, allocations: 0 / 0.6727 GB, free: 1.617 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.537e-05/0.8355, allocations: 0 / 0.6727 GB, free: 1.617 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.119e-06/0.8355, allocations: 4 kB / 0.6727 GB, free: 1.613 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.8355, allocations: 3.938 kB / 0.6727 GB, free: 1.609 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006738/0.8362, allocations: 495.3 kB / 0.6732 GB, free: 1.109 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0009286/0.8371, allocations: 0.9722 MB / 0.6742 GB, free: 120 kB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001597/0.8373, allocations: 140.5 kB / 0.6743 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.382e-05/0.8374, allocations: 8 kB / 0.6743 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002992/0.8377, allocations: 32.09 kB / 0.6743 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.035e-05/0.8377, allocations: 19.95 kB / 0.6743 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.604e-05/0.8378, allocations: 12 kB / 0.6744 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.0002194/0.838, allocations: 212.5 kB / 0.6746 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0009604/0.839, allocations: 83.69 kB / 0.6746 GB, free: 15.61 MB / 0.4948 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.and3.u1) * Number of discrete states: 1 (con.hys.y) * 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.0001596/0.8391, allocations: 111.2 kB / 0.6747 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004356/0.8396, allocations: 236.9 kB / 0.675 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.8396, allocations: 0 / 0.675 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002155/0.8398, allocations: 129.7 kB / 0.6751 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004918/0.8403, allocations: 69.33 kB / 0.6752 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001388/0.8417, allocations: 0.5459 MB / 0.6757 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005482/0.8423, allocations: 0.8616 MB / 0.6765 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of SimCode: time 6.41e-07/0.8423, allocations: 0 / 0.6765 GB, free: 13.61 MB / 0.4948 GB (rm -f IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; mkfifo IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe >> ../files/IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Obsolete_Controls_Continuous_Examples_PIDHysteresisTimer_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Obsolete_Controls_Continuous_Examples_PIDHysteresisTimer.fmu > IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe 2>&1)