Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.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.Nicol2001HeatingUK,fileNamePrefix="Buildings_8_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingUK",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK,fileNamePrefix="Buildings_8_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 8.1.4-maint.8.1.x/package.mo): time 1.613/1.613, allocations: 289.8 MB / 297.1 MB, free: 6.699 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.001094/0.001094, allocations: 181.2 kB / 366.3 MB, free: 1.988 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.633/1.633, allocations: 205.1 MB / 0.6256 GB, free: 5.836 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.0009243/0.0009241, allocations: 90.28 kB / 0.7396 GB, free: 39.67 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2908/0.2918, allocations: 122.4 MB / 0.8591 GB, free: 13.29 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6771/0.9689, allocations: 116.3 MB / 0.9727 GB, free: 68.49 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1879/1.157, allocations: 140.2 MB / 1.11 GB, free: 8.297 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003167/1.157, allocations: 85.34 kB / 1.11 GB, free: 8.215 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.009995/1.167, allocations: 3.053 MB / 1.113 GB, free: 5.125 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.579e-05/1.167, allocations: 12 kB / 1.113 GB, free: 5.113 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.796e-05/1.167, allocations: 7.906 kB / 1.113 GB, free: 5.105 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001698/1.168, allocations: 171 kB / 1.113 GB, free: 4.898 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.91e-05/1.168, allocations: 0 / 1.113 GB, free: 4.898 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.348e-05/1.168, allocations: 4 kB / 1.113 GB, free: 4.895 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.06e-05/1.168, allocations: 20 kB / 1.113 GB, free: 4.875 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001127/1.168, allocations: 65.59 kB / 1.113 GB, free: 4.805 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/1.168, allocations: 0 / 1.113 GB, free: 4.805 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.652e-05/1.168, allocations: 4 kB / 1.113 GB, free: 4.801 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/1.168, allocations: 0 / 1.113 GB, free: 4.801 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004853/1.168, allocations: 278.2 kB / 1.113 GB, free: 4.492 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.775e-05/1.169, allocations: 38.58 kB / 1.113 GB, free: 4.445 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.886e-05/1.169, allocations: 24.97 kB / 1.113 GB, free: 4.418 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.697e-05/1.169, allocations: 4 kB / 1.113 GB, free: 4.414 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.617e-05/1.169, allocations: 67.34 kB / 1.113 GB, free: 4.336 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.623e-06/1.169, allocations: 0 / 1.113 GB, free: 4.336 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0002576/1.169, allocations: 85.64 kB / 1.113 GB, free: 4.246 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.714e-05/1.169, allocations: 51.41 kB / 1.113 GB, free: 4.184 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.103e-05/1.169, allocations: 112.9 kB / 1.113 GB, free: 4.066 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.767e-05/1.169, allocations: 26.45 kB / 1.114 GB, free: 4.035 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.668e-05/1.169, allocations: 88.33 kB / 1.114 GB, free: 3.941 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.677e-05/1.169, allocations: 19.73 kB / 1.114 GB, free: 3.922 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.961e-06/1.169, allocations: 3.938 kB / 1.114 GB, free: 3.918 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001241/1.169, allocations: 314.8 kB / 1.114 GB, free: 3.602 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.196e-05/1.169, allocations: 23.98 kB / 1.114 GB, free: 3.578 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.404e-05/1.17, allocations: 43.72 kB / 1.114 GB, free: 3.527 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.227e-05/1.17, allocations: 23.03 kB / 1.114 GB, free: 3.508 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/1.17, allocations: 1.688 kB / 1.114 GB, free: 3.508 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001684/1.17, allocations: 93.52 kB / 1.114 GB, free: 3.41 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/1.17, allocations: 4 kB / 1.114 GB, free: 3.406 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/1.17, allocations: 0 / 1.114 GB, free: 3.406 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/1.17, allocations: 8.062 kB / 1.114 GB, free: 3.398 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001107/1.17, allocations: 12 kB / 1.114 GB, free: 3.387 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.376e-06/1.17, allocations: 0 / 1.114 GB, free: 3.387 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.534e-05/1.17, allocations: 15.89 kB / 1.114 GB, free: 3.371 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.366e-05/1.17, allocations: 0 / 1.114 GB, free: 3.371 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 9.44e-05/1.17, allocations: 107.7 kB / 1.114 GB, free: 3.262 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.593e-05/1.17, allocations: 11.91 kB / 1.114 GB, free: 3.25 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.782e-05/1.17, allocations: 12.36 kB / 1.114 GB, free: 3.234 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/1.17, allocations: 7.938 kB / 1.114 GB, free: 3.227 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/1.17, allocations: 0 / 1.114 GB, free: 3.227 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/1.17, allocations: 0 / 1.114 GB, free: 3.227 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003439/1.171, allocations: 315 kB / 1.115 GB, free: 2.875 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/1.171, allocations: 4 kB / 1.115 GB, free: 2.871 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.169e-05/1.171, allocations: 4 kB / 1.115 GB, free: 2.867 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/1.171, allocations: 4.75 kB / 1.115 GB, free: 2.863 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.269e-05/1.171, allocations: 3.984 kB / 1.115 GB, free: 2.859 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.965e-06/1.171, allocations: 3.906 kB / 1.115 GB, free: 2.855 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/1.171, allocations: 0 / 1.115 GB, free: 2.855 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001976/1.171, allocations: 187.3 kB / 1.115 GB, free: 2.656 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004456/1.171, allocations: 0.5481 MB / 1.115 GB, free: 2.09 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.909e-05/1.171, allocations: 81.02 kB / 1.115 GB, free: 1.992 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.768e-05/1.171, allocations: 0 / 1.115 GB, free: 1.992 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001063/1.172, allocations: 16.58 kB / 1.115 GB, free: 1.977 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.407e-05/1.172, allocations: 0 / 1.115 GB, free: 1.977 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.085e-05/1.172, allocations: 4 kB / 1.115 GB, free: 1.973 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6.381e-05/1.172, allocations: 92.47 kB / 1.115 GB, free: 1.883 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0008639/1.173, allocations: 55.84 kB / 1.116 GB, free: 1.828 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.000397/1.173, allocations: 172.7 kB / 1.116 GB, free: 1.668 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000144/1.173, allocations: 48 kB / 1.116 GB, free: 1.621 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/1.173, allocations: 0 / 1.116 GB, free: 1.621 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.907e-05/1.173, allocations: 31.92 kB / 1.116 GB, free: 1.59 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002047/1.173, allocations: 8.125 kB / 1.116 GB, free: 1.582 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003306/1.174, allocations: 102.7 kB / 1.116 GB, free: 1.461 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002855/1.174, allocations: 0.6997 MB / 1.117 GB, free: 0.7344 MB / 0.7136 GB Notification: Performance of SimCode: time 2.4e-07/1.174, allocations: 0 / 1.117 GB, free: 0.7344 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe ; mkfifo Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe >> ../files/Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingUK_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingUK.fmu > Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe 2>&1)