Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingUK",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingUK",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.3-maint.7.0.x/package.mo): time 1.247/1.247, allocations: 249.4 MB / 256.7 MB, free: 7.07 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.001057/0.001057, allocations: 181.2 kB / 316 MB, free: 3.531 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.221/1.221, allocations: 205.2 MB / 0.5667 GB, free: 15.67 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009442/0.0009442, allocations: 94.45 kB / 0.671 GB, free: 4.812 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3568/0.3577, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1774/0.5352, allocations: 106.3 MB / 0.8847 GB, free: 12.55 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5235/1.059, allocations: 133.9 MB / 1.015 GB, free: 4.59 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001944/1.059, allocations: 81.62 kB / 1.016 GB, free: 4.543 MB / 0.6355 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.008904/1.068, allocations: 3.055 MB / 1.019 GB, free: 1.902 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.456e-05/1.068, allocations: 12 kB / 1.019 GB, free: 1.891 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.375e-05/1.068, allocations: 3.906 kB / 1.019 GB, free: 1.887 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.882e-05/1.068, allocations: 178.1 kB / 1.019 GB, free: 1.676 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.461e-05/1.068, allocations: 11.92 kB / 1.019 GB, free: 1.664 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.592e-05/1.068, allocations: 8 kB / 1.019 GB, free: 1.656 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.165e-05/1.068, allocations: 20.22 kB / 1.019 GB, free: 1.645 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.414e-05/1.068, allocations: 54.92 kB / 1.019 GB, free: 1.594 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.312e-06/1.068, allocations: 0 / 1.019 GB, free: 1.594 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.335e-05/1.068, allocations: 3.906 kB / 1.019 GB, free: 1.59 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/1.068, allocations: 4 kB / 1.019 GB, free: 1.586 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003738/1.069, allocations: 279.6 kB / 1.019 GB, free: 1.293 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.53e-05/1.069, allocations: 48.75 kB / 1.019 GB, free: 1.246 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.071e-05/1.069, allocations: 19.73 kB / 1.019 GB, free: 1.23 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.721e-05/1.069, allocations: 0 / 1.019 GB, free: 1.23 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.202e-05/1.069, allocations: 73.45 kB / 1.019 GB, free: 1.156 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.222e-06/1.069, allocations: 0 / 1.019 GB, free: 1.156 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0001955/1.069, allocations: 79.03 kB / 1.019 GB, free: 1.086 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.658e-05/1.069, allocations: 55.39 kB / 1.019 GB, free: 1.02 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001053/1.069, allocations: 109.9 kB / 1.019 GB, free: 0.9141 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.653e-05/1.069, allocations: 29.69 kB / 1.019 GB, free: 0.8789 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.308e-05/1.069, allocations: 91.02 kB / 1.02 GB, free: 0.7852 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.942e-05/1.069, allocations: 23.56 kB / 1.02 GB, free: 0.7656 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.691e-06/1.069, allocations: 0 / 1.02 GB, free: 0.7656 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.309e-05/1.07, allocations: 325.7 kB / 1.02 GB, free: 452 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.587e-05/1.07, allocations: 18.62 kB / 1.02 GB, free: 440 kB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.569e-05/1.07, allocations: 36.88 kB / 1.02 GB, free: 400 kB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.467e-05/1.07, allocations: 18.5 kB / 1.02 GB, free: 388 kB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/1.07, allocations: 0 / 1.02 GB, free: 388 kB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001493/1.07, allocations: 91.52 kB / 1.02 GB, free: 304 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 9.007e-06/1.07, allocations: 8.062 kB / 1.02 GB, free: 296 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/1.07, allocations: 0 / 1.02 GB, free: 296 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.065e-05/1.07, allocations: 7.938 kB / 1.02 GB, free: 288 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.67e-05/1.07, allocations: 11.98 kB / 1.02 GB, free: 276 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.767e-06/1.07, allocations: 0 / 1.02 GB, free: 276 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.807e-05/1.07, allocations: 8 kB / 1.02 GB, free: 268 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.114e-05/1.07, allocations: 0 / 1.02 GB, free: 268 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 6.994e-05/1.07, allocations: 124.8 kB / 1.02 GB, free: 140 kB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.491e-05/1.07, allocations: 7.906 kB / 1.02 GB, free: 132 kB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.673e-05/1.07, allocations: 7.5 kB / 1.02 GB, free: 124 kB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/1.07, allocations: 4 kB / 1.02 GB, free: 120 kB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/1.07, allocations: 0 / 1.02 GB, free: 120 kB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/1.07, allocations: 0 / 1.02 GB, free: 120 kB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002815/1.071, allocations: 314.2 kB / 1.021 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/1.071, allocations: 0 / 1.021 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.911e-05/1.071, allocations: 19.92 kB / 1.021 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.694e-06/1.071, allocations: 0 / 1.021 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.478e-06/1.071, allocations: 0 / 1.021 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/1.071, allocations: 240 / 1.021 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/1.071, allocations: 0 / 1.021 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001649/1.071, allocations: 182 kB / 1.021 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002377/1.071, allocations: 0.5509 MB / 1.021 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 3.121e-05/1.071, allocations: 77.11 kB / 1.021 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.485e-05/1.071, allocations: 11.83 kB / 1.021 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.543e-05/1.071, allocations: 4 kB / 1.021 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.484e-05/1.071, allocations: 11.48 kB / 1.021 GB, free: 14.92 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.397e-06/1.071, allocations: 4 kB / 1.021 GB, free: 14.92 MB / 0.6511 GB Notification: Performance of sort global known variables: time 3.471e-05/1.071, allocations: 86.41 kB / 1.021 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0008441/1.072, allocations: 66.73 kB / 1.021 GB, free: 14.78 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.0003367/1.072, allocations: 171 kB / 1.022 GB, free: 14.62 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001329/1.073, allocations: 52.98 kB / 1.022 GB, free: 14.58 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/1.073, allocations: 3.938 kB / 1.022 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 5.988e-05/1.073, allocations: 31 kB / 1.022 GB, free: 14.55 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001791/1.073, allocations: 4 kB / 1.022 GB, free: 14.55 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003169/1.073, allocations: 102.1 kB / 1.022 GB, free: 14.44 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003249/1.074, allocations: 0.7074 MB / 1.023 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of SimCode: time 2.3e-07/1.074, allocations: 0 / 1.023 GB, free: 13.7 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingUK_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingUK.fmu > Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe 2>&1)