Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU,fileNamePrefix="Buildings_8_0_0_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingEU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU,fileNamePrefix="Buildings_8_0_0_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.0.0/package.mo): time 2.404/2.404, allocations: 284.8 MB / 292.1 MB, free: 10.75 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.001742/0.001742, allocations: 177.2 kB / 360.3 MB, free: 7.574 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.92/1.92, allocations: 205.1 MB / 0.6187 GB, free: 13.25 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.002296/0.002295, allocations: 91.95 kB / 0.7317 GB, free: 45.13 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2888/0.2912, allocations: 121.4 MB / 0.8502 GB, free: 3.961 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6387/0.9299, allocations: 115.2 MB / 0.9627 GB, free: 78.55 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2417/1.172, allocations: 139 MB / 1.099 GB, free: 1.848 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003122/1.172, allocations: 83.75 kB / 1.099 GB, free: 1.77 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.01999/1.192, allocations: 3.061 MB / 1.102 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.467e-05/1.192, allocations: 8.5 kB / 1.102 GB, free: 14.72 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.251e-05/1.192, allocations: 12.75 kB / 1.102 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001508/1.192, allocations: 167 kB / 1.102 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.395e-05/1.192, allocations: 5.938 kB / 1.102 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.605e-05/1.192, allocations: 3.984 kB / 1.102 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001151/1.193, allocations: 20.53 kB / 1.102 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001499/1.193, allocations: 62.7 kB / 1.102 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/1.193, allocations: 0.5 kB / 1.102 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.564e-05/1.193, allocations: 1.375 kB / 1.102 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/1.193, allocations: 0 / 1.102 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006094/1.193, allocations: 285 kB / 1.102 GB, free: 14.1 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001115/1.193, allocations: 38.56 kB / 1.102 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.608e-05/1.194, allocations: 25.89 kB / 1.102 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.536e-05/1.194, allocations: 0 / 1.102 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001356/1.194, allocations: 64.73 kB / 1.102 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.693e-06/1.194, allocations: 0 / 1.102 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0003237/1.194, allocations: 80 kB / 1.102 GB, free: 13.87 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.573e-05/1.194, allocations: 68.02 kB / 1.102 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001141/1.194, allocations: 105.5 kB / 1.102 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.682e-05/1.194, allocations: 29.7 kB / 1.103 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.818e-05/1.194, allocations: 92.81 kB / 1.103 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.097e-05/1.194, allocations: 15.75 kB / 1.103 GB, free: 13.53 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.174e-05/1.194, allocations: 0 / 1.103 GB, free: 13.53 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001338/1.195, allocations: 326.8 kB / 1.103 GB, free: 13.2 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.281e-05/1.195, allocations: 12 kB / 1.103 GB, free: 13.19 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.036e-05/1.195, allocations: 35.56 kB / 1.103 GB, free: 13.15 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001322/1.195, allocations: 23.98 kB / 1.103 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/1.195, allocations: 5.688 kB / 1.103 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002689/1.195, allocations: 90.41 kB / 1.103 GB, free: 13.03 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/1.195, allocations: 8.938 kB / 1.103 GB, free: 13.02 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/1.195, allocations: 0 / 1.103 GB, free: 13.02 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/1.195, allocations: 0 / 1.103 GB, free: 13.02 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001869/1.196, allocations: 21.61 kB / 1.103 GB, free: 13 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.64e-06/1.196, allocations: 0 / 1.103 GB, free: 13 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001193/1.196, allocations: 11.97 kB / 1.103 GB, free: 12.99 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.523e-05/1.196, allocations: 8 kB / 1.103 GB, free: 12.98 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 0.0001112/1.196, allocations: 112.8 kB / 1.103 GB, free: 12.86 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.446e-05/1.196, allocations: 7.906 kB / 1.103 GB, free: 12.86 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.678e-05/1.196, allocations: 8.375 kB / 1.103 GB, free: 12.85 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/1.196, allocations: 0 / 1.103 GB, free: 12.85 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/1.196, allocations: 0 / 1.103 GB, free: 12.85 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.633e-06/1.196, allocations: 0.6094 kB / 1.103 GB, free: 12.85 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000549/1.197, allocations: 330.6 kB / 1.104 GB, free: 12.48 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/1.197, allocations: 0 / 1.104 GB, free: 12.48 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.022e-05/1.197, allocations: 7.984 kB / 1.104 GB, free: 12.48 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/1.197, allocations: 0.6562 kB / 1.104 GB, free: 12.48 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.852e-05/1.197, allocations: 5.375 kB / 1.104 GB, free: 12.47 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.978e-06/1.197, allocations: 3.906 kB / 1.104 GB, free: 12.47 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/1.197, allocations: 0 / 1.104 GB, free: 12.47 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002677/1.197, allocations: 175.4 kB / 1.104 GB, free: 12.28 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004011/1.197, allocations: 0.5505 MB / 1.104 GB, free: 11.71 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.058e-05/1.197, allocations: 85.02 kB / 1.104 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.842e-05/1.197, allocations: 0.6562 kB / 1.104 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001582/1.198, allocations: 7.984 kB / 1.104 GB, free: 11.6 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.454e-05/1.198, allocations: 15.94 kB / 1.104 GB, free: 11.59 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.476e-05/1.198, allocations: 3.984 kB / 1.104 GB, free: 11.58 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6.319e-05/1.198, allocations: 89.47 kB / 1.104 GB, free: 11.5 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001286/1.199, allocations: 59.83 kB / 1.105 GB, free: 11.44 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.000438/1.2, allocations: 163.2 kB / 1.105 GB, free: 11.29 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002153/1.2, allocations: 52.67 kB / 1.105 GB, free: 11.23 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/1.2, allocations: 0 / 1.105 GB, free: 11.23 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 9.304e-05/1.2, allocations: 27.94 kB / 1.105 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002438/1.2, allocations: 8.688 kB / 1.105 GB, free: 11.2 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004231/1.201, allocations: 93.83 kB / 1.105 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003499/1.201, allocations: 0.7114 MB / 1.106 GB, free: 10.35 MB / 0.7136 GB Notification: Performance of SimCode: time 9.92e-07/1.201, allocations: 4 kB / 1.106 GB, free: 10.35 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingEU_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingEU.fmu > Buildings_8.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe 2>&1)