Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.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.BaseClasses.Examples.ASHRAEHeatLoss,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.743/2.743, allocations: 284.8 MB / 292.1 MB, free: 10.76 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.002339/0.002339, allocations: 189.2 kB / 360.3 MB, free: 7.523 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.904/1.904, allocations: 205.1 MB / 0.6187 GB, free: 13.2 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.001291/0.001291, allocations: 94.91 kB / 0.7317 GB, free: 45.12 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2846/0.286, allocations: 121.4 MB / 0.8502 GB, free: 3.922 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6496/0.9356, allocations: 115.2 MB / 0.9628 GB, free: 78.54 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.075/2.011, allocations: 362 MB / 1.316 GB, free: 186.4 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003502/2.011, allocations: 88.22 kB / 1.316 GB, free: 186.4 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.03756/2.049, allocations: 9.506 MB / 1.326 GB, free: 185.1 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/2.049, allocations: 8.656 kB / 1.326 GB, free: 185.1 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.661e-05/2.049, allocations: 16.5 kB / 1.326 GB, free: 185.1 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005514/2.05, allocations: 255 kB / 1.326 GB, free: 184.8 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.215e-05/2.05, allocations: 0 / 1.326 GB, free: 184.8 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.623e-05/2.05, allocations: 2.562 kB / 1.326 GB, free: 184.8 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002205/2.05, allocations: 65.86 kB / 1.326 GB, free: 184.8 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002467/2.05, allocations: 108.7 kB / 1.326 GB, free: 184.8 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/2.05, allocations: 0 / 1.326 GB, free: 184.8 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.16e-05/2.05, allocations: 0.6562 kB / 1.326 GB, free: 184.8 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.145e-05/2.05, allocations: 13.14 kB / 1.326 GB, free: 184.8 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009682/2.051, allocations: 431.5 kB / 1.326 GB, free: 184.6 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002888/2.052, allocations: 119.5 kB / 1.327 GB, free: 184.5 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001861/2.052, allocations: 76.36 kB / 1.327 GB, free: 184.5 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.661e-05/2.052, allocations: 1.438 kB / 1.327 GB, free: 184.5 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.136e-05/2.052, allocations: 34.98 kB / 1.327 GB, free: 184.5 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=13): time 2.034e-06/2.052, allocations: 0.75 kB / 1.327 GB, free: 184.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13): time 0.0008981/2.053, allocations: 195.9 kB / 1.327 GB, free: 184.4 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.544e-05/2.053, allocations: 52.81 kB / 1.327 GB, free: 184.4 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002151/2.053, allocations: 175.7 kB / 1.327 GB, free: 184.3 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.052e-05/2.053, allocations: 25.7 kB / 1.327 GB, free: 184.2 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.173e-05/2.053, allocations: 103.5 kB / 1.327 GB, free: 184.2 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.886e-05/2.053, allocations: 37.72 kB / 1.327 GB, free: 184.1 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.616e-05/2.053, allocations: 2.781 kB / 1.327 GB, free: 184.1 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 7.167e-05/2.053, allocations: 326.8 kB / 1.328 GB, free: 183.8 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001406/2.053, allocations: 54.27 kB / 1.328 GB, free: 183.8 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001351/2.054, allocations: 43.86 kB / 1.328 GB, free: 183.8 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004955/2.054, allocations: 96.36 kB / 1.328 GB, free: 183.8 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.888e-06/2.054, allocations: 3.906 kB / 1.328 GB, free: 183.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0007335/2.055, allocations: 184.8 kB / 1.328 GB, free: 183.8 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/2.055, allocations: 5.031 kB / 1.328 GB, free: 183.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.413e-06/2.055, allocations: 3.938 kB / 1.328 GB, free: 183.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.978e-05/2.055, allocations: 2.969 kB / 1.328 GB, free: 183.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004656/2.055, allocations: 45.34 kB / 1.328 GB, free: 183.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/2.055, allocations: 1.125 kB / 1.328 GB, free: 183.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003115/2.056, allocations: 27.3 kB / 1.328 GB, free: 183.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.514e-05/2.056, allocations: 4.406 kB / 1.328 GB, free: 183.7 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 7.88e-05/2.056, allocations: 108.7 kB / 1.328 GB, free: 183.6 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.967e-05/2.056, allocations: 20.84 kB / 1.328 GB, free: 183.6 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.184e-05/2.056, allocations: 28.92 kB / 1.328 GB, free: 183.6 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/2.056, allocations: 0 / 1.328 GB, free: 183.6 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/2.056, allocations: 0.8438 kB / 1.328 GB, free: 183.6 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/2.056, allocations: 2.969 kB / 1.328 GB, free: 183.6 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003266/2.056, allocations: 229.1 kB / 1.328 GB, free: 183.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/2.056, allocations: 5.812 kB / 1.328 GB, free: 183.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004367/2.057, allocations: 47.33 kB / 1.328 GB, free: 183.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-06/2.057, allocations: 0.8438 kB / 1.328 GB, free: 183.4 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.343e-05/2.057, allocations: 4.219 kB / 1.328 GB, free: 183.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.494e-06/2.057, allocations: 0 / 1.328 GB, free: 183.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/2.057, allocations: 0 / 1.328 GB, free: 183.4 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000769/2.058, allocations: 295.6 kB / 1.329 GB, free: 183.3 MB / 0.8542 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007906/2.059, allocations: 0.6581 MB / 1.329 GB, free: 182.8 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001249/2.059, allocations: 109.3 kB / 1.33 GB, free: 182.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.474e-05/2.059, allocations: 4.609 kB / 1.33 GB, free: 182.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003555/2.059, allocations: 16.38 kB / 1.33 GB, free: 182.7 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.297e-05/2.059, allocations: 14.77 kB / 1.33 GB, free: 182.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.391e-05/2.059, allocations: 6.938 kB / 1.33 GB, free: 182.7 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.0001611/2.059, allocations: 143.8 kB / 1.33 GB, free: 182.6 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.001268/2.061, allocations: 43.98 kB / 1.33 GB, free: 182.6 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.0002951/2.061, allocations: 150.2 kB / 1.33 GB, free: 182.5 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.00039/2.061, allocations: 119.1 kB / 1.33 GB, free: 182.5 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/2.061, allocations: 2.906 kB / 1.33 GB, free: 182.5 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001723/2.062, allocations: 66.34 kB / 1.33 GB, free: 182.5 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004161/2.062, allocations: 23.8 kB / 1.33 GB, free: 182.5 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008241/2.063, allocations: 233.2 kB / 1.33 GB, free: 182.4 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003341/2.063, allocations: 0.7512 MB / 1.331 GB, free: 181.7 MB / 0.8542 GB Notification: Performance of SimCode: time 1.333e-06/2.063, allocations: 4 kB / 1.331 GB, free: 181.6 MB / 0.8542 GB (rm -f Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss.fmu > Buildings_8.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1)