Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.382/1.382, allocations: 285.5 MB / 292.8 MB, free: 10.45 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.001099/0.001099, allocations: 189.2 kB / 361.1 MB, free: 7.105 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.188/1.188, allocations: 205.1 MB / 0.6195 GB, free: 10.31 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.0009054/0.0009057, allocations: 90.31 kB / 0.7325 GB, free: 44.23 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2216/0.2225, allocations: 121.5 MB / 0.8512 GB, free: 2.871 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5448/0.7674, allocations: 115.3 MB / 0.9638 GB, free: 78.03 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1594/0.9269, allocations: 139.2 MB / 1.1 GB, free: 0.7969 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002802/0.9272, allocations: 81.12 kB / 1.1 GB, free: 0.7188 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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.009255/0.9365, allocations: 3.056 MB / 1.103 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.704e-05/0.9366, allocations: 8 kB / 1.103 GB, free: 13.67 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.44e-05/0.9367, allocations: 10.03 kB / 1.103 GB, free: 13.66 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002525/0.9369, allocations: 170.9 kB / 1.103 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.003e-05/0.937, allocations: 8.672 kB / 1.103 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.744e-05/0.937, allocations: 8 kB / 1.103 GB, free: 13.44 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.887e-05/0.9371, allocations: 20.53 kB / 1.103 GB, free: 13.42 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001164/0.9372, allocations: 58.25 kB / 1.103 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.9373, allocations: 5.578 kB / 1.103 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.565e-05/0.9373, allocations: 0 / 1.103 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.461e-06/0.9373, allocations: 0 / 1.103 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005537/0.9379, allocations: 283.2 kB / 1.103 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 9.687e-05/0.938, allocations: 40.75 kB / 1.103 GB, free: 13 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.484e-05/0.938, allocations: 24.98 kB / 1.103 GB, free: 12.97 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.733e-05/0.9381, allocations: 0.875 kB / 1.103 GB, free: 12.97 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001152/0.9382, allocations: 64.58 kB / 1.103 GB, free: 12.89 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 2.374e-06/0.9382, allocations: 4 kB / 1.103 GB, free: 12.89 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0002897/0.9385, allocations: 78.39 kB / 1.103 GB, free: 12.81 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.201e-05/0.9386, allocations: 60.12 kB / 1.104 GB, free: 12.74 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.551e-05/0.9387, allocations: 113.9 kB / 1.104 GB, free: 12.62 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.899e-05/0.9387, allocations: 28.11 kB / 1.104 GB, free: 12.59 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.177e-05/0.9387, allocations: 89.02 kB / 1.104 GB, free: 12.5 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.053e-05/0.9388, allocations: 15.75 kB / 1.104 GB, free: 12.48 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.081e-06/0.9388, allocations: 0.5938 kB / 1.104 GB, free: 12.48 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.788e-05/0.9389, allocations: 319.5 kB / 1.104 GB, free: 12.16 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.831e-05/0.9389, allocations: 20.47 kB / 1.104 GB, free: 12.14 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.107e-05/0.939, allocations: 43.12 kB / 1.104 GB, free: 12.09 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.438e-05/0.939, allocations: 17.03 kB / 1.104 GB, free: 12.07 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.9391, allocations: 0.5 kB / 1.104 GB, free: 12.07 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001606/0.9392, allocations: 96.47 kB / 1.104 GB, free: 11.98 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.162e-05/0.9392, allocations: 8.062 kB / 1.104 GB, free: 11.97 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.9393, allocations: 0 / 1.104 GB, free: 11.97 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.147e-06/0.9393, allocations: 0 / 1.104 GB, free: 11.97 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001007/0.9394, allocations: 15.98 kB / 1.104 GB, free: 11.95 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.481e-06/0.9394, allocations: 0 / 1.104 GB, free: 11.95 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.092e-05/0.9395, allocations: 11.84 kB / 1.104 GB, free: 11.94 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.401e-05/0.9395, allocations: 4 kB / 1.104 GB, free: 11.94 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 7.394e-05/0.9396, allocations: 117 kB / 1.104 GB, free: 11.82 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.601e-05/0.9396, allocations: 11.97 kB / 1.104 GB, free: 11.81 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.833e-05/0.9396, allocations: 4.375 kB / 1.104 GB, free: 11.8 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.9396, allocations: 0 / 1.104 GB, free: 11.8 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.9396, allocations: 0 / 1.104 GB, free: 11.8 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.581e-06/0.9396, allocations: 4 kB / 1.104 GB, free: 11.8 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003153/0.94, allocations: 323 kB / 1.105 GB, free: 11.44 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.94, allocations: 0 / 1.105 GB, free: 11.44 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.022e-05/0.94, allocations: 11.98 kB / 1.105 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.079e-06/0.9401, allocations: 4 kB / 1.105 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.327e-05/0.9401, allocations: 0 / 1.105 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.9401, allocations: 3.906 kB / 1.105 GB, free: 11.42 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.9401, allocations: 0 / 1.105 GB, free: 11.42 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002047/0.9403, allocations: 172.6 kB / 1.105 GB, free: 11.24 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003021/0.9406, allocations: 0.5541 MB / 1.105 GB, free: 10.67 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.379e-05/0.9407, allocations: 85.02 kB / 1.106 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.587e-05/0.9407, allocations: 3.984 kB / 1.106 GB, free: 10.56 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.554e-05/0.9408, allocations: 4 kB / 1.106 GB, free: 10.56 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.656e-05/0.9409, allocations: 7.984 kB / 1.106 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.053e-05/0.9409, allocations: 7.938 kB / 1.106 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.913e-05/0.9409, allocations: 92.7 kB / 1.106 GB, free: 10.45 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000958/0.9419, allocations: 59.83 kB / 1.106 GB, free: 10.39 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.000346/0.9422, allocations: 167.8 kB / 1.106 GB, free: 10.24 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001332/0.9424, allocations: 55.92 kB / 1.106 GB, free: 10.18 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.9424, allocations: 0 / 1.106 GB, free: 10.18 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 6.199e-05/0.9425, allocations: 28.12 kB / 1.106 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001827/0.9427, allocations: 1.125 kB / 1.106 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002957/0.943, allocations: 106.3 kB / 1.106 GB, free: 10.03 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002839/0.9433, allocations: 0.7044 MB / 1.107 GB, free: 9.301 MB / 0.7136 GB Notification: Performance of SimCode: time 2.4e-07/0.9433, allocations: 0 / 1.107 GB, free: 9.301 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingUK_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingUK.fmu > Buildings_maint.8.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe 2>&1)