Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.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.Nicol2001HeatingEU,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingEU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.251/1.251, allocations: 249.4 MB / 256.7 MB, free: 7.074 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.001028/0.001028, allocations: 189.2 kB / 316 MB, free: 3.57 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.212/1.212, allocations: 205.2 MB / 0.5667 GB, free: 15.7 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.0008129/0.0008131, allocations: 98.2 kB / 0.671 GB, free: 4.832 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3369/0.3378, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1679/0.5057, allocations: 106.3 MB / 0.8847 GB, free: 12.6 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5207/1.027, allocations: 134 MB / 1.015 GB, free: 4.684 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00025/1.027, allocations: 78.58 kB / 1.016 GB, free: 4.641 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.009396/1.036, allocations: 3.059 MB / 1.019 GB, free: 1.996 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/1.036, allocations: 8 kB / 1.019 GB, free: 1.988 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.027e-05/1.036, allocations: 7.906 kB / 1.019 GB, free: 1.98 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000128/1.036, allocations: 172.8 kB / 1.019 GB, free: 1.773 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.86e-05/1.036, allocations: 7.938 kB / 1.019 GB, free: 1.766 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.795e-05/1.037, allocations: 4 kB / 1.019 GB, free: 1.762 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.379e-05/1.037, allocations: 22.73 kB / 1.019 GB, free: 1.746 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001024/1.037, allocations: 56.98 kB / 1.019 GB, free: 1.691 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/1.037, allocations: 0 / 1.019 GB, free: 1.691 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.616e-05/1.037, allocations: 7.219 kB / 1.019 GB, free: 1.688 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/1.037, allocations: 0.875 kB / 1.019 GB, free: 1.688 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004347/1.037, allocations: 286.6 kB / 1.019 GB, free: 1.387 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.266e-05/1.037, allocations: 37.64 kB / 1.019 GB, free: 1.352 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.79e-05/1.037, allocations: 27.53 kB / 1.019 GB, free: 1.328 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.008e-05/1.037, allocations: 0 / 1.019 GB, free: 1.328 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.117e-05/1.037, allocations: 70.39 kB / 1.019 GB, free: 1.258 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.192e-06/1.038, allocations: 0 / 1.019 GB, free: 1.258 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0002154/1.038, allocations: 76.09 kB / 1.019 GB, free: 1.188 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.362e-05/1.038, allocations: 59.09 kB / 1.019 GB, free: 1.121 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.543e-05/1.038, allocations: 112.1 kB / 1.019 GB, free: 1.012 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.883e-05/1.038, allocations: 25.7 kB / 1.019 GB, free: 0.9805 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.849e-05/1.038, allocations: 84.31 kB / 1.02 GB, free: 0.8906 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.104e-05/1.038, allocations: 19.31 kB / 1.02 GB, free: 0.875 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.031e-06/1.038, allocations: 0 / 1.02 GB, free: 0.875 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001253/1.038, allocations: 330.1 kB / 1.02 GB, free: 0.5469 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.591e-05/1.038, allocations: 14.56 kB / 1.02 GB, free: 0.5391 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.13e-05/1.038, allocations: 33.47 kB / 1.02 GB, free: 0.5039 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.918e-05/1.038, allocations: 33.34 kB / 1.02 GB, free: 488 kB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/1.038, allocations: 0 / 1.02 GB, free: 488 kB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001602/1.038, allocations: 87.95 kB / 1.02 GB, free: 404 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.175e-05/1.038, allocations: 12.06 kB / 1.02 GB, free: 392 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/1.038, allocations: 0 / 1.02 GB, free: 392 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.107e-05/1.039, allocations: 3.938 kB / 1.02 GB, free: 388 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001054/1.039, allocations: 22.86 kB / 1.02 GB, free: 372 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.541e-06/1.039, allocations: 0 / 1.02 GB, free: 372 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.614e-05/1.039, allocations: 7.938 kB / 1.02 GB, free: 364 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.312e-05/1.039, allocations: 4 kB / 1.02 GB, free: 360 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.58e-05/1.039, allocations: 112.9 kB / 1.02 GB, free: 240 kB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.479e-05/1.039, allocations: 3.906 kB / 1.02 GB, free: 236 kB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.856e-05/1.039, allocations: 15.61 kB / 1.02 GB, free: 220 kB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/1.039, allocations: 0 / 1.02 GB, free: 220 kB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/1.039, allocations: 0 / 1.02 GB, free: 220 kB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/1.039, allocations: 3.938 kB / 1.02 GB, free: 216 kB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002922/1.039, allocations: 325 kB / 1.021 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/1.039, allocations: 0 / 1.021 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.374e-05/1.039, allocations: 8 kB / 1.021 GB, free: 15.87 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/1.039, allocations: 3.984 kB / 1.021 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.891e-05/1.039, allocations: 4 kB / 1.021 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/1.039, allocations: 0 / 1.021 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/1.039, allocations: 0 / 1.021 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001735/1.039, allocations: 169.8 kB / 1.021 GB, free: 15.69 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003371/1.04, allocations: 0.5535 MB / 1.021 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.107e-05/1.04, allocations: 85.09 kB / 1.021 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.634e-05/1.04, allocations: 3.906 kB / 1.021 GB, free: 15.03 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.671e-05/1.04, allocations: 7.984 kB / 1.021 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.293e-05/1.04, allocations: 4 kB / 1.021 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.044e-05/1.04, allocations: 3.984 kB / 1.021 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.967e-05/1.04, allocations: 98.69 kB / 1.021 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0009728/1.041, allocations: 59.16 kB / 1.021 GB, free: 14.87 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.0003041/1.041, allocations: 164.3 kB / 1.022 GB, free: 14.72 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001229/1.042, allocations: 57.55 kB / 1.022 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/1.042, allocations: 128 / 1.022 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 5.394e-05/1.042, allocations: 31.2 kB / 1.022 GB, free: 14.65 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001667/1.042, allocations: 3.344 kB / 1.022 GB, free: 14.65 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002859/1.042, allocations: 109.6 kB / 1.022 GB, free: 14.53 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002337/1.042, allocations: 0.6997 MB / 1.023 GB, free: 13.8 MB / 0.6511 GB Notification: Performance of SimCode: time 2.4e-07/1.042, allocations: 4 kB / 1.023 GB, free: 13.8 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingEU_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingEU.fmu > Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe 2>&1)