Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.conf.json 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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Timer,fileNamePrefix="Buildings_7_0_0_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 7.0.1/package.mo): time 2.301/2.301, allocations: 248.6 MB / 255.9 MB, free: 356 kB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001909/0.001909, allocations: 181.2 kB / 315.1 MB, free: 7.762 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.306/2.306, allocations: 205.1 MB / 0.5658 GB, free: 25.5 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001295/0.001294, allocations: 95.69 kB / 0.67 GB, free: 2.938 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 0.3376/0.339, allocations: 112.4 MB / 0.7797 GB, free: 2.453 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5443/0.8833, allocations: 106.2 MB / 0.8835 GB, free: 77.27 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2632/1.147, allocations: 131.1 MB / 1.011 GB, free: 10.01 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002396/1.147, allocations: 67.95 kB / 1.012 GB, free: 9.941 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0112/1.158, allocations: 2.455 MB / 1.014 GB, free: 7.438 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.476e-05/1.158, allocations: 16 kB / 1.014 GB, free: 7.422 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001079/1.158, allocations: 19.81 kB / 1.014 GB, free: 7.402 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003688/1.159, allocations: 225.4 kB / 1.014 GB, free: 7.145 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.907e-05/1.159, allocations: 8 kB / 1.014 GB, free: 7.137 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.633e-05/1.159, allocations: 23.97 kB / 1.014 GB, free: 7.113 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000384/1.159, allocations: 104.5 kB / 1.014 GB, free: 7.012 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004336/1.16, allocations: 155.8 kB / 1.014 GB, free: 6.855 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/1.16, allocations: 3.938 kB / 1.014 GB, free: 6.852 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.83e-05/1.16, allocations: 7.984 kB / 1.014 GB, free: 6.844 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.021e-05/1.16, allocations: 4 kB / 1.014 GB, free: 6.84 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001557/1.161, allocations: 0.5051 MB / 1.015 GB, free: 6.297 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004981/1.162, allocations: 190.5 kB / 1.015 GB, free: 6.102 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002574/1.162, allocations: 88.86 kB / 1.015 GB, free: 6.012 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 2.292e-05/1.162, allocations: 4 kB / 1.015 GB, free: 6.008 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004779/1.163, allocations: 195.1 kB / 1.015 GB, free: 5.805 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=39): time 3.336e-06/1.163, allocations: 0 / 1.015 GB, free: 5.805 MB / 0.6667 GB Notification: Performance of matching and sorting (n=39): time 0.0007553/1.163, allocations: 245.6 kB / 1.016 GB, free: 5.559 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.372e-05/1.164, allocations: 71.33 kB / 1.016 GB, free: 5.477 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001918/1.164, allocations: 136.8 kB / 1.016 GB, free: 5.336 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 5.949e-05/1.164, allocations: 37.69 kB / 1.016 GB, free: 5.293 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 7.478e-05/1.164, allocations: 104.9 kB / 1.016 GB, free: 5.188 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001417/1.164, allocations: 86.95 kB / 1.016 GB, free: 5.102 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.292e-05/1.164, allocations: 4 kB / 1.016 GB, free: 5.098 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0002128/1.164, allocations: 334.7 kB / 1.016 GB, free: 4.762 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002731/1.165, allocations: 81 kB / 1.016 GB, free: 4.684 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003199/1.165, allocations: 128.7 kB / 1.017 GB, free: 4.539 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002558/1.165, allocations: 88.7 kB / 1.017 GB, free: 4.457 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.389e-06/1.165, allocations: 0 / 1.017 GB, free: 4.457 MB / 0.6667 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0007983/1.166, allocations: 274.9 kB / 1.017 GB, free: 4.18 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.69e-05/1.166, allocations: 8.625 kB / 1.017 GB, free: 4.172 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.095e-05/1.166, allocations: 0 / 1.017 GB, free: 4.172 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.375e-05/1.166, allocations: 4 kB / 1.017 GB, free: 4.168 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003257/1.166, allocations: 47.84 kB / 1.017 GB, free: 4.121 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.423e-05/1.166, allocations: 4 kB / 1.017 GB, free: 4.117 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003734/1.167, allocations: 43.8 kB / 1.017 GB, free: 4.074 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.848e-05/1.167, allocations: 12 kB / 1.017 GB, free: 4.062 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 54 ($PRE.resetTimer.yAcc,resetTimer.yAcc,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition11,$whenCondition12,$whenCondition10,$whenCondition8,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition4,$whenCondition5,$whenCondition3,$whenCondition1,$whenCondition2,$PRE.resetTimer.entryTime,resetTimer.entryTime,$PRE.accuTimer.entryTime,accuTimer.entryTime,$PRE.accuTimer.yAcc,accuTimer.yAcc,$PRE.accuTimer.reset_internal,accuTimer.reset_internal,$PRE.accuTimer1.entryTime,accuTimer1.entryTime,$PRE.accuTimer1.yAcc,accuTimer1.yAcc,$PRE.accuTimer1.reset_internal,accuTimer1.reset_internal,accuTimer2.u,$PRE.accuTimer2.entryTime,accuTimer2.entryTime,$PRE.accuTimer2.yAcc,accuTimer2.yAcc,$PRE.accuTimer2.reset_internal,accuTimer2.reset_internal,$PRE.accuTimer3.entryTime,accuTimer3.entryTime,$PRE.accuTimer3.yAcc,accuTimer3.yAcc,$PRE.accuTimer3.reset_internal,accuTimer3.reset_internal,$PRE.booPul1.pulseStart,booPul1.pulseStart,$PRE.pre.u,pre.u,$PRE.booPul.pulseStart,booPul.pulseStart,$PRE.booPul2.pulseStart,booPul2.pulseStart,$PRE.resetTimer.reset_internal,resetTimer.reset_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 59 * 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.0001888/1.167, allocations: 138.1 kB / 1.017 GB, free: 3.918 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.352e-05/1.167, allocations: 19.81 kB / 1.017 GB, free: 3.898 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000103/1.167, allocations: 29.64 kB / 1.017 GB, free: 3.863 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.105e-06/1.167, allocations: 7.938 kB / 1.017 GB, free: 3.855 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.326e-06/1.167, allocations: 0 / 1.017 GB, free: 3.855 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.244e-06/1.167, allocations: 0 / 1.017 GB, free: 3.855 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001632/1.169, allocations: 0.6316 MB / 1.018 GB, free: 3.18 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.97e-06/1.169, allocations: 4 kB / 1.018 GB, free: 3.176 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001316/1.169, allocations: 12 kB / 1.018 GB, free: 3.164 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.165e-05/1.169, allocations: 3.984 kB / 1.018 GB, free: 3.16 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.629e-05/1.169, allocations: 11.98 kB / 1.018 GB, free: 3.148 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.676e-06/1.169, allocations: 7.906 kB / 1.018 GB, free: 3.141 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/1.169, allocations: 0 / 1.018 GB, free: 3.141 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007573/1.17, allocations: 359.1 kB / 1.018 GB, free: 2.773 MB / 0.6667 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001004/1.171, allocations: 0.7175 MB / 1.019 GB, free: 2.039 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001556/1.171, allocations: 96.77 kB / 1.019 GB, free: 1.926 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001212/1.171, allocations: 11.98 kB / 1.019 GB, free: 1.914 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004348/1.172, allocations: 31.97 kB / 1.019 GB, free: 1.883 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001632/1.172, allocations: 39.92 kB / 1.019 GB, free: 1.844 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.199e-05/1.172, allocations: 15.98 kB / 1.019 GB, free: 1.828 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.0001199/1.172, allocations: 110.7 kB / 1.019 GB, free: 1.723 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001801/1.174, allocations: 55.98 kB / 1.019 GB, free: 1.668 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 34 (accuTimer2.u,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition11,$whenCondition12,$whenCondition10,$whenCondition8,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition4,$whenCondition5,$whenCondition3,$whenCondition1,$whenCondition2,resetTimer.entryTime,resetTimer.yAcc,accuTimer.entryTime,accuTimer.yAcc,accuTimer.reset_internal,accuTimer1.entryTime,accuTimer1.yAcc,accuTimer1.reset_internal,accuTimer2.entryTime,accuTimer2.yAcc,accuTimer2.reset_internal,accuTimer3.entryTime,accuTimer3.yAcc,accuTimer3.reset_internal,booPul1.pulseStart,pre.u,booPul.pulseStart,booPul2.pulseStart) * Number of discrete states: 10 (pre.u,accuTimer1.reset_internal,accuTimer2.reset_internal,accuTimer3.reset_internal,accuTimer.reset_internal,accuTimer3.y,accuTimer2.y,accuTimer1.y,accuTimer.y,resetTimer.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 26 * 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.0003257/1.174, allocations: 122.7 kB / 1.019 GB, free: 1.543 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0007721/1.175, allocations: 249.5 kB / 1.02 GB, free: 1.301 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/1.175, allocations: 4 kB / 1.02 GB, free: 1.297 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0005886/1.176, allocations: 143.9 kB / 1.02 GB, free: 1.156 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005447/1.176, allocations: 32.12 kB / 1.02 GB, free: 1.125 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001169/1.178, allocations: 292.9 kB / 1.02 GB, free: 0.8164 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005429/1.178, allocations: 0.7786 MB / 1.021 GB, free: 8 kB / 0.6667 GB Notification: Performance of SimCode: time 1.253e-06/1.178, allocations: 3.938 kB / 1.021 GB, free: 4 kB / 0.6667 GB