Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.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.Ren2014ACBedroom,fileNamePrefix="Buildings_7_0_0_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACBedroom",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.4/2.4, allocations: 248.6 MB / 255.9 MB, free: 7.121 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.002094/0.002094, allocations: 182 kB / 315.1 MB, free: 4.301 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.075/2.075, allocations: 205.1 MB / 0.5658 GB, free: 320 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.001323/0.001322, allocations: 106.9 kB / 0.67 GB, free: 5.516 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.5245/0.5259, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.213/0.7389, allocations: 106.2 MB / 0.8835 GB, free: 13.38 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7644/1.503, allocations: 133.9 MB / 1.014 GB, free: 6.164 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003002/1.504, allocations: 80.02 kB / 1.014 GB, free: 6.121 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.01791/1.522, allocations: 3.581 MB / 1.018 GB, free: 3.02 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.79e-05/1.522, allocations: 12 kB / 1.018 GB, free: 3.008 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.542e-05/1.522, allocations: 7.906 kB / 1.018 GB, free: 3 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001576/1.522, allocations: 170.9 kB / 1.018 GB, free: 2.793 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.547e-05/1.522, allocations: 0 / 1.018 GB, free: 2.793 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.053e-05/1.522, allocations: 11.97 kB / 1.018 GB, free: 2.781 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001514/1.522, allocations: 37.44 kB / 1.018 GB, free: 2.758 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001913/1.522, allocations: 68.06 kB / 1.018 GB, free: 2.695 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/1.523, allocations: 0 / 1.018 GB, free: 2.695 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.933e-05/1.523, allocations: 0 / 1.018 GB, free: 2.695 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.082e-05/1.523, allocations: 4 kB / 1.018 GB, free: 2.691 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007355/1.523, allocations: 300.1 kB / 1.018 GB, free: 2.379 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001981/1.524, allocations: 59.83 kB / 1.018 GB, free: 2.328 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001024/1.524, allocations: 35.59 kB / 1.018 GB, free: 2.301 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.068e-05/1.524, allocations: 0 / 1.018 GB, free: 2.301 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000181/1.524, allocations: 73.83 kB / 1.019 GB, free: 2.23 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=8): time 2.044e-06/1.524, allocations: 0 / 1.019 GB, free: 2.23 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8): time 0.0006999/1.525, allocations: 119.4 kB / 1.019 GB, free: 2.125 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.019e-05/1.525, allocations: 63.48 kB / 1.019 GB, free: 2.051 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001378/1.525, allocations: 115.6 kB / 1.019 GB, free: 1.938 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.433e-05/1.525, allocations: 25.7 kB / 1.019 GB, free: 1.906 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.052e-05/1.525, allocations: 99.3 kB / 1.019 GB, free: 1.809 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.459e-05/1.525, allocations: 15.69 kB / 1.019 GB, free: 1.797 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.545e-06/1.525, allocations: 0 / 1.019 GB, free: 1.797 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001347/1.525, allocations: 322.1 kB / 1.019 GB, free: 1.477 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.927e-05/1.525, allocations: 22.69 kB / 1.019 GB, free: 1.461 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001001/1.525, allocations: 54 kB / 1.019 GB, free: 1.395 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.567e-05/1.525, allocations: 27.3 kB / 1.019 GB, free: 1.375 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/1.525, allocations: 3.938 kB / 1.019 GB, free: 1.371 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002587/1.526, allocations: 96.83 kB / 1.019 GB, free: 1.281 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/1.526, allocations: 5.719 kB / 1.019 GB, free: 1.277 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.19e-05/1.526, allocations: 4 kB / 1.019 GB, free: 1.273 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.903e-05/1.526, allocations: 4 kB / 1.019 GB, free: 1.27 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001804/1.526, allocations: 15.92 kB / 1.019 GB, free: 1.254 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.208e-06/1.526, allocations: 8.188 kB / 1.019 GB, free: 1.246 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000122/1.526, allocations: 7.906 kB / 1.019 GB, free: 1.238 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.098e-05/1.526, allocations: 7.984 kB / 1.02 GB, free: 1.23 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.0001144/1.526, allocations: 116.3 kB / 1.02 GB, free: 1.117 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.864e-05/1.526, allocations: 11.03 kB / 1.02 GB, free: 1.109 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.329e-05/1.526, allocations: 8.5 kB / 1.02 GB, free: 1.102 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/1.526, allocations: 0 / 1.02 GB, free: 1.102 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/1.526, allocations: 4 kB / 1.02 GB, free: 1.098 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/1.526, allocations: 0 / 1.02 GB, free: 1.098 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000912/1.527, allocations: 381.7 kB / 1.02 GB, free: 0.7188 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/1.527, allocations: 0 / 1.02 GB, free: 0.7188 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001144/1.528, allocations: 4 kB / 1.02 GB, free: 0.7148 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.215e-05/1.528, allocations: 0 / 1.02 GB, free: 0.7148 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.813e-05/1.528, allocations: 15.83 kB / 1.02 GB, free: 0.6992 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/1.528, allocations: 0 / 1.02 GB, free: 0.6992 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.588e-06/1.528, allocations: 4 kB / 1.02 GB, free: 0.6953 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005379/1.528, allocations: 205 kB / 1.02 GB, free: 0.5 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006732/1.529, allocations: 0.5731 MB / 1.021 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.982e-05/1.529, allocations: 81.02 kB / 1.021 GB, free: 15.83 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.272e-05/1.529, allocations: 4 kB / 1.021 GB, free: 15.83 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002203/1.529, allocations: 15.98 kB / 1.021 GB, free: 15.81 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.803e-05/1.529, allocations: 10.97 kB / 1.021 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.984e-05/1.529, allocations: 4 kB / 1.021 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of sort global known variables: time 8.573e-05/1.529, allocations: 98.22 kB / 1.021 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001409/1.531, allocations: 63.36 kB / 1.021 GB, free: 15.65 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.0006679/1.532, allocations: 191.4 kB / 1.021 GB, free: 15.47 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003111/1.532, allocations: 65.36 kB / 1.021 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/1.532, allocations: 0 / 1.021 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001222/1.532, allocations: 38.44 kB / 1.021 GB, free: 15.4 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003813/1.532, allocations: 15.47 kB / 1.021 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005512/1.533, allocations: 117.5 kB / 1.021 GB, free: 15.26 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004024/1.533, allocations: 0.7114 MB / 1.022 GB, free: 14.52 MB / 0.6511 GB Notification: Performance of SimCode: time 1.403e-06/1.533, allocations: 0 / 1.022 GB, free: 14.52 MB / 0.6511 GB