Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.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.Nicol2001HeatingUK,fileNamePrefix="Buildings_8_0_0_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingUK",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.328/2.328, allocations: 284.8 MB / 292.1 MB, free: 1.469 MB / 227.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001611/0.00161, allocations: 186.9 kB / 360.3 MB, free: 15.61 MB / 291.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.88/1.88, allocations: 205.1 MB / 0.6187 GB, free: 6.641 MB / 467.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001266/0.001266, allocations: 101.4 kB / 0.7317 GB, free: 46.98 MB / 0.5186 GB Notification: Performance of FrontEnd - loaded program: time 0.2849/0.2862, allocations: 121.4 MB / 0.8502 GB, free: 13.62 MB / 0.5967 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6575/0.9437, allocations: 115.2 MB / 0.9627 GB, free: 86.37 MB / 0.6749 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2427/1.186, allocations: 139 MB / 1.099 GB, free: 11.35 MB / 0.7061 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003125/1.187, allocations: 76.89 kB / 1.099 GB, free: 11.28 MB / 0.7061 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.015/1.202, allocations: 3.064 MB / 1.102 GB, free: 8.219 MB / 0.7061 GB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/1.202, allocations: 8.75 kB / 1.102 GB, free: 8.211 MB / 0.7061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.037e-05/1.202, allocations: 7.906 kB / 1.102 GB, free: 8.203 MB / 0.7061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001566/1.202, allocations: 167.9 kB / 1.102 GB, free: 8 MB / 0.7061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.237e-05/1.202, allocations: 4 kB / 1.102 GB, free: 7.996 MB / 0.7061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.715e-05/1.202, allocations: 5.25 kB / 1.102 GB, free: 7.992 MB / 0.7061 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001233/1.202, allocations: 28.58 kB / 1.102 GB, free: 7.965 MB / 0.7061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001552/1.203, allocations: 57.66 kB / 1.102 GB, free: 7.902 MB / 0.7061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/1.203, allocations: 1 kB / 1.102 GB, free: 7.902 MB / 0.7061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.953e-05/1.203, allocations: 4.797 kB / 1.102 GB, free: 7.898 MB / 0.7061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/1.203, allocations: 4 kB / 1.102 GB, free: 7.895 MB / 0.7061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006477/1.203, allocations: 276.7 kB / 1.102 GB, free: 7.59 MB / 0.7061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001109/1.203, allocations: 43.31 kB / 1.102 GB, free: 7.539 MB / 0.7061 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.569e-05/1.203, allocations: 24.61 kB / 1.102 GB, free: 7.516 MB / 0.7061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.857e-05/1.204, allocations: 0 / 1.102 GB, free: 7.516 MB / 0.7061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001416/1.204, allocations: 76.95 kB / 1.102 GB, free: 7.43 MB / 0.7061 GB Notification: Performance of pre-optimization done (n=7): time 1.964e-06/1.204, allocations: 0 / 1.102 GB, free: 7.43 MB / 0.7061 GB Notification: Performance of matching and sorting (n=7): time 0.0003157/1.204, allocations: 77.66 kB / 1.102 GB, free: 7.348 MB / 0.7061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.616e-05/1.204, allocations: 55.41 kB / 1.102 GB, free: 7.281 MB / 0.7061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001114/1.204, allocations: 112.9 kB / 1.102 GB, free: 7.164 MB / 0.7061 GB Notification: Performance of collectPreVariables (initialization): time 2.748e-05/1.204, allocations: 25.7 kB / 1.103 GB, free: 7.133 MB / 0.7061 GB Notification: Performance of collectInitialEqns (initialization): time 5.478e-05/1.204, allocations: 92.31 kB / 1.103 GB, free: 7.035 MB / 0.7061 GB Notification: Performance of collectInitialBindings (initialization): time 2.813e-05/1.204, allocations: 11.75 kB / 1.103 GB, free: 7.023 MB / 0.7061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.107e-06/1.204, allocations: 0 / 1.103 GB, free: 7.023 MB / 0.7061 GB Notification: Performance of setup shared object (initialization): time 0.0001357/1.205, allocations: 322.8 kB / 1.103 GB, free: 6.699 MB / 0.7061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.806e-05/1.205, allocations: 23.94 kB / 1.103 GB, free: 6.676 MB / 0.7061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001015/1.205, allocations: 45.14 kB / 1.103 GB, free: 6.625 MB / 0.7061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001537/1.205, allocations: 15.98 kB / 1.103 GB, free: 6.609 MB / 0.7061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.384e-06/1.205, allocations: 4 kB / 1.103 GB, free: 6.605 MB / 0.7061 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004636/1.205, allocations: 93.52 kB / 1.103 GB, free: 6.508 MB / 0.7061 GB Notification: Performance of prepare postOptimizeDAE: time 3.463e-05/1.205, allocations: 4 kB / 1.103 GB, free: 6.504 MB / 0.7061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.807e-06/1.205, allocations: 0 / 1.103 GB, free: 6.504 MB / 0.7061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.661e-05/1.205, allocations: 5.188 kB / 1.103 GB, free: 6.5 MB / 0.7061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002346/1.206, allocations: 15.98 kB / 1.103 GB, free: 6.484 MB / 0.7061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/1.206, allocations: 2.578 kB / 1.103 GB, free: 6.484 MB / 0.7061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001197/1.206, allocations: 7.906 kB / 1.103 GB, free: 6.477 MB / 0.7061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.902e-05/1.206, allocations: 4 kB / 1.103 GB, free: 6.473 MB / 0.7061 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.0001669/1.206, allocations: 105 kB / 1.103 GB, free: 6.363 MB / 0.7061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.943e-05/1.206, allocations: 19.89 kB / 1.103 GB, free: 6.344 MB / 0.7061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.346e-05/1.206, allocations: 8.312 kB / 1.103 GB, free: 6.336 MB / 0.7061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/1.206, allocations: 0 / 1.103 GB, free: 6.336 MB / 0.7061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.15e-05/1.206, allocations: 4 kB / 1.103 GB, free: 6.332 MB / 0.7061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.572e-06/1.206, allocations: 0 / 1.103 GB, free: 6.332 MB / 0.7061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006755/1.207, allocations: 316.3 kB / 1.104 GB, free: 5.98 MB / 0.7061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/1.207, allocations: 0 / 1.104 GB, free: 5.98 MB / 0.7061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.809e-05/1.207, allocations: 8.922 kB / 1.104 GB, free: 5.973 MB / 0.7061 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.496e-06/1.207, allocations: 8 kB / 1.104 GB, free: 5.965 MB / 0.7061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.717e-05/1.207, allocations: 4 kB / 1.104 GB, free: 5.961 MB / 0.7061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.172e-06/1.207, allocations: 3.906 kB / 1.104 GB, free: 5.957 MB / 0.7061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.786e-06/1.207, allocations: 0 / 1.104 GB, free: 5.957 MB / 0.7061 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000282/1.208, allocations: 175.4 kB / 1.104 GB, free: 5.77 MB / 0.7061 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000487/1.208, allocations: 0.5467 MB / 1.104 GB, free: 5.203 MB / 0.7061 GB Notification: Performance of postOpt removeConstants (simulation): time 5.819e-05/1.208, allocations: 85.83 kB / 1.104 GB, free: 5.102 MB / 0.7061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.038e-05/1.208, allocations: 0 / 1.104 GB, free: 5.102 MB / 0.7061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001677/1.208, allocations: 7.984 kB / 1.104 GB, free: 5.094 MB / 0.7061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.481e-05/1.208, allocations: 5.781 kB / 1.104 GB, free: 5.09 MB / 0.7061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.599e-05/1.208, allocations: 7.922 kB / 1.104 GB, free: 5.082 MB / 0.7061 GB Notification: Performance of sort global known variables: time 7.535e-05/1.208, allocations: 87.28 kB / 1.104 GB, free: 4.996 MB / 0.7061 GB Notification: Performance of remove unused functions: time 0.001288/1.21, allocations: 63.83 kB / 1.105 GB, free: 4.934 MB / 0.7061 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.0005212/1.21, allocations: 177.1 kB / 1.105 GB, free: 4.777 MB / 0.7061 GB Notification: Performance of simCode: created initialization part: time 0.0002348/1.211, allocations: 55.98 kB / 1.105 GB, free: 4.723 MB / 0.7061 GB Notification: Performance of simCode: created event and clocks part: time 6.262e-06/1.211, allocations: 0 / 1.105 GB, free: 4.723 MB / 0.7061 GB Notification: Performance of simCode: created simulation system equations: time 9.492e-05/1.211, allocations: 27.94 kB / 1.105 GB, free: 4.695 MB / 0.7061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002792/1.211, allocations: 6 kB / 1.105 GB, free: 4.691 MB / 0.7061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004691/1.211, allocations: 100.4 kB / 1.105 GB, free: 4.574 MB / 0.7061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003888/1.212, allocations: 0.7036 MB / 1.106 GB, free: 3.844 MB / 0.7061 GB Notification: Performance of SimCode: time 1.102e-06/1.212, allocations: 4 kB / 1.106 GB, free: 3.84 MB / 0.7061 GB (rm -f Buildings_8.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingUK_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingUK.fmu > Buildings_8.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe 2>&1)