Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU,fileNamePrefix="Buildings_8_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingEU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU,fileNamePrefix="Buildings_8_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingEU",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 8.1.4-maint.8.1.x/package.mo): time 1.602/1.602, allocations: 289.8 MB / 297.1 MB, free: 6.703 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001426/0.001426, allocations: 193.2 kB / 366.3 MB, free: 2.008 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.639/1.639, allocations: 205.1 MB / 0.6256 GB, free: 5.84 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009549/0.0009548, allocations: 95.23 kB / 0.7395 GB, free: 39.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2844/0.2854, allocations: 122.4 MB / 0.8591 GB, free: 13.31 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7408/1.026, allocations: 116.3 MB / 0.9726 GB, free: 68.28 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.186/1.212, allocations: 140.2 MB / 1.11 GB, free: 8.32 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002695/1.213, allocations: 89.19 kB / 1.11 GB, free: 8.234 MB / 0.7136 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.00999/1.223, allocations: 3.042 MB / 1.113 GB, free: 5.16 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.638e-05/1.223, allocations: 16 kB / 1.113 GB, free: 5.145 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.405e-05/1.223, allocations: 8.469 kB / 1.113 GB, free: 5.137 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001651/1.223, allocations: 178.9 kB / 1.113 GB, free: 4.922 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.095e-05/1.223, allocations: 0.8438 kB / 1.113 GB, free: 4.922 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.458e-05/1.223, allocations: 8 kB / 1.113 GB, free: 4.914 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.397e-05/1.223, allocations: 20 kB / 1.113 GB, free: 4.895 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001332/1.223, allocations: 54.67 kB / 1.113 GB, free: 4.836 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/1.223, allocations: 0 / 1.113 GB, free: 4.836 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.085e-05/1.223, allocations: 4 kB / 1.113 GB, free: 4.832 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/1.223, allocations: 0 / 1.113 GB, free: 4.832 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006005/1.224, allocations: 289.2 kB / 1.113 GB, free: 4.512 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 9.251e-05/1.224, allocations: 38.58 kB / 1.113 GB, free: 4.465 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.488e-05/1.224, allocations: 25.92 kB / 1.113 GB, free: 4.438 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.939e-05/1.224, allocations: 4 kB / 1.113 GB, free: 4.434 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001082/1.224, allocations: 66.12 kB / 1.113 GB, free: 4.359 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.944e-06/1.224, allocations: 0 / 1.113 GB, free: 4.359 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0003277/1.225, allocations: 85.58 kB / 1.113 GB, free: 4.27 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.074e-05/1.225, allocations: 51.41 kB / 1.113 GB, free: 4.207 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.762e-05/1.225, allocations: 115.4 kB / 1.113 GB, free: 4.09 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.352e-05/1.225, allocations: 29.7 kB / 1.114 GB, free: 4.055 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.34e-05/1.225, allocations: 88.33 kB / 1.114 GB, free: 3.961 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.809e-05/1.225, allocations: 19.75 kB / 1.114 GB, free: 3.941 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.054e-06/1.225, allocations: 0.8438 kB / 1.114 GB, free: 3.941 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001265/1.225, allocations: 314.8 kB / 1.114 GB, free: 3.625 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.471e-05/1.225, allocations: 23.94 kB / 1.114 GB, free: 3.602 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.426e-05/1.225, allocations: 38.56 kB / 1.114 GB, free: 3.555 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.354e-05/1.225, allocations: 24 kB / 1.114 GB, free: 3.531 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/1.225, allocations: 3.984 kB / 1.114 GB, free: 3.527 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001836/1.225, allocations: 85.53 kB / 1.114 GB, free: 3.438 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/1.226, allocations: 4 kB / 1.114 GB, free: 3.434 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/1.226, allocations: 0 / 1.114 GB, free: 3.434 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.873e-05/1.226, allocations: 5.125 kB / 1.114 GB, free: 3.43 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001145/1.226, allocations: 12.86 kB / 1.114 GB, free: 3.418 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.183e-05/1.226, allocations: 3.938 kB / 1.114 GB, free: 3.414 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.242e-05/1.226, allocations: 15.97 kB / 1.114 GB, free: 3.398 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.986e-05/1.226, allocations: 7.984 kB / 1.114 GB, free: 3.391 MB / 0.7136 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 8.952e-05/1.226, allocations: 105 kB / 1.114 GB, free: 3.281 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.779e-05/1.226, allocations: 7.906 kB / 1.114 GB, free: 3.273 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.73e-05/1.226, allocations: 4.375 kB / 1.114 GB, free: 3.266 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/1.226, allocations: 4 kB / 1.114 GB, free: 3.262 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/1.226, allocations: 0.5 kB / 1.114 GB, free: 3.262 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/1.226, allocations: 4 kB / 1.114 GB, free: 3.258 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003348/1.226, allocations: 327 kB / 1.115 GB, free: 2.895 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/1.226, allocations: 4.844 kB / 1.115 GB, free: 2.891 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.685e-05/1.226, allocations: 4.5 kB / 1.115 GB, free: 2.887 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/1.226, allocations: 0 / 1.115 GB, free: 2.887 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.163e-05/1.226, allocations: 0 / 1.115 GB, free: 2.887 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.753e-06/1.226, allocations: 4.594 kB / 1.115 GB, free: 2.883 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/1.226, allocations: 0 / 1.115 GB, free: 2.883 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001901/1.227, allocations: 185.3 kB / 1.115 GB, free: 2.688 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002799/1.227, allocations: 0.5428 MB / 1.115 GB, free: 2.125 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.273e-05/1.227, allocations: 85 kB / 1.115 GB, free: 2.023 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.585e-05/1.227, allocations: 5.688 kB / 1.115 GB, free: 2.02 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001062/1.227, allocations: 12 kB / 1.115 GB, free: 2.008 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.073e-05/1.227, allocations: 3.984 kB / 1.115 GB, free: 2.004 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.447e-05/1.227, allocations: 11.94 kB / 1.115 GB, free: 1.992 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6.399e-05/1.227, allocations: 91.27 kB / 1.115 GB, free: 1.902 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001073/1.228, allocations: 51.84 kB / 1.116 GB, free: 1.852 MB / 0.7136 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.0005599/1.229, allocations: 172.6 kB / 1.116 GB, free: 1.695 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001765/1.229, allocations: 57.48 kB / 1.116 GB, free: 1.641 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/1.229, allocations: 0 / 1.116 GB, free: 1.641 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.008e-05/1.229, allocations: 24 kB / 1.116 GB, free: 1.617 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002317/1.229, allocations: 7.984 kB / 1.116 GB, free: 1.609 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003783/1.23, allocations: 103.7 kB / 1.116 GB, free: 1.484 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003635/1.23, allocations: 0.7037 MB / 1.117 GB, free: 0.7539 MB / 0.7136 GB Notification: Performance of SimCode: time 4.71e-07/1.23, allocations: 0 / 1.117 GB, free: 0.7539 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe ; mkfifo Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe >> ../files/Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingEU_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingEU.fmu > Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe 2>&1)