Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.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.ASHRAEHeatLoss,fileNamePrefix="Buildings_8_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.57/1.57, allocations: 289.8 MB / 297.1 MB, free: 6.703 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.001142/0.001142, allocations: 177.3 kB / 366.3 MB, free: 1.977 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.283/1.283, allocations: 205.2 MB / 0.6256 GB, free: 5.809 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.0009449/0.000945, allocations: 97.67 kB / 0.7395 GB, free: 39.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2656/0.2666, allocations: 122.4 MB / 0.8591 GB, free: 13.23 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5917/0.8584, allocations: 116.3 MB / 0.9726 GB, free: 68.42 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7869/1.645, allocations: 363.1 MB / 1.327 GB, free: 126.9 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002984/1.646, allocations: 90.91 kB / 1.327 GB, free: 126.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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.02023/1.666, allocations: 9.5 MB / 1.337 GB, free: 119.2 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/1.666, allocations: 8 kB / 1.337 GB, free: 119.2 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.017e-05/1.666, allocations: 19.81 kB / 1.337 GB, free: 119.2 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003512/1.666, allocations: 248.8 kB / 1.337 GB, free: 118.9 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.117e-05/1.666, allocations: 4 kB / 1.337 GB, free: 118.9 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.034e-05/1.666, allocations: 0 / 1.337 GB, free: 118.9 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001291/1.667, allocations: 70.11 kB / 1.337 GB, free: 118.8 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00015/1.667, allocations: 104 kB / 1.337 GB, free: 118.7 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/1.667, allocations: 0 / 1.337 GB, free: 118.7 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.536e-05/1.667, allocations: 4 kB / 1.337 GB, free: 118.7 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.45e-05/1.667, allocations: 15.86 kB / 1.337 GB, free: 118.7 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005891/1.667, allocations: 423.2 kB / 1.337 GB, free: 118.3 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001735/1.668, allocations: 127.5 kB / 1.338 GB, free: 118.2 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001023/1.668, allocations: 79.62 kB / 1.338 GB, free: 118.2 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.011e-05/1.668, allocations: 0 / 1.338 GB, free: 118.2 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.921e-05/1.668, allocations: 34.56 kB / 1.338 GB, free: 118.1 MB / 0.823 GB Notification: Performance of pre-optimization done (n=13): time 1.272e-06/1.668, allocations: 0 / 1.338 GB, free: 118.1 MB / 0.823 GB Notification: Performance of matching and sorting (n=13): time 0.0005659/1.668, allocations: 193.5 kB / 1.338 GB, free: 118 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2e-05/1.668, allocations: 51.41 kB / 1.338 GB, free: 117.9 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001305/1.669, allocations: 177.4 kB / 1.338 GB, free: 117.8 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.477e-05/1.669, allocations: 25.7 kB / 1.338 GB, free: 117.7 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 3.341e-05/1.669, allocations: 103 kB / 1.338 GB, free: 117.6 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 3.814e-05/1.669, allocations: 42.98 kB / 1.338 GB, free: 117.6 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.688e-06/1.669, allocations: 4 kB / 1.338 GB, free: 117.6 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 6.474e-05/1.669, allocations: 329 kB / 1.339 GB, free: 117.3 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.035e-05/1.669, allocations: 47.03 kB / 1.339 GB, free: 117.2 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.53e-05/1.669, allocations: 50.23 kB / 1.339 GB, free: 117.2 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002732/1.669, allocations: 85.66 kB / 1.339 GB, free: 117.1 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/1.669, allocations: 3.906 kB / 1.339 GB, free: 117.1 MB / 0.823 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004045/1.67, allocations: 181.9 kB / 1.339 GB, free: 117 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/1.67, allocations: 14.97 kB / 1.339 GB, free: 117 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/1.67, allocations: 0 / 1.339 GB, free: 117 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/1.67, allocations: 0 / 1.339 GB, free: 117 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002673/1.67, allocations: 43.78 kB / 1.339 GB, free: 116.9 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/1.67, allocations: 0 / 1.339 GB, free: 116.9 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001627/1.67, allocations: 31.88 kB / 1.339 GB, free: 116.9 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.743e-05/1.67, allocations: 0 / 1.339 GB, free: 116.9 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 (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.654e-05/1.67, allocations: 112.9 kB / 1.339 GB, free: 116.8 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.292e-05/1.67, allocations: 19.72 kB / 1.339 GB, free: 116.8 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.378e-05/1.67, allocations: 24.58 kB / 1.339 GB, free: 116.7 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/1.67, allocations: 0 / 1.339 GB, free: 116.7 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/1.67, allocations: 7.938 kB / 1.339 GB, free: 116.7 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/1.67, allocations: 4 kB / 1.339 GB, free: 116.7 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002295/1.671, allocations: 224.3 kB / 1.339 GB, free: 116.5 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/1.671, allocations: 4 kB / 1.339 GB, free: 116.5 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002243/1.671, allocations: 43.2 kB / 1.339 GB, free: 116.5 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/1.671, allocations: 0 / 1.339 GB, free: 116.5 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.969e-05/1.671, allocations: 4 kB / 1.339 GB, free: 116.4 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/1.671, allocations: 0 / 1.339 GB, free: 116.4 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/1.671, allocations: 4 kB / 1.339 GB, free: 116.4 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004781/1.671, allocations: 293 kB / 1.34 GB, free: 116.2 MB / 0.823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005409/1.672, allocations: 0.6698 MB / 1.34 GB, free: 115.5 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 9.652e-05/1.672, allocations: 112.5 kB / 1.341 GB, free: 115.4 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.987e-05/1.672, allocations: 0 / 1.341 GB, free: 115.4 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001952/1.672, allocations: 15.98 kB / 1.341 GB, free: 115.4 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.632e-05/1.672, allocations: 11.98 kB / 1.341 GB, free: 115.4 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.552e-05/1.672, allocations: 7.625 kB / 1.341 GB, free: 115.4 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.0001002/1.672, allocations: 142.4 kB / 1.341 GB, free: 115.2 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0009713/1.673, allocations: 35.88 kB / 1.341 GB, free: 115.2 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.0002721/1.674, allocations: 160.5 kB / 1.341 GB, free: 115.1 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0002542/1.674, allocations: 120.9 kB / 1.341 GB, free: 115 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/1.674, allocations: 0 / 1.341 GB, free: 115 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 9.511e-05/1.674, allocations: 66.09 kB / 1.341 GB, free: 114.9 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002986/1.674, allocations: 23.5 kB / 1.341 GB, free: 114.9 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005063/1.675, allocations: 225 kB / 1.341 GB, free: 114.7 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002659/1.675, allocations: 0.7581 MB / 1.342 GB, free: 113.9 MB / 0.823 GB Notification: Performance of SimCode: time 2.21e-07/1.675, allocations: 3.938 kB / 1.342 GB, free: 113.9 MB / 0.823 GB (rm -f Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; mkfifo Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe >> ../files/Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss.fmu > Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1)