Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,fileNamePrefix="Buildings_8_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,fileNamePrefix="Buildings_8_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain",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.1.4-maint.8.1.x/package.mo): time 1.546/1.546, allocations: 289.8 MB / 297.1 MB, free: 6.598 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.001073/0.001073, allocations: 177.3 kB / 366.3 MB, free: 1.926 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.371/1.371, allocations: 205.1 MB / 0.6256 GB, free: 5.789 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.0009838/0.0009838, allocations: 82.5 kB / 0.7395 GB, free: 39.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2721/0.2731, allocations: 122.4 MB / 0.8591 GB, free: 13.21 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6177/0.8908, allocations: 116.3 MB / 0.9727 GB, free: 68.27 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8027/1.694, allocations: 364.4 MB / 1.329 GB, free: 121.9 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002497/1.694, allocations: 86.81 kB / 1.329 GB, free: 121.9 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.02835/1.722, allocations: 11.92 MB / 1.34 GB, free: 112.1 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/1.722, allocations: 12 kB / 1.34 GB, free: 112.1 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007519/1.723, allocations: 157 kB / 1.34 GB, free: 111.9 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008642/1.724, allocations: 348.9 kB / 1.341 GB, free: 111.6 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.233e-05/1.724, allocations: 4 kB / 1.341 GB, free: 111.6 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.077e-05/1.724, allocations: 4 kB / 1.341 GB, free: 111.5 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002762/1.724, allocations: 136.1 kB / 1.341 GB, free: 111.5 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002288/1.725, allocations: 143.3 kB / 1.341 GB, free: 111.4 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/1.725, allocations: 3.938 kB / 1.341 GB, free: 111.4 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.198e-05/1.725, allocations: 4 kB / 1.341 GB, free: 111.3 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.7e-06/1.725, allocations: 3.906 kB / 1.341 GB, free: 111.3 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001017/1.726, allocations: 0.5547 MB / 1.342 GB, free: 110.8 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001437/1.726, allocations: 96.12 kB / 1.342 GB, free: 110.8 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00012/1.726, allocations: 86.34 kB / 1.342 GB, free: 110.7 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005578/1.726, allocations: 0.5212 MB / 1.342 GB, free: 110.1 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.708e-05/1.726, allocations: 33.94 kB / 1.342 GB, free: 110 MB / 0.823 GB Notification: Performance of pre-optimization done (n=13): time 1.362e-06/1.726, allocations: 0 / 1.342 GB, free: 110 MB / 0.823 GB Notification: Performance of matching and sorting (n=13): time 0.003278/1.73, allocations: 0.4943 MB / 1.343 GB, free: 109.6 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.368e-05/1.73, allocations: 55.41 kB / 1.343 GB, free: 109.5 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001838/1.73, allocations: 212.4 kB / 1.343 GB, free: 109.4 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.41e-05/1.73, allocations: 25.7 kB / 1.343 GB, free: 109.3 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 4.427e-05/1.73, allocations: 119.9 kB / 1.343 GB, free: 109.2 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 4.045e-05/1.73, allocations: 46.58 kB / 1.343 GB, free: 109.2 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.828e-05/1.73, allocations: 4 kB / 1.343 GB, free: 109.2 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 6.52e-05/1.73, allocations: 337.5 kB / 1.344 GB, free: 108.9 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001245/1.73, allocations: 76.17 kB / 1.344 GB, free: 108.8 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001167/1.73, allocations: 79.03 kB / 1.344 GB, free: 108.8 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008193/1.739, allocations: 0.8986 MB / 1.345 GB, free: 107.9 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/1.739, allocations: 0 / 1.345 GB, free: 107.9 MB / 0.823 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.00842/1.747, allocations: 1.045 MB / 1.346 GB, free: 107 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/1.747, allocations: 4 kB / 1.346 GB, free: 107 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/1.747, allocations: 0 / 1.346 GB, free: 107 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/1.747, allocations: 4 kB / 1.346 GB, free: 107 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000504/1.748, allocations: 95.22 kB / 1.346 GB, free: 106.9 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/1.748, allocations: 3.938 kB / 1.346 GB, free: 106.9 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003658/1.748, allocations: 63.8 kB / 1.346 GB, free: 106.8 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.731e-05/1.748, allocations: 7.984 kB / 1.346 GB, free: 106.8 MB / 0.823 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 (17): * Single equations (assignments): 17 * 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 8.232e-05/1.748, allocations: 108.9 kB / 1.346 GB, free: 106.7 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.29e-05/1.748, allocations: 23.72 kB / 1.346 GB, free: 106.7 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003276/1.752, allocations: 0.5261 MB / 1.346 GB, free: 106.2 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/1.752, allocations: 9.688 kB / 1.346 GB, free: 106.2 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.802e-06/1.752, allocations: 7.844 kB / 1.346 GB, free: 106.2 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/1.752, allocations: 3.984 kB / 1.346 GB, free: 106.2 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002893/1.752, allocations: 267.3 kB / 1.347 GB, free: 106 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/1.752, allocations: 0 / 1.347 GB, free: 106 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004343/1.752, allocations: 83.91 kB / 1.347 GB, free: 105.9 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.427e-06/1.752, allocations: 4 kB / 1.347 GB, free: 105.9 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.391e-05/1.752, allocations: 0 / 1.347 GB, free: 105.9 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.295e-06/1.752, allocations: 4 kB / 1.347 GB, free: 105.9 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/1.752, allocations: 0 / 1.347 GB, free: 105.9 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00318/1.756, allocations: 0.599 MB / 1.347 GB, free: 105.3 MB / 0.823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003201/1.759, allocations: 0.9868 MB / 1.348 GB, free: 104.4 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001106/1.759, allocations: 119 kB / 1.348 GB, free: 104.3 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.303e-05/1.759, allocations: 0 / 1.348 GB, free: 104.3 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003811/1.759, allocations: 59.94 kB / 1.348 GB, free: 104.2 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.891e-05/1.759, allocations: 19.34 kB / 1.348 GB, free: 104.2 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.245e-05/1.76, allocations: 8 kB / 1.348 GB, free: 104.2 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.0001385/1.76, allocations: 173.1 kB / 1.349 GB, free: 104.1 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.001049/1.761, allocations: 80.28 kB / 1.349 GB, free: 104 MB / 0.823 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.0003101/1.761, allocations: 186.5 kB / 1.349 GB, free: 103.8 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0003363/1.761, allocations: 177 kB / 1.349 GB, free: 103.7 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/1.761, allocations: 0 / 1.349 GB, free: 103.7 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001428/1.762, allocations: 97.59 kB / 1.349 GB, free: 103.7 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003162/1.762, allocations: 21.16 kB / 1.349 GB, free: 103.6 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000705/1.763, allocations: 293.3 kB / 1.349 GB, free: 103.4 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003296/1.763, allocations: 0.7857 MB / 1.35 GB, free: 102.6 MB / 0.823 GB Notification: Performance of SimCode: time 4.4e-07/1.763, allocations: 0 / 1.35 GB, free: 102.6 MB / 0.823 GB (rm -f Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain.fmu > Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1)