Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.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.Nicol2001HeatingUK,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK") [: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 1.997/1.997, 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.00175/0.00175, allocations: 189.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.859/1.859, allocations: 205.4 MB / 0.5704 GB, free: 15.04 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.001337/0.001336, allocations: 91.33 kB / 0.6746 GB, free: 4.398 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.965e-06/8.135e-06, allocations: 0 / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.192/0.192, allocations: 106.2 MB / 0.888 GB, free: 12.19 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6992/0.8913, allocations: 133.7 MB / 1.019 GB, free: 4.668 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003094/0.8917, allocations: 83.08 kB / 1.019 GB, free: 4.625 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.01416/0.9058, allocations: 2.648 MB / 1.021 GB, free: 2.422 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.526e-06/0.9059, allocations: 0 / 1.021 GB, free: 2.422 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.0007051/0.9066, allocations: 417.5 kB / 1.022 GB, free: 1.973 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.125e-05/0.9067, allocations: 8.031 kB / 1.022 GB, free: 1.965 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.345e-05/0.9067, allocations: 15.84 kB / 1.022 GB, free: 1.949 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001555/0.9069, allocations: 167 kB / 1.022 GB, free: 1.746 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.971e-05/0.9069, allocations: 0 / 1.022 GB, free: 1.746 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.273e-05/0.907, allocations: 7.984 kB / 1.022 GB, free: 1.738 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001246/0.9071, allocations: 22.94 kB / 1.022 GB, free: 1.723 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001489/0.9073, allocations: 56.92 kB / 1.022 GB, free: 1.672 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.9073, allocations: 0 / 1.022 GB, free: 1.672 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.541e-05/0.9073, allocations: 4 kB / 1.022 GB, free: 1.668 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.664e-06/0.9073, allocations: 3.906 kB / 1.022 GB, free: 1.664 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006039/0.908, allocations: 278.2 kB / 1.022 GB, free: 1.375 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001195/0.9081, allocations: 45.41 kB / 1.022 GB, free: 1.328 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001011/0.9082, allocations: 23.86 kB / 1.022 GB, free: 1.309 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.261e-05/0.9083, allocations: 4 kB / 1.022 GB, free: 1.305 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001728/0.9084, allocations: 68.95 kB / 1.022 GB, free: 1.234 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 2.815e-06/0.9085, allocations: 0 / 1.022 GB, free: 1.234 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0003223/0.9088, allocations: 79.08 kB / 1.022 GB, free: 1.164 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.483e-05/0.9089, allocations: 55.39 kB / 1.022 GB, free: 1.098 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001142/0.909, allocations: 109.9 kB / 1.023 GB, free: 0.9922 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.903e-05/0.909, allocations: 29.7 kB / 1.023 GB, free: 0.957 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.382e-05/0.9091, allocations: 87.88 kB / 1.023 GB, free: 0.8672 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.132e-05/0.9092, allocations: 23.25 kB / 1.023 GB, free: 0.8477 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.067e-06/0.9092, allocations: 0 / 1.023 GB, free: 0.8477 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001491/0.9093, allocations: 318.4 kB / 1.023 GB, free: 0.5312 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.927e-05/0.9094, allocations: 19.5 kB / 1.023 GB, free: 0.5156 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.79e-05/0.9095, allocations: 41.2 kB / 1.023 GB, free: 488 kB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000106/0.9096, allocations: 26.91 kB / 1.023 GB, free: 468 kB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.9097, allocations: 4 kB / 1.023 GB, free: 464 kB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002681/0.9099, allocations: 96.03 kB / 1.023 GB, free: 376 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.91, allocations: 6.188 kB / 1.023 GB, free: 372 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.91, allocations: 0 / 1.023 GB, free: 372 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.91, allocations: 7.984 kB / 1.023 GB, free: 364 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001762/0.9102, allocations: 11.98 kB / 1.023 GB, free: 352 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.788e-06/0.9102, allocations: 4 kB / 1.023 GB, free: 348 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001253/0.9104, allocations: 8.062 kB / 1.023 GB, free: 340 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.899e-05/0.9104, allocations: 4 kB / 1.023 GB, free: 336 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.0001066/0.9105, allocations: 111.2 kB / 1.023 GB, free: 220 kB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.636e-05/0.9105, allocations: 11.89 kB / 1.023 GB, free: 208 kB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.243e-05/0.9106, allocations: 8 kB / 1.023 GB, free: 200 kB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.9106, allocations: 7.938 kB / 1.023 GB, free: 192 kB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.772e-06/0.9106, allocations: 2.938 kB / 1.023 GB, free: 192 kB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.9106, allocations: 0 / 1.023 GB, free: 192 kB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005777/0.9112, allocations: 323.2 kB / 1.024 GB, free: 15.85 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.9112, allocations: 0 / 1.024 GB, free: 15.85 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8e-05/0.9113, allocations: 7.984 kB / 1.024 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.9113, allocations: 0 / 1.024 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.688e-05/0.9114, allocations: 2.625 kB / 1.024 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.005e-06/0.9114, allocations: 3.938 kB / 1.024 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.9114, allocations: 0 / 1.024 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003535/0.9118, allocations: 177 kB / 1.024 GB, free: 15.66 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.846e-05/0.9118, allocations: 81.02 kB / 1.024 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.267e-05/0.9119, allocations: 4 kB / 1.024 GB, free: 15.56 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001869/0.9121, allocations: 7.984 kB / 1.024 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.833e-05/0.9121, allocations: 2.812 kB / 1.024 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.838e-05/0.9122, allocations: 7.984 kB / 1.024 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of sort global known variables: time 7.903e-05/0.9123, allocations: 95.72 kB / 1.024 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004839/0.9127, allocations: 50.98 kB / 1.024 GB, free: 15.41 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.0004813/0.9132, allocations: 165.2 kB / 1.024 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002083/0.9135, allocations: 46.38 kB / 1.024 GB, free: 15.22 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.9135, allocations: 0 / 1.024 GB, free: 15.22 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 9.485e-05/0.9136, allocations: 35.08 kB / 1.024 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002468/0.9138, allocations: 10.69 kB / 1.024 GB, free: 15.19 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004211/0.9143, allocations: 102.2 kB / 1.024 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000369/0.9147, allocations: 0.7052 MB / 1.025 GB, free: 14.35 MB / 0.6511 GB Notification: Performance of SimCode: time 6.71e-07/0.9147, allocations: 0 / 1.025 GB, free: 14.35 MB / 0.6511 GB Notification: Performance of Templates: time 0.006154/0.9208, allocations: 1.635 MB / 1.027 GB, free: 12.72 MB / 0.6511 GB