Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Validation.ExtremeAmbientConditions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Validation.ExtremeAmbientConditions,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_SolarCollectors_Validation_ExtremeAmbientConditions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Validation.ExtremeAmbientConditions,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.236/1.236, allocations: 249.4 MB / 256.7 MB, free: 7.031 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009539/0.0009539, allocations: 184.9 kB / 316 MB, free: 3.551 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.242/1.242, allocations: 205.2 MB / 0.5667 GB, free: 15.61 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009842/0.0009841, allocations: 98.06 kB / 0.671 GB, free: 4.723 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3925/0.3936, allocations: 112.4 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1979/0.5915, allocations: 106.3 MB / 0.8846 GB, free: 12.54 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.142/1.734, allocations: 411.3 MB / 1.286 GB, free: 325.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002755/1.734, allocations: 94.22 kB / 1.286 GB, free: 325.2 MB / 0.8698 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.152/3.886, allocations: 0.7602 GB / 2.047 GB, free: 166.4 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.732e-05/3.886, allocations: 10.09 kB / 2.047 GB, free: 166.4 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01114/3.897, allocations: 1.728 MB / 2.048 GB, free: 166.2 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01095/3.908, allocations: 4.104 MB / 2.052 GB, free: 165.6 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001193/3.909, allocations: 89.59 kB / 2.052 GB, free: 165.6 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009549/3.91, allocations: 162.4 kB / 2.053 GB, free: 165.6 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00654/3.916, allocations: 3.404 MB / 2.056 GB, free: 165.6 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005816/3.922, allocations: 3.544 MB / 2.059 GB, free: 165.2 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.869e-05/3.922, allocations: 9.875 kB / 2.059 GB, free: 165.2 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003218/3.922, allocations: 3.844 kB / 2.059 GB, free: 165.2 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.614e-05/3.923, allocations: 136.7 kB / 2.06 GB, free: 165.2 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0265/3.949, allocations: 16.3 MB / 2.075 GB, free: 158.9 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002787/3.952, allocations: 1.915 MB / 2.077 GB, free: 158.9 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001544/3.953, allocations: 1.23 MB / 2.079 GB, free: 158.9 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001492/3.955, allocations: 1.644 MB / 2.08 GB, free: 157.1 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.93e-05/3.955, allocations: 55.33 kB / 2.08 GB, free: 157 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=164): time 4.748e-06/3.955, allocations: 3.5 kB / 2.08 GB, free: 157 MB / 0.8698 GB Notification: Performance of matching and sorting (n=164): time 0.01153/3.967, allocations: 3.014 MB / 2.083 GB, free: 156.8 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.259e-05/3.967, allocations: 122.9 kB / 2.083 GB, free: 156.7 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0038/3.97, allocations: 2.405 MB / 2.086 GB, free: 155.7 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003307/3.971, allocations: 29.02 kB / 2.086 GB, free: 155.7 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006945/3.972, allocations: 1.173 MB / 2.087 GB, free: 154.9 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006797/3.972, allocations: 0.5401 MB / 2.087 GB, free: 154.4 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001672/3.972, allocations: 0 / 2.087 GB, free: 154.4 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001276/3.973, allocations: 389.9 kB / 2.088 GB, free: 154.1 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001615/3.974, allocations: 1.06 MB / 2.089 GB, free: 153.6 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001864/3.976, allocations: 1.523 MB / 2.09 GB, free: 152.6 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01534/3.991, allocations: 2.667 MB / 2.093 GB, free: 152 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-05/3.991, allocations: 3.344 kB / 2.093 GB, free: 152 MB / 0.8698 GB Notification: Performance of matching and sorting (n=274) (initialization): time 0.01916/4.011, allocations: 4.281 MB / 2.097 GB, free: 150.8 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008452/4.011, allocations: 4.755 MB / 2.102 GB, free: 145.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.495e-05/4.012, allocations: 11.03 kB / 2.102 GB, free: 145.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.823e-05/4.012, allocations: 26.03 kB / 2.102 GB, free: 145.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004105/4.016, allocations: 0.6825 MB / 2.102 GB, free: 145.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.782e-05/4.016, allocations: 30.94 kB / 2.102 GB, free: 145.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004704/4.02, allocations: 413 kB / 2.103 GB, free: 145.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004235/4.021, allocations: 113.8 kB / 2.103 GB, free: 145.6 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/4.021, allocations: 6.125 kB / 2.103 GB, free: 145.6 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0189/4.04, allocations: 3.985 MB / 2.107 GB, free: 144.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.03e-05/4.04, allocations: 13.41 kB / 2.107 GB, free: 144.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.793e-05/4.04, allocations: 27.91 kB / 2.107 GB, free: 144.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004192/4.044, allocations: 0.6877 MB / 2.107 GB, free: 144.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.167e-05/4.044, allocations: 30.33 kB / 2.107 GB, free: 144.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00442/4.049, allocations: 361.2 kB / 2.108 GB, free: 144.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003671/4.049, allocations: 111 kB / 2.108 GB, free: 144.4 MB / 0.8698 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.0007755/4.05, allocations: 157.5 kB / 2.108 GB, free: 144.2 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007599/4.051, allocations: 270.4 kB / 2.108 GB, free: 144.1 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01425/4.065, allocations: 3.628 MB / 2.112 GB, free: 143 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.579e-05/4.065, allocations: 17.73 kB / 2.112 GB, free: 143 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.173e-05/4.065, allocations: 3.281 kB / 2.112 GB, free: 143 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01105/4.076, allocations: 2.9 MB / 2.115 GB, free: 141.9 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02088/4.097, allocations: 7.814 MB / 2.122 GB, free: 138 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.297e-05/4.097, allocations: 4.547 kB / 2.122 GB, free: 138 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003249/4.1, allocations: 487.7 kB / 2.123 GB, free: 138 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-05/4.1, allocations: 11.06 kB / 2.123 GB, free: 138 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002095/4.1, allocations: 41.25 kB / 2.123 GB, free: 138 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.818e-05/4.101, allocations: 16.3 kB / 2.123 GB, free: 138 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.887e-06/4.101, allocations: 5.156 kB / 2.123 GB, free: 138 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01667/4.117, allocations: 4.957 MB / 2.128 GB, free: 135.5 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01669/4.134, allocations: 6.765 MB / 2.134 GB, free: 130.4 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002311/4.136, allocations: 0.8117 MB / 2.135 GB, free: 129.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005994/4.137, allocations: 8 kB / 2.135 GB, free: 129.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003028/4.14, allocations: 237 kB / 2.135 GB, free: 129.4 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002041/4.14, allocations: 103 kB / 2.135 GB, free: 129.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000212/4.14, allocations: 83.83 kB / 2.136 GB, free: 129.2 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.002643/4.143, allocations: 1.931 MB / 2.137 GB, free: 127.3 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.006524/4.15, allocations: 1.971 MB / 2.139 GB, free: 125.3 MB / 0.8698 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.001487/4.151, allocations: 0.7571 MB / 2.14 GB, free: 124.7 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.006102/4.157, allocations: 3.989 MB / 2.144 GB, free: 120.7 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 9.378e-06/4.157, allocations: 4 kB / 2.144 GB, free: 120.7 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001483/4.159, allocations: 1.085 MB / 2.145 GB, free: 119.6 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006464/4.165, allocations: 1.159 MB / 2.146 GB, free: 118.6 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01298/4.178, allocations: 5.621 MB / 2.152 GB, free: 112.9 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003095/4.181, allocations: 2.846 MB / 2.154 GB, free: 110 MB / 0.8698 GB Notification: Performance of SimCode: time 8.81e-07/4.181, allocations: 0 / 2.154 GB, free: 110 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Validation.ExtremeAmbientConditions.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Validation.ExtremeAmbientConditions.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Validation.ExtremeAmbientConditions.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Validation.ExtremeAmbientConditions.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_SolarCollectors_Validation_ExtremeAmbientConditions_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_SolarCollectors_Validation_ExtremeAmbientConditions.fmu > Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Validation.ExtremeAmbientConditions.pipe 2>&1)