Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Validation.ExtremeAmbientConditions.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.Fluid.SolarCollectors.Validation.ExtremeAmbientConditions,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_SolarCollectors_Validation_ExtremeAmbientConditions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Validation.ExtremeAmbientConditions,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_SolarCollectors_Validation_ExtremeAmbientConditions",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.245/2.245, 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.001657/0.001657, allocations: 173.3 kB / 360.3 MB, free: 7.559 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.869/1.869, 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.001252/0.001251, allocations: 87.86 kB / 0.7317 GB, free: 45.12 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3096/0.3108, allocations: 121.4 MB / 0.8502 GB, free: 3.941 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7045/1.015, allocations: 115.2 MB / 0.9627 GB, free: 78.47 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.063/2.078, allocations: 417.7 MB / 1.371 GB, free: 150.7 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003238/2.078, allocations: 97.89 kB / 1.371 GB, free: 150.6 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 733 * Number of variables: 733 Notification: Performance of Generate backend data structure: time 3.743/5.821, allocations: 0.7808 GB / 2.152 GB, free: 142.9 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.875e-05/5.821, allocations: 9.094 kB / 2.152 GB, free: 142.9 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02081/5.842, allocations: 1.72 MB / 2.153 GB, free: 142.2 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01891/5.861, allocations: 4.119 MB / 2.157 GB, free: 139.7 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001981/5.861, allocations: 93.09 kB / 2.157 GB, free: 139.7 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001426/5.863, allocations: 170.4 kB / 2.158 GB, free: 139.7 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01332/5.876, allocations: 3.401 MB / 2.161 GB, free: 138.1 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01536/5.892, allocations: 3.574 MB / 2.164 GB, free: 136 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001961/5.892, allocations: 10.06 kB / 2.164 GB, free: 136 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001385/5.893, allocations: 13.61 kB / 2.164 GB, free: 136 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001785/5.894, allocations: 128.7 kB / 2.164 GB, free: 136 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04832/5.942, allocations: 16.34 MB / 2.18 GB, free: 123 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005653/5.948, allocations: 1.913 MB / 2.182 GB, free: 122.1 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003423/5.951, allocations: 1.238 MB / 2.183 GB, free: 121.5 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002584/5.954, allocations: 1.638 MB / 2.185 GB, free: 119.6 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.334e-05/5.954, allocations: 54 kB / 2.185 GB, free: 119.6 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=164): time 4.819e-06/5.954, allocations: 0 / 2.185 GB, free: 119.6 MB / 0.9323 GB Notification: Performance of matching and sorting (n=164): time 0.02231/5.976, allocations: 3.02 MB / 2.188 GB, free: 118.1 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.837e-05/5.976, allocations: 126.1 kB / 2.188 GB, free: 118 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007186/5.983, allocations: 2.401 MB / 2.191 GB, free: 116.8 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.000761/5.984, allocations: 28.61 kB / 2.191 GB, free: 116.7 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.001289/5.986, allocations: 1.166 MB / 2.192 GB, free: 115.7 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.001475/5.987, allocations: 0.5457 MB / 2.192 GB, free: 115.3 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003865/5.988, allocations: 3.188 kB / 2.192 GB, free: 115.3 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0002215/5.988, allocations: 390.4 kB / 2.193 GB, free: 114.9 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003483/5.991, allocations: 1.056 MB / 2.194 GB, free: 114.4 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004062/5.995, allocations: 1.529 MB / 2.195 GB, free: 113.1 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0287/6.024, allocations: 2.657 MB / 2.198 GB, free: 110.5 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.923e-05/6.024, allocations: 7.172 kB / 2.198 GB, free: 110.5 MB / 0.9323 GB Notification: Performance of matching and sorting (n=274) (initialization): time 0.04126/6.065, allocations: 4.285 MB / 2.202 GB, free: 106.2 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.001043/6.067, allocations: 4.753 MB / 2.207 GB, free: 101.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.58e-05/6.067, allocations: 12 kB / 2.207 GB, free: 101.1 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.023e-05/6.067, allocations: 25.31 kB / 2.207 GB, free: 101.1 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00831/6.075, allocations: 0.6917 MB / 2.207 GB, free: 100.4 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-05/6.075, allocations: 28.8 kB / 2.207 GB, free: 100.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01167/6.087, allocations: 405.5 kB / 2.208 GB, free: 99.97 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001706/6.089, allocations: 122.8 kB / 2.208 GB, free: 99.86 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.428e-05/6.089, allocations: 4 kB / 2.208 GB, free: 99.85 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03828/6.127, allocations: 3.983 MB / 2.212 GB, free: 95.94 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.07e-05/6.127, allocations: 12 kB / 2.212 GB, free: 95.93 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.944e-05/6.127, allocations: 23.91 kB / 2.212 GB, free: 95.9 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008763/6.136, allocations: 0.6902 MB / 2.212 GB, free: 95.23 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.73e-05/6.136, allocations: 27.88 kB / 2.212 GB, free: 95.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008666/6.145, allocations: 356.2 kB / 2.213 GB, free: 94.87 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001036/6.146, allocations: 119.9 kB / 2.213 GB, free: 94.75 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 51 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (274): * Single equations (assignments): 274 * 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.001132/6.147, allocations: 155.7 kB / 2.213 GB, free: 94.59 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001363/6.148, allocations: 273.9 kB / 2.213 GB, free: 94.32 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02402/6.172, allocations: 3.628 MB / 2.217 GB, free: 90.76 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.11e-05/6.172, allocations: 16 kB / 2.217 GB, free: 90.74 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.113e-05/6.172, allocations: 0 / 2.217 GB, free: 90.74 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02235/6.195, allocations: 2.904 MB / 2.22 GB, free: 87.77 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03749/6.232, allocations: 7.82 MB / 2.227 GB, free: 79.66 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2e-05/6.233, allocations: 11.88 kB / 2.227 GB, free: 79.65 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006265/6.239, allocations: 487.3 kB / 2.228 GB, free: 79.17 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.922e-05/6.239, allocations: 12 kB / 2.228 GB, free: 79.16 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005825/6.239, allocations: 43.94 kB / 2.228 GB, free: 79.12 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.474e-05/6.24, allocations: 8 kB / 2.228 GB, free: 79.11 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.188e-05/6.24, allocations: 11.94 kB / 2.228 GB, free: 79.1 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02446/6.264, allocations: 4.957 MB / 2.233 GB, free: 73.88 MB / 0.9323 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02919/6.293, allocations: 6.789 MB / 2.239 GB, free: 66.84 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003642/6.297, allocations: 0.8054 MB / 2.24 GB, free: 66.01 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002203/6.299, allocations: 14.89 kB / 2.24 GB, free: 66 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01004/6.309, allocations: 231.5 kB / 2.24 GB, free: 65.77 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000725/6.31, allocations: 101.1 kB / 2.24 GB, free: 65.67 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000539/6.311, allocations: 83.92 kB / 2.241 GB, free: 65.59 MB / 0.9323 GB Notification: Performance of sort global known variables: time 0.005537/6.316, allocations: 1.936 MB / 2.242 GB, free: 63.65 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.01396/6.33, allocations: 1.965 MB / 2.244 GB, free: 61.68 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 6 (solAsh.vol[1].dynBal.U,solAsh.vol[2].dynBal.U,solAsh.vol[3].dynBal.U,solEn.vol[1].dynBal.U,solEn.vol[2].dynBal.U,solEn.vol[3].dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (165): * Single equations (assignments): 162 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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 Backend phase and start with SimCode phase: time 0.002511/6.333, allocations: 0.7673 MB / 2.245 GB, free: 61 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.01248/6.345, allocations: 3.995 MB / 2.249 GB, free: 57.01 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.685e-05/6.345, allocations: 4.391 kB / 2.249 GB, free: 57.01 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.003253/6.349, allocations: 1.077 MB / 2.25 GB, free: 55.93 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01142/6.36, allocations: 1.178 MB / 2.251 GB, free: 54.81 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02023/6.38, allocations: 5.606 MB / 2.257 GB, free: 49.12 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007219/6.388, allocations: 2.843 MB / 2.259 GB, free: 46.25 MB / 0.9323 GB Notification: Performance of SimCode: time 1.583e-06/6.388, allocations: 0 / 2.259 GB, free: 46.25 MB / 0.9323 GB (rm -f Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Validation.ExtremeAmbientConditions.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Validation.ExtremeAmbientConditions.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Validation.ExtremeAmbientConditions.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Validation.ExtremeAmbientConditions.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_SolarCollectors_Validation_ExtremeAmbientConditions_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_SolarCollectors_Validation_ExtremeAmbientConditions.fmu > Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Validation.ExtremeAmbientConditions.pipe 2>&1)