Running: ./testmodel.py --libraries=/var/lib/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 (/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.Heating.Validation.Nicol2001HeatingEU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU") [: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.195/2.195, allocations: 253.1 MB / 260.4 MB, free: 7.492 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.0017/0.001699, allocations: 181.2 kB / 319.6 MB, free: 3.301 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.957/1.957, allocations: 205.4 MB / 0.5704 GB, free: 15.05 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.001317/0.001317, allocations: 83.39 kB / 0.6746 GB, free: 4.418 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.1e-05/1.116e-05, allocations: 0 / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2023/0.2023, allocations: 106.3 MB / 0.888 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6614/0.8638, allocations: 133.7 MB / 1.019 GB, free: 4.547 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.008714/0.8725, allocations: 85.55 kB / 1.019 GB, free: 4.496 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.02536/0.8979, allocations: 2.641 MB / 1.021 GB, free: 2.301 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.145e-05/0.898, allocations: 0 / 1.021 GB, free: 2.301 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001001/0.899, allocations: 417.7 kB / 1.022 GB, free: 1.852 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 7.169e-05/0.8991, allocations: 8.031 kB / 1.022 GB, free: 1.844 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.584e-05/0.8992, allocations: 11.84 kB / 1.022 GB, free: 1.832 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002424/0.8995, allocations: 171 kB / 1.022 GB, free: 1.625 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.426e-05/0.8996, allocations: 0 / 1.022 GB, free: 1.625 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.747e-05/0.8996, allocations: 4 kB / 1.022 GB, free: 1.621 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002461/0.8999, allocations: 25.56 kB / 1.022 GB, free: 1.605 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003105/0.9002, allocations: 69.95 kB / 1.022 GB, free: 1.539 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.431e-05/0.9003, allocations: 0 / 1.022 GB, free: 1.539 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.581e-05/0.9003, allocations: 0 / 1.022 GB, free: 1.539 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.705e-05/0.9003, allocations: 3.906 kB / 1.022 GB, free: 1.535 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009748/0.9013, allocations: 277.8 kB / 1.022 GB, free: 1.246 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001606/0.9015, allocations: 41.05 kB / 1.022 GB, free: 1.203 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001117/0.9016, allocations: 29.8 kB / 1.022 GB, free: 1.18 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.304e-05/0.9017, allocations: 0 / 1.022 GB, free: 1.18 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002128/0.9019, allocations: 65.14 kB / 1.022 GB, free: 1.113 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 3.106e-06/0.9019, allocations: 0 / 1.022 GB, free: 1.113 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0005453/0.9025, allocations: 83.88 kB / 1.022 GB, free: 1.039 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.773e-05/0.9026, allocations: 63.47 kB / 1.023 GB, free: 0.9648 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001952/0.9028, allocations: 112.7 kB / 1.023 GB, free: 0.8555 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.189e-05/0.9029, allocations: 25.7 kB / 1.023 GB, free: 0.8242 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.743e-05/0.903, allocations: 80.33 kB / 1.023 GB, free: 0.7383 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.255e-05/0.9031, allocations: 19.38 kB / 1.023 GB, free: 0.7227 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.598e-05/0.9031, allocations: 0 / 1.023 GB, free: 0.7227 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002262/0.9033, allocations: 322.3 kB / 1.023 GB, free: 412 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001165/0.9035, allocations: 13.75 kB / 1.023 GB, free: 404 kB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001593/0.9037, allocations: 55.22 kB / 1.023 GB, free: 352 kB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001934/0.9039, allocations: 19.41 kB / 1.023 GB, free: 336 kB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.065e-06/0.9039, allocations: 3.984 kB / 1.023 GB, free: 332 kB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005007/0.9044, allocations: 88 kB / 1.023 GB, free: 252 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.63e-05/0.9045, allocations: 6.812 kB / 1.023 GB, free: 248 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.057e-05/0.9045, allocations: 4 kB / 1.023 GB, free: 244 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.28e-05/0.9045, allocations: 0 / 1.023 GB, free: 244 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003013/0.9049, allocations: 19.48 kB / 1.023 GB, free: 228 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.185e-05/0.9049, allocations: 4 kB / 1.023 GB, free: 224 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001606/0.9051, allocations: 4 kB / 1.023 GB, free: 220 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.825e-05/0.9051, allocations: 11.86 kB / 1.023 GB, free: 212 kB / 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.0001461/0.9053, allocations: 112.8 kB / 1.023 GB, free: 92 kB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.412e-05/0.9053, allocations: 3.906 kB / 1.023 GB, free: 88 kB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.569e-05/0.9054, allocations: 15.56 kB / 1.023 GB, free: 72 kB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.501e-06/0.9054, allocations: 3.938 kB / 1.023 GB, free: 68 kB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.702e-06/0.9054, allocations: 0 / 1.023 GB, free: 68 kB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.9055, allocations: 0 / 1.023 GB, free: 68 kB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008658/0.9063, allocations: 323.6 kB / 1.024 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.9064, allocations: 0 / 1.024 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001227/0.9065, allocations: 4 kB / 1.024 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.472e-06/0.9066, allocations: 0 / 1.024 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.389e-05/0.9066, allocations: 4 kB / 1.024 GB, free: 15.72 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.887e-06/0.9066, allocations: 4 kB / 1.024 GB, free: 15.72 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/0.9066, allocations: 3.938 kB / 1.024 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004929/0.9072, allocations: 172.1 kB / 1.024 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 7.86e-05/0.9073, allocations: 89 kB / 1.024 GB, free: 15.44 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.99e-05/0.9073, allocations: 0 / 1.024 GB, free: 15.44 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000249/0.9076, allocations: 4 kB / 1.024 GB, free: 15.44 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.552e-05/0.9077, allocations: 7.984 kB / 1.024 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.876e-05/0.9077, allocations: 4 kB / 1.024 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of sort global known variables: time 9.624e-05/0.9078, allocations: 93.56 kB / 1.024 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001227/0.9091, allocations: 47.86 kB / 1.024 GB, free: 15.29 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: 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.0007172/0.9098, allocations: 175.2 kB / 1.024 GB, free: 15.13 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003183/0.9101, allocations: 57.34 kB / 1.024 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.9102, allocations: 0 / 1.024 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001346/0.9103, allocations: 30.03 kB / 1.024 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003953/0.9107, allocations: 4 kB / 1.024 GB, free: 15.06 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006027/0.9114, allocations: 101.5 kB / 1.024 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005457/0.9119, allocations: 0.7037 MB / 1.025 GB, free: 14.22 MB / 0.6511 GB Notification: Performance of SimCode: time 1.433e-06/0.912, allocations: 4 kB / 1.025 GB, free: 14.22 MB / 0.6511 GB Notification: Performance of Templates: time 0.009543/0.9215, allocations: 1.637 MB / 1.027 GB, free: 12.6 MB / 0.6511 GB