Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.Continuous.Validation.OffTimerNonZeroStart.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.Continuous.Validation.OffTimerNonZeroStart,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_Continuous_Validation_OffTimerNonZeroStart",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.337/2.337, allocations: 248.6 MB / 255.9 MB, free: 7.133 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00189/0.00189, allocations: 189.2 kB / 315.1 MB, free: 4.305 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.169/2.169, allocations: 205.1 MB / 0.5658 GB, free: 336 kB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001818/0.001817, allocations: 90.95 kB / 0.67 GB, free: 5.543 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.5264/0.5282, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2322/0.7605, allocations: 106.2 MB / 0.8835 GB, free: 13.39 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7186/1.479, allocations: 132.5 MB / 1.013 GB, free: 7.727 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003064/1.479, allocations: 74.81 kB / 1.013 GB, free: 7.684 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.006552/1.486, allocations: 1.406 MB / 1.014 GB, free: 6.414 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/1.486, allocations: 8 kB / 1.014 GB, free: 6.406 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.547e-05/1.486, allocations: 7.906 kB / 1.014 GB, free: 6.398 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001742/1.486, allocations: 163.1 kB / 1.014 GB, free: 6.199 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.999e-05/1.486, allocations: 4 kB / 1.014 GB, free: 6.195 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.052e-05/1.486, allocations: 4 kB / 1.015 GB, free: 6.191 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001077/1.487, allocations: 26.28 kB / 1.015 GB, free: 6.172 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001163/1.487, allocations: 48.25 kB / 1.015 GB, free: 6.125 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/1.487, allocations: 0 / 1.015 GB, free: 6.125 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.601e-05/1.487, allocations: 7.984 kB / 1.015 GB, free: 6.117 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.205e-06/1.487, allocations: 4 kB / 1.015 GB, free: 6.113 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005815/1.487, allocations: 263.2 kB / 1.015 GB, free: 5.832 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001387/1.487, allocations: 55 kB / 1.015 GB, free: 5.781 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.452e-05/1.488, allocations: 23.83 kB / 1.015 GB, free: 5.762 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.479e-05/1.488, allocations: 4 kB / 1.015 GB, free: 5.758 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001325/1.488, allocations: 70.27 kB / 1.015 GB, free: 5.684 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=9): time 2.846e-06/1.488, allocations: 0 / 1.015 GB, free: 5.684 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9): time 0.0002939/1.488, allocations: 61.31 kB / 1.015 GB, free: 5.625 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.236e-05/1.488, allocations: 63.39 kB / 1.015 GB, free: 5.551 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.937e-05/1.488, allocations: 96.75 kB / 1.015 GB, free: 5.453 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.501e-05/1.488, allocations: 28.39 kB / 1.015 GB, free: 5.422 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.272e-05/1.488, allocations: 84.14 kB / 1.015 GB, free: 5.336 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.111e-05/1.488, allocations: 26.7 kB / 1.015 GB, free: 5.312 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.163e-06/1.488, allocations: 0 / 1.015 GB, free: 5.312 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002127/1.489, allocations: 313.8 kB / 1.016 GB, free: 5 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.352e-05/1.489, allocations: 18.94 kB / 1.016 GB, free: 4.988 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.416e-05/1.489, allocations: 46.3 kB / 1.016 GB, free: 4.938 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.402e-05/1.489, allocations: 15.42 kB / 1.016 GB, free: 4.926 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/1.489, allocations: 4.094 kB / 1.016 GB, free: 4.922 MB / 0.6355 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002172/1.489, allocations: 89.33 kB / 1.016 GB, free: 4.84 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/1.489, allocations: 4 kB / 1.016 GB, free: 4.836 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.196e-06/1.489, allocations: 5.031 kB / 1.016 GB, free: 4.832 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/1.489, allocations: 4 kB / 1.016 GB, free: 4.828 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001254/1.489, allocations: 19.95 kB / 1.016 GB, free: 4.809 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.66e-06/1.489, allocations: 0 / 1.016 GB, free: 4.809 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001255/1.489, allocations: 14.81 kB / 1.016 GB, free: 4.801 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.409e-05/1.49, allocations: 4 kB / 1.016 GB, free: 4.797 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$whenCondition3,$whenCondition2,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,not1.y,$PRE.offTim1.entryTime,offTim1.entryTime,$PRE.offTim2.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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.0001012/1.49, allocations: 107.5 kB / 1.016 GB, free: 4.688 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.941e-05/1.49, allocations: 4 kB / 1.016 GB, free: 4.684 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.653e-05/1.49, allocations: 19.27 kB / 1.016 GB, free: 4.668 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/1.49, allocations: 4 kB / 1.016 GB, free: 4.664 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/1.49, allocations: 0 / 1.016 GB, free: 4.664 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-06/1.49, allocations: 0 / 1.016 GB, free: 4.664 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000585/1.49, allocations: 319.8 kB / 1.016 GB, free: 4.324 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/1.49, allocations: 4 kB / 1.016 GB, free: 4.32 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.133e-05/1.49, allocations: 7.984 kB / 1.016 GB, free: 4.312 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/1.49, allocations: 3.938 kB / 1.016 GB, free: 4.309 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.08e-05/1.49, allocations: 0 / 1.016 GB, free: 4.309 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/1.49, allocations: 0 / 1.016 GB, free: 4.309 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/1.49, allocations: 0 / 1.016 GB, free: 4.309 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002749/1.491, allocations: 165.6 kB / 1.016 GB, free: 4.145 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007281/1.492, allocations: 0.5412 MB / 1.017 GB, free: 3.594 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001395/1.492, allocations: 85.02 kB / 1.017 GB, free: 3.492 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.91e-05/1.492, allocations: 0 / 1.017 GB, free: 3.492 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005454/1.492, allocations: 7.984 kB / 1.017 GB, free: 3.484 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000101/1.493, allocations: 7.984 kB / 1.017 GB, free: 3.477 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.289e-05/1.493, allocations: 7.688 kB / 1.017 GB, free: 3.473 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0001013/1.493, allocations: 83.28 kB / 1.017 GB, free: 3.391 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001248/1.494, allocations: 15.94 kB / 1.017 GB, free: 3.375 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (not1.y,$whenCondition3,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,offTim1.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * 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.0001743/1.494, allocations: 99.14 kB / 1.017 GB, free: 3.27 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002165/1.494, allocations: 49.44 kB / 1.017 GB, free: 3.234 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/1.494, allocations: 0 / 1.017 GB, free: 3.234 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.85e-05/1.495, allocations: 19.94 kB / 1.017 GB, free: 3.219 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003048/1.495, allocations: 18.86 kB / 1.017 GB, free: 3.203 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003739/1.495, allocations: 98.38 kB / 1.017 GB, free: 3.094 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003746/1.496, allocations: 0.7039 MB / 1.018 GB, free: 2.363 MB / 0.6355 GB Notification: Performance of SimCode: time 9.72e-07/1.496, allocations: 0 / 1.018 GB, free: 2.363 MB / 0.6355 GB