Running: ./testmodel.py --libraries=/var/lib/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 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.097/2.097, allocations: 253.1 MB / 260.4 MB, free: 7.488 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001626/0.001626, allocations: 189 kB / 319.6 MB, free: 3.32 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.857/1.857, allocations: 205.4 MB / 0.5704 GB, free: 15.06 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001324/0.001324, allocations: 93.19 kB / 0.6746 GB, free: 4.438 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.057e-06/9.167e-06, allocations: 0 / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2051/0.2051, allocations: 106.3 MB / 0.888 GB, free: 12.21 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6186/0.8237, allocations: 133.8 MB / 1.019 GB, free: 4.535 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003132/0.8241, allocations: 81.08 kB / 1.019 GB, free: 4.492 MB / 0.6355 GB [/var/lib/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: Performance of FrontEnd: time 0.01639/0.8405, allocations: 3.114 MB / 1.022 GB, free: 1.898 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.805e-06/0.8406, allocations: 0 / 1.022 GB, free: 1.898 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0008098/0.8414, allocations: 479.2 kB / 1.022 GB, free: 1.383 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.8414, allocations: 11.97 kB / 1.022 GB, free: 1.371 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.35e-05/0.8415, allocations: 11.84 kB / 1.022 GB, free: 1.363 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001552/0.8417, allocations: 174.9 kB / 1.023 GB, free: 1.152 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.308e-05/0.8417, allocations: 8 kB / 1.023 GB, free: 1.145 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.55e-05/0.8417, allocations: 4 kB / 1.023 GB, free: 1.141 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001375/0.8419, allocations: 27.94 kB / 1.023 GB, free: 1.125 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001799/0.8421, allocations: 68.09 kB / 1.023 GB, free: 1.062 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.328e-06/0.8421, allocations: 0 / 1.023 GB, free: 1.062 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.488e-05/0.8421, allocations: 4 kB / 1.023 GB, free: 1.059 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.8421, allocations: 0 / 1.023 GB, free: 1.059 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006509/0.8428, allocations: 303.6 kB / 1.023 GB, free: 0.75 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001833/0.843, allocations: 57.19 kB / 1.023 GB, free: 0.6992 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001116/0.8431, allocations: 31.55 kB / 1.023 GB, free: 0.6758 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.59e-05/0.8432, allocations: 0 / 1.023 GB, free: 0.6758 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001705/0.8434, allocations: 89.28 kB / 1.023 GB, free: 0.5898 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=8): time 2.104e-06/0.8434, allocations: 3.938 kB / 1.023 GB, free: 0.5859 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8): time 0.0005303/0.8439, allocations: 106 kB / 1.023 GB, free: 0.4922 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.554e-05/0.844, allocations: 55.03 kB / 1.023 GB, free: 440 kB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001236/0.8441, allocations: 112.1 kB / 1.023 GB, free: 324 kB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.432e-05/0.8441, allocations: 29.69 kB / 1.023 GB, free: 288 kB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.457e-05/0.8442, allocations: 95.66 kB / 1.023 GB, free: 192 kB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.05e-05/0.8443, allocations: 19.23 kB / 1.023 GB, free: 176 kB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.303e-06/0.8443, allocations: 4 kB / 1.023 GB, free: 172 kB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000193/0.8445, allocations: 326.2 kB / 1.024 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.733e-05/0.8445, allocations: 15 kB / 1.024 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001028/0.8447, allocations: 59 kB / 1.024 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.218e-05/0.8447, allocations: 27.23 kB / 1.024 GB, free: 15.74 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.8448, allocations: 3.938 kB / 1.024 GB, free: 15.74 MB / 0.6511 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002658/0.845, allocations: 96.03 kB / 1.024 GB, free: 15.65 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.15e-05/0.8451, allocations: 11.98 kB / 1.024 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.8451, allocations: 0 / 1.024 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/0.8451, allocations: 4.188 kB / 1.024 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001495/0.8453, allocations: 16 kB / 1.024 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.287e-06/0.8453, allocations: 0 / 1.024 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001178/0.8454, allocations: 19.83 kB / 1.024 GB, free: 15.6 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.699e-05/0.8455, allocations: 4.547 kB / 1.024 GB, free: 15.6 MB / 0.6511 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.0001165/0.8456, allocations: 111.3 kB / 1.024 GB, free: 15.49 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.899e-05/0.8456, allocations: 11.91 kB / 1.024 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.448e-05/0.8457, allocations: 11.48 kB / 1.024 GB, free: 15.47 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.8457, allocations: 0 / 1.024 GB, free: 15.47 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.157e-06/0.8457, allocations: 4 kB / 1.024 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.8457, allocations: 0 / 1.024 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008342/0.8466, allocations: 371.7 kB / 1.025 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.8466, allocations: 48 / 1.025 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.018e-05/0.8467, allocations: 7.984 kB / 1.025 GB, free: 15.08 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.073e-06/0.8467, allocations: 8 kB / 1.025 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.273e-05/0.8467, allocations: 7.891 kB / 1.025 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.8467, allocations: 160 / 1.025 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.8467, allocations: 0 / 1.025 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004859/0.8472, allocations: 206.3 kB / 1.025 GB, free: 14.87 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.658e-05/0.8473, allocations: 81.02 kB / 1.025 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.048e-05/0.8474, allocations: 8.75 kB / 1.025 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001975/0.8476, allocations: 15.98 kB / 1.025 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.667e-05/0.8476, allocations: 11.83 kB / 1.025 GB, free: 14.74 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.922e-05/0.8477, allocations: 4 kB / 1.025 GB, free: 14.73 MB / 0.6511 GB Notification: Performance of sort global known variables: time 7.976e-05/0.8478, allocations: 98.08 kB / 1.025 GB, free: 14.64 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0005911/0.8484, allocations: 58.62 kB / 1.025 GB, free: 14.59 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.0005338/0.8489, allocations: 185 kB / 1.025 GB, free: 14.41 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002631/0.8492, allocations: 71.09 kB / 1.025 GB, free: 14.36 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.8492, allocations: 0 / 1.025 GB, free: 14.36 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001197/0.8493, allocations: 32.31 kB / 1.025 GB, free: 14.34 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002885/0.8496, allocations: 16.92 kB / 1.025 GB, free: 14.33 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004908/0.8501, allocations: 117.6 kB / 1.025 GB, free: 14.2 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003767/0.8505, allocations: 0.7104 MB / 1.026 GB, free: 13.47 MB / 0.6511 GB Notification: Performance of SimCode: time 8.62e-07/0.8506, allocations: 0 / 1.026 GB, free: 13.47 MB / 0.6511 GB Notification: Performance of Templates: time 0.007297/0.8579, allocations: 2.051 MB / 1.028 GB, free: 11.44 MB / 0.6511 GB