Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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.Controls.OBC.CDL.Logical.Validation.Timer,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_Timer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Timer,fileNamePrefix="Buildings_8_Buildings_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.443/1.443, 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.001024/0.001024, allocations: 185.2 kB / 366.3 MB, free: 1.988 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.093/1.093, allocations: 205.2 MB / 0.6256 GB, free: 5.832 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.0007963/0.0007963, allocations: 89.94 kB / 0.7395 GB, free: 39.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1956/0.1964, allocations: 122.4 MB / 0.8591 GB, free: 13.25 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4293/0.6258, allocations: 116.3 MB / 0.9727 GB, free: 68.27 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1431/0.7689, allocations: 138.5 MB / 1.108 GB, free: 10.01 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00019/0.7691, allocations: 75.89 kB / 1.108 GB, free: 9.934 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.009963/0.7791, allocations: 3.525 MB / 1.111 GB, free: 6.371 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.351e-05/0.7792, allocations: 8 kB / 1.111 GB, free: 6.363 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.249e-05/0.7792, allocations: 25.19 kB / 1.111 GB, free: 6.34 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001069/0.7794, allocations: 163.1 kB / 1.112 GB, free: 6.141 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.697e-05/0.7794, allocations: 7.984 kB / 1.112 GB, free: 6.133 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.893e-05/0.7795, allocations: 23.94 kB / 1.112 GB, free: 6.109 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001263/0.7796, allocations: 59.88 kB / 1.112 GB, free: 6.051 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001809/0.7798, allocations: 115.6 kB / 1.112 GB, free: 5.93 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.184e-06/0.7798, allocations: 0 / 1.112 GB, free: 5.93 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.923e-05/0.7798, allocations: 7.984 kB / 1.112 GB, free: 5.922 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.7798, allocations: 0.6562 kB / 1.112 GB, free: 5.922 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007526/0.7806, allocations: 0.5245 MB / 1.112 GB, free: 5.355 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002094/0.7808, allocations: 141.2 kB / 1.112 GB, free: 5.199 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.713e-05/0.7809, allocations: 66.3 kB / 1.113 GB, free: 5.129 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.471e-05/0.7809, allocations: 4.094 kB / 1.113 GB, free: 5.125 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002102/0.7811, allocations: 162.6 kB / 1.113 GB, free: 4.945 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=22): time 1.733e-06/0.7811, allocations: 0 / 1.113 GB, free: 4.945 MB / 0.7136 GB Notification: Performance of matching and sorting (n=22): time 0.0003322/0.7815, allocations: 186.1 kB / 1.113 GB, free: 4.758 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.908e-05/0.7815, allocations: 81.11 kB / 1.113 GB, free: 4.66 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.353e-05/0.7816, allocations: 115.1 kB / 1.113 GB, free: 4.539 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.541e-05/0.7817, allocations: 37.69 kB / 1.113 GB, free: 4.496 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.028e-05/0.7817, allocations: 92.55 kB / 1.113 GB, free: 4.402 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.461e-05/0.7818, allocations: 47.56 kB / 1.113 GB, free: 4.355 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.464e-05/0.7818, allocations: 4 kB / 1.113 GB, free: 4.352 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.053e-05/0.7819, allocations: 330.8 kB / 1.114 GB, free: 4.02 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001532/0.7821, allocations: 84.27 kB / 1.114 GB, free: 3.934 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001801/0.7823, allocations: 148.2 kB / 1.114 GB, free: 3.762 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003609/0.7826, allocations: 95.91 kB / 1.114 GB, free: 3.668 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.7826, allocations: 0 / 1.114 GB, free: 3.668 MB / 0.7136 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006731/0.7833, allocations: 295.1 kB / 1.114 GB, free: 3.375 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.165e-05/0.7833, allocations: 4 kB / 1.114 GB, free: 3.371 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.7834, allocations: 4 kB / 1.114 GB, free: 3.367 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.7834, allocations: 4 kB / 1.114 GB, free: 3.363 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.976e-05/0.7835, allocations: 23.92 kB / 1.114 GB, free: 3.34 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.7835, allocations: 4 kB / 1.114 GB, free: 3.336 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004029/0.7839, allocations: 92.62 kB / 1.114 GB, free: 3.246 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.851e-05/0.7839, allocations: 23.98 kB / 1.114 GB, free: 3.223 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 27 ($PRE.thrTim.passed,thrTim.passed,$PRE.noThr.passed,noThr.passed,$whenCondition10,$whenCondition11,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition8,$PRE.noThr.entryTime,noThr.entryTime,$PRE.thrTim.entryTime,thrTim.entryTime,$PRE.booPul.y,booPul.y,$PRE.thrTim1.passed,thrTim1.passed,$whenCondition4,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,$PRE.thrTim1.entryTime,thrTim1.entryTime,$PRE.booPul1.y,booPul1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 2 * 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.0001047/0.784, allocations: 126.9 kB / 1.114 GB, free: 3.094 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.653e-05/0.7841, allocations: 15.81 kB / 1.114 GB, free: 3.078 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.519e-05/0.7841, allocations: 8.438 kB / 1.114 GB, free: 3.07 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.411e-06/0.7841, allocations: 7.984 kB / 1.114 GB, free: 3.062 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.708e-06/0.7841, allocations: 0 / 1.114 GB, free: 3.062 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.7842, allocations: 1.031 kB / 1.114 GB, free: 3.062 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004889/0.7846, allocations: 0.5332 MB / 1.115 GB, free: 2.484 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.7847, allocations: 0 / 1.115 GB, free: 2.484 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.634e-05/0.7847, allocations: 7.984 kB / 1.115 GB, free: 2.477 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.576e-06/0.7847, allocations: 4 kB / 1.115 GB, free: 2.473 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.914e-05/0.7847, allocations: 8.547 kB / 1.115 GB, free: 2.465 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.7848, allocations: 0 / 1.115 GB, free: 2.465 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.7848, allocations: 0 / 1.115 GB, free: 2.465 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003045/0.7851, allocations: 373.6 kB / 1.115 GB, free: 2.082 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003768/0.7855, allocations: 0.7271 MB / 1.116 GB, free: 1.332 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.906e-05/0.7855, allocations: 85.02 kB / 1.116 GB, free: 1.23 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.848e-05/0.7855, allocations: 11.98 kB / 1.116 GB, free: 1.219 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001575/0.7857, allocations: 11.98 kB / 1.116 GB, free: 1.207 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.426e-05/0.7858, allocations: 31.83 kB / 1.116 GB, free: 1.176 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.981e-05/0.7858, allocations: 19.98 kB / 1.116 GB, free: 1.156 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.629e-05/0.7859, allocations: 91.19 kB / 1.116 GB, free: 1.066 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.00102/0.7869, allocations: 59.98 kB / 1.116 GB, free: 1.008 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition4,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,thrTim1.passed,thrTim1.entryTime,booPul1.y,$whenCondition10,$whenCondition11,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition8,noThr.passed,noThr.entryTime,thrTim.passed,thrTim.entryTime,booPul.y) * Number of discrete states: 3 (noThr.entryTime,thrTim.entryTime,thrTim1.entryTime) * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0001759/0.7871, allocations: 119 kB / 1.116 GB, free: 0.8789 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003896/0.7875, allocations: 263.2 kB / 1.117 GB, free: 0.6094 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.7875, allocations: 0 / 1.117 GB, free: 0.6094 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001396/0.7876, allocations: 105.2 kB / 1.117 GB, free: 0.5078 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002757/0.7879, allocations: 20.42 kB / 1.117 GB, free: 500 kB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004035/0.7883, allocations: 192.9 kB / 1.117 GB, free: 280 kB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003129/0.7886, allocations: 0.7276 MB / 1.118 GB, free: 15.52 MB / 0.7292 GB Notification: Performance of SimCode: time 3.8e-07/0.7887, allocations: 0 / 1.118 GB, free: 15.52 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_Timer_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_Timer.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1)