Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.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.AirConditioning.Validation.Ren2014ACLivingroom,fileNamePrefix="Buildings_7_0_0_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACLivingroom",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.574/2.574, allocations: 248.6 MB / 255.9 MB, free: 7.117 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.001709/0.001709, allocations: 196.2 kB / 315.1 MB, free: 4.293 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.02/2.02, allocations: 205.1 MB / 0.5658 GB, free: 404 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.001406/0.001406, allocations: 95.3 kB / 0.67 GB, free: 5.609 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.5083/0.5098, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2094/0.7192, allocations: 106.2 MB / 0.8835 GB, free: 13.39 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6975/1.417, allocations: 133.9 MB / 1.014 GB, free: 6.367 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003548/1.417, allocations: 83.19 kB / 1.014 GB, free: 6.32 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.01804/1.435, allocations: 3.592 MB / 1.018 GB, free: 3.211 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.716e-05/1.435, allocations: 8 kB / 1.018 GB, free: 3.203 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.912e-05/1.435, allocations: 7.906 kB / 1.018 GB, free: 3.195 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001579/1.436, allocations: 174.9 kB / 1.018 GB, free: 2.984 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.577e-05/1.436, allocations: 4 kB / 1.018 GB, free: 2.98 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.91e-05/1.436, allocations: 4 kB / 1.018 GB, free: 2.977 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001483/1.436, allocations: 32.23 kB / 1.018 GB, free: 2.957 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001797/1.436, allocations: 64.66 kB / 1.018 GB, free: 2.898 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/1.436, allocations: 0 / 1.018 GB, free: 2.898 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.914e-05/1.436, allocations: 4 kB / 1.018 GB, free: 2.895 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.622e-06/1.436, allocations: 4 kB / 1.018 GB, free: 2.891 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000652/1.437, allocations: 300.8 kB / 1.018 GB, free: 2.582 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001865/1.437, allocations: 58.77 kB / 1.018 GB, free: 2.531 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001003/1.437, allocations: 35.03 kB / 1.018 GB, free: 2.504 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.62e-05/1.437, allocations: 0 / 1.018 GB, free: 2.504 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001611/1.437, allocations: 77.64 kB / 1.019 GB, free: 2.43 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=8): time 5.16e-06/1.437, allocations: 96 / 1.019 GB, free: 2.43 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8): time 0.0005827/1.438, allocations: 120 kB / 1.019 GB, free: 2.324 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.312e-05/1.438, allocations: 54.91 kB / 1.019 GB, free: 2.262 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001238/1.438, allocations: 115.6 kB / 1.019 GB, free: 2.145 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.933e-05/1.438, allocations: 32.89 kB / 1.019 GB, free: 2.109 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.904e-05/1.438, allocations: 91.92 kB / 1.019 GB, free: 2.016 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.214e-05/1.438, allocations: 15.75 kB / 1.019 GB, free: 2.004 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.175e-06/1.438, allocations: 0 / 1.019 GB, free: 2.004 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001309/1.438, allocations: 326.5 kB / 1.019 GB, free: 1.68 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.756e-05/1.438, allocations: 15.53 kB / 1.019 GB, free: 1.672 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.917e-05/1.439, allocations: 59.7 kB / 1.019 GB, free: 1.598 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.297e-05/1.439, allocations: 23.8 kB / 1.019 GB, free: 1.578 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.257e-06/1.439, allocations: 0 / 1.019 GB, free: 1.578 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002571/1.439, allocations: 102.9 kB / 1.019 GB, free: 1.484 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.314e-05/1.439, allocations: 10.81 kB / 1.019 GB, free: 1.477 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/1.439, allocations: 3.938 kB / 1.019 GB, free: 1.473 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.389e-05/1.439, allocations: 4 kB / 1.019 GB, free: 1.469 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002197/1.439, allocations: 15.98 kB / 1.019 GB, free: 1.453 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.217e-06/1.439, allocations: 0 / 1.019 GB, free: 1.453 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001816/1.44, allocations: 11.91 kB / 1.019 GB, free: 1.441 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.659e-05/1.44, allocations: 12.14 kB / 1.019 GB, free: 1.43 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.ac.curSeed,ac.curSeed,$PRE.ac.pOff,ac.pOff,$PRE.ac.pOn,ac.pOn,$PRE.ac.on,ac.on,ac.occ,$whenCondition1,ac.sampleTrigger) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001657/1.44, allocations: 121.4 kB / 1.02 GB, free: 1.312 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.081e-05/1.44, allocations: 11.84 kB / 1.02 GB, free: 1.305 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.435e-05/1.44, allocations: 7.375 kB / 1.02 GB, free: 1.301 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.064e-06/1.44, allocations: 4 kB / 1.02 GB, free: 1.297 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/1.44, allocations: 0 / 1.02 GB, free: 1.297 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/1.44, allocations: 48 / 1.02 GB, free: 1.297 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008448/1.441, allocations: 386.7 kB / 1.02 GB, free: 0.9102 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/1.441, allocations: 0 / 1.02 GB, free: 0.9102 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.537e-05/1.441, allocations: 4 kB / 1.02 GB, free: 0.9062 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.009e-05/1.441, allocations: 4 kB / 1.02 GB, free: 0.9023 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.274e-05/1.441, allocations: 3.906 kB / 1.02 GB, free: 0.8984 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/1.441, allocations: 0 / 1.02 GB, free: 0.8984 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.312e-06/1.441, allocations: 3.984 kB / 1.02 GB, free: 0.8945 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005314/1.442, allocations: 204.5 kB / 1.02 GB, free: 0.6992 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000614/1.442, allocations: 0.5875 MB / 1.021 GB, free: 120 kB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.266e-05/1.442, allocations: 85.02 kB / 1.021 GB, free: 16 kB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.888e-05/1.442, allocations: 0 / 1.021 GB, free: 16 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002091/1.443, allocations: 11.98 kB / 1.021 GB, free: 4 kB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.842e-05/1.443, allocations: 4 kB / 1.021 GB, free: 0 / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.85e-05/1.443, allocations: 7.984 kB / 1.021 GB, free: 15.99 MB / 0.6511 GB Notification: Performance of sort global known variables: time 7.636e-05/1.443, allocations: 94.03 kB / 1.021 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001331/1.444, allocations: 66.98 kB / 1.021 GB, free: 15.85 MB / 0.6511 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 (ac.sampleTrigger,$whenCondition1,ac.occ,ac.on,ac.pOn,ac.pOff,ac.curSeed) * Number of discrete states: 1 (ac.on) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0005298/1.445, allocations: 184.6 kB / 1.021 GB, free: 15.67 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002497/1.445, allocations: 57.67 kB / 1.021 GB, free: 15.63 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/1.445, allocations: 0 / 1.021 GB, free: 15.63 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001187/1.445, allocations: 41.81 kB / 1.021 GB, free: 15.6 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000282/1.445, allocations: 5.219 kB / 1.021 GB, free: 15.6 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005499/1.446, allocations: 128.7 kB / 1.021 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003817/1.446, allocations: 0.7079 MB / 1.022 GB, free: 14.73 MB / 0.6511 GB Notification: Performance of SimCode: time 7.51e-07/1.446, allocations: 0 / 1.022 GB, free: 14.73 MB / 0.6511 GB