Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) Running command: "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer,fileNamePrefix="Buildings_8_Buildings_Obsolete_Controls_OBC_CDL_Logical_Validation_Timer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer,fileNamePrefix="Buildings_8_Buildings_Obsolete_Controls_OBC_CDL_Logical_Validation_Timer",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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.575/1.575, allocations: 289.8 MB / 297.1 MB, free: 6.684 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009871/0.0009871, allocations: 181.3 kB / 366.3 MB, free: 2 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.391/1.391, allocations: 205.1 MB / 0.6256 GB, free: 5.922 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008652/0.0008651, allocations: 92.78 kB / 0.7396 GB, free: 39.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2723/0.2732, allocations: 122.4 MB / 0.8591 GB, free: 13.28 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7404/1.014, allocations: 116.3 MB / 0.9727 GB, free: 68.25 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.194/1.208, allocations: 139.7 MB / 1.109 GB, free: 8.863 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002989/1.208, allocations: 87.86 kB / 1.109 GB, free: 8.777 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.01693/1.225, allocations: 5.682 MB / 1.115 GB, free: 3.039 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.394e-05/1.225, allocations: 8 kB / 1.115 GB, free: 3.031 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001043/1.225, allocations: 36.27 kB / 1.115 GB, free: 2.996 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004426/1.226, allocations: 267.3 kB / 1.115 GB, free: 2.691 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.787e-05/1.226, allocations: 7.984 kB / 1.115 GB, free: 2.684 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.783e-05/1.226, allocations: 36 kB / 1.115 GB, free: 2.648 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002192/1.226, allocations: 92.62 kB / 1.115 GB, free: 2.559 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002969/1.226, allocations: 147.8 kB / 1.115 GB, free: 2.41 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/1.226, allocations: 0.5625 kB / 1.115 GB, free: 2.41 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.94e-05/1.226, allocations: 7.984 kB / 1.115 GB, free: 2.402 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.188e-05/1.226, allocations: 4 kB / 1.115 GB, free: 2.398 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000957/1.227, allocations: 0.5869 MB / 1.116 GB, free: 1.773 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002651/1.228, allocations: 170.6 kB / 1.116 GB, free: 1.598 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00011/1.228, allocations: 72.86 kB / 1.116 GB, free: 1.523 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.644e-05/1.228, allocations: 1.938 kB / 1.116 GB, free: 1.523 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002713/1.228, allocations: 190.8 kB / 1.116 GB, free: 1.324 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=37): time 1.503e-06/1.228, allocations: 0 / 1.116 GB, free: 1.324 MB / 0.7136 GB Notification: Performance of matching and sorting (n=37): time 0.0004663/1.229, allocations: 237.2 kB / 1.117 GB, free: 1.086 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001076/1.229, allocations: 75.27 kB / 1.117 GB, free: 1 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001587/1.229, allocations: 162 kB / 1.117 GB, free: 0.8359 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 6.4e-05/1.229, allocations: 45.64 kB / 1.117 GB, free: 0.7852 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001064/1.229, allocations: 128.8 kB / 1.117 GB, free: 0.6562 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 7.567e-05/1.229, allocations: 78.97 kB / 1.117 GB, free: 0.5781 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.505e-05/1.229, allocations: 4 kB / 1.117 GB, free: 0.5742 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001558/1.229, allocations: 334.8 kB / 1.117 GB, free: 244 kB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002582/1.23, allocations: 137.1 kB / 1.117 GB, free: 104 kB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003483/1.23, allocations: 258.6 kB / 1.118 GB, free: 15.8 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005899/1.231, allocations: 164.8 kB / 1.118 GB, free: 15.64 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/1.231, allocations: 7.938 kB / 1.118 GB, free: 15.63 MB / 0.7292 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001043/1.232, allocations: 472.9 kB / 1.118 GB, free: 15.16 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/1.232, allocations: 11.58 kB / 1.118 GB, free: 15.16 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.958e-06/1.232, allocations: 8 kB / 1.118 GB, free: 15.15 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.16e-05/1.232, allocations: 8 kB / 1.118 GB, free: 15.14 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001658/1.232, allocations: 43.86 kB / 1.118 GB, free: 15.1 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.441e-05/1.232, allocations: 7.906 kB / 1.118 GB, free: 15.09 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005903/1.232, allocations: 135.8 kB / 1.118 GB, free: 14.96 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.937e-05/1.233, allocations: 28.64 kB / 1.119 GB, free: 14.93 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 56 ($PRE.accuTimer3.yAcc,accuTimer3.yAcc,$PRE.accuTimer2.yAcc,accuTimer2.yAcc,$PRE.accuTimer1.yAcc,accuTimer1.yAcc,$PRE.accuTimer.yAcc,accuTimer.yAcc,$PRE.resetTimer.yAcc,resetTimer.yAcc,$whenCondition16,$whenCondition17,$whenCondition14,$whenCondition15,$whenCondition12,$whenCondition13,$whenCondition4,$PRE.booPul1.y,booPul1.y,$whenCondition1,$whenCondition10,accuTimer3.reset,$PRE.pre.u,$whenCondition9,$whenCondition8,$PRE.accuTimer2.entryTime,accuTimer2.entryTime,$PRE.booPul2.y,booPul2.y,$PRE.accuTimer2.reset_internal,accuTimer2.reset_internal,$whenCondition11,$whenCondition6,$whenCondition7,$whenCondition5,$whenCondition3,$whenCondition2,$PRE.resetTimer.entryTime,resetTimer.entryTime,$PRE.accuTimer.entryTime,accuTimer.entryTime,$PRE.accuTimer1.entryTime,accuTimer1.entryTime,$PRE.accuTimer3.entryTime,accuTimer3.entryTime,pre.u,$PRE.booPul.y,booPul.y,$PRE.resetTimer.reset_internal,resetTimer.reset_internal,$PRE.accuTimer.reset_internal,accuTimer.reset_internal,$PRE.accuTimer1.reset_internal,accuTimer1.reset_internal,$PRE.accuTimer3.reset_internal,accuTimer3.reset_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 3 * 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.0001663/1.233, allocations: 150.1 kB / 1.119 GB, free: 14.77 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.959e-05/1.233, allocations: 35.69 kB / 1.119 GB, free: 14.74 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.728e-05/1.233, allocations: 26.59 kB / 1.119 GB, free: 14.71 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.385e-05/1.233, allocations: 7.906 kB / 1.119 GB, free: 14.7 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.346e-06/1.233, allocations: 0 / 1.119 GB, free: 14.7 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.828e-06/1.233, allocations: 3.984 kB / 1.119 GB, free: 14.7 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008575/1.234, allocations: 0.5851 MB / 1.119 GB, free: 14.07 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/1.234, allocations: 0 / 1.119 GB, free: 14.07 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.514e-05/1.234, allocations: 23.92 kB / 1.119 GB, free: 14.05 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.786e-06/1.234, allocations: 4 kB / 1.119 GB, free: 14.04 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.699e-05/1.234, allocations: 7.984 kB / 1.119 GB, free: 14.04 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/1.234, allocations: 0 / 1.119 GB, free: 14.04 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/1.234, allocations: 0 / 1.119 GB, free: 14.04 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004584/1.234, allocations: 347.3 kB / 1.12 GB, free: 13.68 MB / 0.7292 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005857/1.235, allocations: 0.7223 MB / 1.12 GB, free: 12.94 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 6.784e-05/1.235, allocations: 100.8 kB / 1.12 GB, free: 12.82 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.858e-05/1.235, allocations: 3.984 kB / 1.12 GB, free: 12.82 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001128/1.235, allocations: 11.98 kB / 1.12 GB, free: 12.8 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001024/1.235, allocations: 31.95 kB / 1.121 GB, free: 12.77 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.653e-05/1.235, allocations: 19.98 kB / 1.121 GB, free: 12.75 MB / 0.7292 GB Notification: Performance of sort global known variables: time 9.195e-05/1.235, allocations: 115.2 kB / 1.121 GB, free: 12.64 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001107/1.237, allocations: 88.92 kB / 1.121 GB, free: 12.55 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 32 (accuTimer3.reset,$whenCondition16,$whenCondition17,$whenCondition14,$whenCondition15,$whenCondition12,$whenCondition13,$whenCondition10,$whenCondition11,$whenCondition9,$whenCondition8,$whenCondition6,$whenCondition7,$whenCondition4,$whenCondition5,$whenCondition3,$whenCondition1,$whenCondition2,resetTimer.entryTime,resetTimer.yAcc,accuTimer.entryTime,accuTimer.yAcc,accuTimer1.entryTime,accuTimer1.yAcc,accuTimer2.entryTime,accuTimer2.yAcc,accuTimer3.entryTime,accuTimer3.yAcc,booPul1.y,pre.u,booPul.y,booPul2.y) * Number of discrete states: 6 (pre.u,accuTimer3.y,accuTimer2.y,accuTimer1.y,accuTimer.y,resetTimer.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 13 * 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.0002604/1.237, allocations: 129.7 kB / 1.121 GB, free: 12.41 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.000689/1.238, allocations: 412.6 kB / 1.121 GB, free: 11.99 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/1.238, allocations: 0 / 1.121 GB, free: 11.99 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002014/1.238, allocations: 140.5 kB / 1.121 GB, free: 11.86 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003616/1.238, allocations: 35.62 kB / 1.121 GB, free: 11.82 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000708/1.239, allocations: 300.3 kB / 1.122 GB, free: 11.51 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004545/1.239, allocations: 0.7794 MB / 1.122 GB, free: 10.7 MB / 0.7292 GB Notification: Performance of SimCode: time 2.415e-06/1.239, allocations: 0 / 1.122 GB, free: 10.7 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Obsolete_Controls_OBC_CDL_Logical_Validation_Timer_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Obsolete_Controls_OBC_CDL_Logical_Validation_Timer.fmu > Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1)