Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.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.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU,fileNamePrefix="Buildings_7_0_0_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingEU",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.059/2.059, allocations: 248.6 MB / 255.9 MB, free: 7.082 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.001872/0.001872, allocations: 194.9 kB / 315.1 MB, free: 4.238 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.04/2.04, allocations: 205.1 MB / 0.5658 GB, free: 256 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.001755/0.001755, allocations: 95.08 kB / 0.67 GB, free: 5.461 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.5076/0.5094, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2452/0.7546, allocations: 106.3 MB / 0.8835 GB, free: 13.32 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7003/1.455, allocations: 133.7 MB / 1.014 GB, free: 6.477 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003092/1.455, allocations: 80.02 kB / 1.014 GB, free: 6.434 MB / 0.6355 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Occupants/BaseClasses/binaryVariableGeneration.mo:11:3-11:96:writable] Warning: localSeed was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.01479/1.47, allocations: 3.056 MB / 1.017 GB, free: 3.785 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/1.47, allocations: 8 kB / 1.017 GB, free: 3.777 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.112e-05/1.47, allocations: 11.91 kB / 1.017 GB, free: 3.766 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001628/1.471, allocations: 174.9 kB / 1.017 GB, free: 3.555 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.279e-05/1.471, allocations: 4 kB / 1.017 GB, free: 3.551 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.773e-05/1.471, allocations: 4 kB / 1.017 GB, free: 3.547 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001208/1.471, allocations: 30.36 kB / 1.017 GB, free: 3.527 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001475/1.471, allocations: 52.73 kB / 1.017 GB, free: 3.477 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/1.471, allocations: 0 / 1.017 GB, free: 3.477 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.603e-05/1.471, allocations: 0 / 1.017 GB, free: 3.477 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.977e-06/1.471, allocations: 3.906 kB / 1.017 GB, free: 3.473 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005851/1.472, allocations: 283 kB / 1.018 GB, free: 3.18 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001149/1.472, allocations: 41.55 kB / 1.018 GB, free: 3.137 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.685e-05/1.472, allocations: 27.97 kB / 1.018 GB, free: 3.113 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.561e-05/1.472, allocations: 0 / 1.018 GB, free: 3.113 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001471/1.472, allocations: 78.2 kB / 1.018 GB, free: 3.035 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.693e-06/1.472, allocations: 0 / 1.018 GB, free: 3.035 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0003073/1.472, allocations: 70.47 kB / 1.018 GB, free: 2.973 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.258e-05/1.472, allocations: 55.41 kB / 1.018 GB, free: 2.906 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001169/1.473, allocations: 111.4 kB / 1.018 GB, free: 2.797 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.637e-05/1.473, allocations: 25.7 kB / 1.018 GB, free: 2.766 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.997e-05/1.473, allocations: 91.06 kB / 1.018 GB, free: 2.672 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.821e-05/1.473, allocations: 18.75 kB / 1.018 GB, free: 2.656 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.097e-06/1.473, allocations: 0 / 1.018 GB, free: 2.656 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001792/1.473, allocations: 322.1 kB / 1.018 GB, free: 2.336 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.795e-05/1.473, allocations: 18.75 kB / 1.018 GB, free: 2.324 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.949e-05/1.473, allocations: 37.64 kB / 1.019 GB, free: 2.285 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001026/1.473, allocations: 23.2 kB / 1.019 GB, free: 2.27 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.11e-06/1.473, allocations: 0 / 1.019 GB, free: 2.27 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002741/1.473, allocations: 111.8 kB / 1.019 GB, free: 2.168 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/1.474, allocations: 4 kB / 1.019 GB, free: 2.164 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/1.474, allocations: 0.875 kB / 1.019 GB, free: 2.164 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/1.474, allocations: 0 / 1.019 GB, free: 2.164 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001643/1.474, allocations: 15.98 kB / 1.019 GB, free: 2.148 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.112e-06/1.474, allocations: 0 / 1.019 GB, free: 2.148 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001119/1.474, allocations: 4 kB / 1.019 GB, free: 2.145 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.861e-05/1.474, allocations: 8.062 kB / 1.019 GB, free: 2.137 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 (hea.occ,$PRE.hea.on,hea.on,$PRE.hea.p,hea.p,$PRE.hea.curSeed,hea.curSeed,$whenCondition1,hea.sampleTrigger) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001235/1.474, allocations: 120.1 kB / 1.019 GB, free: 2.02 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.307e-05/1.474, allocations: 7.906 kB / 1.019 GB, free: 2.012 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.824e-05/1.474, allocations: 11.55 kB / 1.019 GB, free: 2 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/1.474, allocations: 0 / 1.019 GB, free: 2 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/1.474, allocations: 2.688 kB / 1.019 GB, free: 2 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/1.474, allocations: 4 kB / 1.019 GB, free: 1.996 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005008/1.475, allocations: 313.7 kB / 1.019 GB, free: 1.668 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/1.475, allocations: 0 / 1.019 GB, free: 1.668 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.105e-05/1.475, allocations: 7.984 kB / 1.019 GB, free: 1.66 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.839e-06/1.475, allocations: 4 kB / 1.019 GB, free: 1.656 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.111e-05/1.475, allocations: 11.67 kB / 1.019 GB, free: 1.648 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/1.475, allocations: 0 / 1.019 GB, free: 1.648 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/1.475, allocations: 0 / 1.019 GB, free: 1.648 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002794/1.475, allocations: 180.9 kB / 1.019 GB, free: 1.469 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004925/1.476, allocations: 0.5391 MB / 1.02 GB, free: 0.9258 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.688e-05/1.476, allocations: 84.55 kB / 1.02 GB, free: 0.8281 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.286e-05/1.476, allocations: 7.844 kB / 1.02 GB, free: 0.8203 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00015/1.476, allocations: 7.984 kB / 1.02 GB, free: 0.8125 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.921e-05/1.476, allocations: 8 kB / 1.02 GB, free: 0.8047 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.754e-05/1.476, allocations: 3.984 kB / 1.02 GB, free: 0.8008 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.577e-05/1.476, allocations: 93.12 kB / 1.02 GB, free: 0.7148 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001305/1.477, allocations: 61.67 kB / 1.02 GB, free: 0.6602 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: 6 (hea.sampleTrigger,$whenCondition1,hea.occ,hea.on,hea.p,hea.curSeed) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * 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.0004857/1.478, allocations: 163.9 kB / 1.02 GB, free: 0.5039 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002045/1.478, allocations: 57.44 kB / 1.02 GB, free: 476 kB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/1.478, allocations: 4 kB / 1.02 GB, free: 472 kB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 9.331e-05/1.478, allocations: 26.61 kB / 1.02 GB, free: 452 kB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002447/1.479, allocations: 0 / 1.02 GB, free: 452 kB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004338/1.479, allocations: 105.7 kB / 1.02 GB, free: 336 kB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004353/1.479, allocations: 0.6997 MB / 1.021 GB, free: 15.6 MB / 0.6511 GB Notification: Performance of SimCode: time 8.02e-07/1.479, allocations: 4.125 kB / 1.021 GB, free: 15.6 MB / 0.6511 GB