Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Validation.ExtremeAmbientConditions.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.Fluid.SolarCollectors.Validation.ExtremeAmbientConditions,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_SolarCollectors_Validation_ExtremeAmbientConditions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Validation.ExtremeAmbientConditions,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.387/1.387, allocations: 285.5 MB / 292.8 MB, free: 10.44 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.001034/0.001034, allocations: 181.4 kB / 361.1 MB, free: 7.074 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.21/1.21, allocations: 205.1 MB / 0.6195 GB, free: 11.91 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.0008404/0.0008404, allocations: 87.78 kB / 0.7325 GB, free: 44.44 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2464/0.2472, allocations: 121.4 MB / 0.8511 GB, free: 3.121 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5972/0.8445, allocations: 115.3 MB / 0.9637 GB, free: 77.7 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7969/1.641, allocations: 417.9 MB / 1.372 GB, free: 148.8 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002159/1.642, allocations: 95.42 kB / 1.372 GB, free: 148.8 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 2.483/4.124, allocations: 0.7808 GB / 2.153 GB, free: 132.8 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.672e-05/4.124, allocations: 7.844 kB / 2.153 GB, free: 132.8 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01159/4.136, allocations: 1.723 MB / 2.154 GB, free: 132.5 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01256/4.149, allocations: 4.121 MB / 2.158 GB, free: 131.9 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001961/4.149, allocations: 90.28 kB / 2.159 GB, free: 131.9 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001407/4.15, allocations: 163.8 kB / 2.159 GB, free: 131.9 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008973/4.159, allocations: 3.401 MB / 2.162 GB, free: 131.9 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01022/4.17, allocations: 3.579 MB / 2.165 GB, free: 131.6 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001583/4.17, allocations: 3.531 kB / 2.166 GB, free: 131.6 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009293/4.171, allocations: 7.656 kB / 2.166 GB, free: 131.6 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001131/4.171, allocations: 140.9 kB / 2.166 GB, free: 131.5 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02852/4.199, allocations: 16.34 MB / 2.182 GB, free: 124.4 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00279/4.202, allocations: 1.922 MB / 2.183 GB, free: 123.6 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001571/4.204, allocations: 1.227 MB / 2.185 GB, free: 123.1 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001453/4.205, allocations: 1.639 MB / 2.186 GB, free: 121.3 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.553e-05/4.205, allocations: 56.91 kB / 2.186 GB, free: 121.2 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=164): time 4.909e-06/4.205, allocations: 0 / 2.186 GB, free: 121.2 MB / 0.9636 GB Notification: Performance of matching and sorting (n=164): time 0.01148/4.217, allocations: 3.014 MB / 2.189 GB, free: 120.2 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.995e-05/4.217, allocations: 123.2 kB / 2.189 GB, free: 120.1 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004547/4.221, allocations: 2.412 MB / 2.192 GB, free: 118.9 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0002679/4.222, allocations: 29.64 kB / 2.192 GB, free: 118.8 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008069/4.223, allocations: 1.174 MB / 2.193 GB, free: 117.8 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006649/4.223, allocations: 0.5407 MB / 2.193 GB, free: 117.3 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001687/4.223, allocations: 0 / 2.193 GB, free: 117.3 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001275/4.224, allocations: 389.7 kB / 2.194 GB, free: 117 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001516/4.225, allocations: 1.052 MB / 2.195 GB, free: 116.4 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001714/4.227, allocations: 1.525 MB / 2.196 GB, free: 115.3 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01443/4.241, allocations: 2.657 MB / 2.199 GB, free: 114.1 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-05/4.241, allocations: 6.281 kB / 2.199 GB, free: 114.1 MB / 0.9636 GB Notification: Performance of matching and sorting (n=274) (initialization): time 0.02028/4.262, allocations: 4.289 MB / 2.203 GB, free: 112.1 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009336/4.263, allocations: 4.749 MB / 2.208 GB, free: 106.9 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.15e-05/4.263, allocations: 11.53 kB / 2.208 GB, free: 106.9 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.938e-05/4.263, allocations: 26.41 kB / 2.208 GB, free: 106.9 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00506/4.268, allocations: 0.6859 MB / 2.208 GB, free: 106.8 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.46e-05/4.268, allocations: 29.86 kB / 2.209 GB, free: 106.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005576/4.273, allocations: 416 kB / 2.209 GB, free: 106.5 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004574/4.274, allocations: 114.1 kB / 2.209 GB, free: 106.5 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/4.274, allocations: 3.969 kB / 2.209 GB, free: 106.5 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01932/4.293, allocations: 3.983 MB / 2.213 GB, free: 104.6 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.295e-05/4.293, allocations: 14.52 kB / 2.213 GB, free: 104.6 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.726e-05/4.293, allocations: 23.09 kB / 2.213 GB, free: 104.6 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004212/4.298, allocations: 0.6979 MB / 2.214 GB, free: 104.4 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.434e-05/4.298, allocations: 25.88 kB / 2.214 GB, free: 104.4 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004582/4.302, allocations: 351.9 kB / 2.214 GB, free: 104.3 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004969/4.303, allocations: 117 kB / 2.214 GB, free: 104.2 MB / 0.9636 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.0007933/4.304, allocations: 152.5 kB / 2.214 GB, free: 104.1 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001125/4.305, allocations: 277.1 kB / 2.215 GB, free: 104 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01308/4.318, allocations: 3.624 MB / 2.218 GB, free: 102.1 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.351e-05/4.318, allocations: 20.66 kB / 2.218 GB, free: 102.1 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.037e-05/4.318, allocations: 0 / 2.218 GB, free: 102.1 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01001/4.328, allocations: 2.904 MB / 2.221 GB, free: 100.5 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02131/4.349, allocations: 7.836 MB / 2.229 GB, free: 95 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-05/4.349, allocations: 2.969 kB / 2.229 GB, free: 95 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002945/4.352, allocations: 487.3 kB / 2.229 GB, free: 94.87 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.746e-05/4.352, allocations: 13.31 kB / 2.229 GB, free: 94.87 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001945/4.352, allocations: 39.98 kB / 2.229 GB, free: 94.85 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.479e-05/4.352, allocations: 18.23 kB / 2.229 GB, free: 94.84 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.811e-06/4.353, allocations: 5.562 kB / 2.229 GB, free: 94.84 MB / 0.9636 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01259/4.365, allocations: 4.955 MB / 2.234 GB, free: 91.81 MB / 0.9636 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01455/4.38, allocations: 6.773 MB / 2.241 GB, free: 87.58 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002109/4.382, allocations: 0.808 MB / 2.241 GB, free: 86.94 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001076/4.383, allocations: 13.72 kB / 2.241 GB, free: 86.94 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003744/4.387, allocations: 247.2 kB / 2.242 GB, free: 86.84 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002101/4.387, allocations: 102.8 kB / 2.242 GB, free: 86.78 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002716/4.387, allocations: 82.08 kB / 2.242 GB, free: 86.75 MB / 0.9636 GB Notification: Performance of sort global known variables: time 0.003581/4.391, allocations: 1.939 MB / 2.244 GB, free: 85.06 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.007811/4.399, allocations: 1.959 MB / 2.246 GB, free: 83.1 MB / 0.9636 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.001416/4.4, allocations: 0.7587 MB / 2.246 GB, free: 82.43 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.00559/4.406, allocations: 4 MB / 2.25 GB, free: 78.43 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/4.406, allocations: 448 / 2.25 GB, free: 78.43 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.001381/4.407, allocations: 1.083 MB / 2.251 GB, free: 77.35 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004934/4.412, allocations: 1.166 MB / 2.252 GB, free: 76.23 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009798/4.422, allocations: 5.625 MB / 2.258 GB, free: 70.53 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002796/4.425, allocations: 2.838 MB / 2.261 GB, free: 67.66 MB / 0.9636 GB Notification: Performance of SimCode: time 5.31e-07/4.425, allocations: 0 / 2.261 GB, free: 67.66 MB / 0.9636 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Validation.ExtremeAmbientConditions.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Validation.ExtremeAmbientConditions.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Validation.ExtremeAmbientConditions.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Validation.ExtremeAmbientConditions.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_SolarCollectors_Validation_ExtremeAmbientConditions_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_SolarCollectors_Validation_ExtremeAmbientConditions.fmu > Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Validation.ExtremeAmbientConditions.pipe 2>&1)