Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.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.BaseClasses.Examples.ASHRAEHeatLoss,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss",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.36/1.36, allocations: 285.5 MB / 292.8 MB, free: 10.48 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.000979/0.0009791, allocations: 199.3 kB / 361.1 MB, free: 7.117 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.101/1.101, allocations: 205.1 MB / 0.6195 GB, free: 11.96 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.0007967/0.0007968, allocations: 96.86 kB / 0.7326 GB, free: 44.48 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2227/0.2235, allocations: 121.4 MB / 0.8512 GB, free: 3.152 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4979/0.7214, allocations: 115.3 MB / 0.9638 GB, free: 77.92 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6329/1.354, allocations: 362.2 MB / 1.317 GB, free: 237.8 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002298/1.355, allocations: 89.25 kB / 1.318 GB, free: 237.7 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.01908/1.374, allocations: 9.5 MB / 1.327 GB, free: 228.2 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/1.374, allocations: 12 kB / 1.327 GB, free: 228.2 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.033e-05/1.374, allocations: 15.81 kB / 1.327 GB, free: 228.2 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003475/1.374, allocations: 249.5 kB / 1.327 GB, free: 227.9 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.728e-06/1.374, allocations: 3.984 kB / 1.327 GB, free: 227.9 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.664e-05/1.374, allocations: 4 kB / 1.327 GB, free: 227.9 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001232/1.374, allocations: 69.8 kB / 1.327 GB, free: 227.8 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001416/1.374, allocations: 105.6 kB / 1.327 GB, free: 227.7 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.675e-06/1.374, allocations: 7.984 kB / 1.327 GB, free: 227.7 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.464e-05/1.374, allocations: 0 / 1.327 GB, free: 227.7 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.212e-05/1.375, allocations: 9.125 kB / 1.327 GB, free: 227.7 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005683/1.375, allocations: 425 kB / 1.328 GB, free: 227.3 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001474/1.375, allocations: 122.5 kB / 1.328 GB, free: 227.1 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.327e-05/1.375, allocations: 76.83 kB / 1.328 GB, free: 227.1 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.082e-05/1.375, allocations: 4 kB / 1.328 GB, free: 227.1 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.187e-05/1.375, allocations: 34.56 kB / 1.328 GB, free: 227 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=13): time 1.332e-06/1.375, allocations: 0 / 1.328 GB, free: 227 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13): time 0.0004992/1.376, allocations: 193.4 kB / 1.328 GB, free: 226.8 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.502e-05/1.376, allocations: 51.41 kB / 1.328 GB, free: 226.8 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001189/1.376, allocations: 175.9 kB / 1.328 GB, free: 226.6 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.472e-05/1.376, allocations: 25.7 kB / 1.328 GB, free: 226.5 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 2.768e-05/1.376, allocations: 104.1 kB / 1.328 GB, free: 226.4 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.098e-05/1.376, allocations: 44.2 kB / 1.328 GB, free: 226.4 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.697e-06/1.376, allocations: 0 / 1.328 GB, free: 226.4 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 4.623e-05/1.376, allocations: 330.8 kB / 1.329 GB, free: 226.1 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.61e-05/1.376, allocations: 47.98 kB / 1.329 GB, free: 226 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.99e-05/1.376, allocations: 40.23 kB / 1.329 GB, free: 226 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000258/1.377, allocations: 95.89 kB / 1.329 GB, free: 225.9 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/1.377, allocations: 3.906 kB / 1.329 GB, free: 225.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003732/1.377, allocations: 190.1 kB / 1.329 GB, free: 225.7 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.072e-05/1.377, allocations: 4 kB / 1.329 GB, free: 225.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/1.377, allocations: 1.5 kB / 1.329 GB, free: 225.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.083e-05/1.377, allocations: 4 kB / 1.329 GB, free: 225.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002315/1.377, allocations: 43.84 kB / 1.329 GB, free: 225.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.493e-06/1.377, allocations: 6.719 kB / 1.329 GB, free: 225.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001509/1.377, allocations: 23.89 kB / 1.329 GB, free: 225.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.7e-05/1.378, allocations: 5.688 kB / 1.329 GB, free: 225.6 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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 5.256e-05/1.378, allocations: 104.9 kB / 1.329 GB, free: 225.5 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.863e-05/1.378, allocations: 19.72 kB / 1.329 GB, free: 225.5 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.262e-05/1.378, allocations: 33.77 kB / 1.329 GB, free: 225.4 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/1.378, allocations: 0 / 1.329 GB, free: 225.4 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/1.378, allocations: 0 / 1.329 GB, free: 225.4 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/1.378, allocations: 0 / 1.329 GB, free: 225.4 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001765/1.378, allocations: 230 kB / 1.33 GB, free: 225.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/1.378, allocations: 0 / 1.33 GB, free: 225.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002091/1.378, allocations: 43.89 kB / 1.33 GB, free: 225.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/1.378, allocations: 8 kB / 1.33 GB, free: 225.1 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.434e-05/1.378, allocations: 1.969 kB / 1.33 GB, free: 225.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/1.378, allocations: 0 / 1.33 GB, free: 225.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/1.378, allocations: 0 / 1.33 GB, free: 225.1 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004199/1.379, allocations: 298.8 kB / 1.33 GB, free: 224.8 MB / 0.8542 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004393/1.379, allocations: 0.6597 MB / 1.331 GB, free: 224.1 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 6.655e-05/1.379, allocations: 112.8 kB / 1.331 GB, free: 224 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.349e-05/1.379, allocations: 0 / 1.331 GB, free: 224 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001877/1.379, allocations: 15.98 kB / 1.331 GB, free: 224 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.289e-05/1.379, allocations: 15.98 kB / 1.331 GB, free: 224 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.209e-05/1.379, allocations: 7.984 kB / 1.331 GB, free: 224 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7.27e-05/1.379, allocations: 136.5 kB / 1.331 GB, free: 223.8 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0007915/1.38, allocations: 47.92 kB / 1.331 GB, free: 223.8 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * 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 Backend phase and start with SimCode phase: time 0.0001827/1.38, allocations: 154.6 kB / 1.331 GB, free: 223.6 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001969/1.381, allocations: 125.6 kB / 1.331 GB, free: 223.5 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/1.381, allocations: 0 / 1.331 GB, free: 223.5 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 8.626e-05/1.381, allocations: 71.91 kB / 1.331 GB, free: 223.5 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002488/1.381, allocations: 22.34 kB / 1.331 GB, free: 223.4 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000456/1.381, allocations: 227.8 kB / 1.331 GB, free: 223.2 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000205/1.382, allocations: 0.7599 MB / 1.332 GB, free: 222.4 MB / 0.8542 GB Notification: Performance of SimCode: time 3.2e-07/1.382, allocations: 0 / 1.332 GB, free: 222.4 MB / 0.8542 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss.fmu > Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1)