Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.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.EN12975HeatLoss,fileNamePrefix="Buildings_8_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,fileNamePrefix="Buildings_8_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss",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.494/1.494, allocations: 289.8 MB / 297.1 MB, free: 6.68 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.001172/0.001173, allocations: 181.3 kB / 366.3 MB, free: 1.996 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.326/1.326, allocations: 205.1 MB / 0.6256 GB, free: 5.836 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.001098/0.001098, allocations: 98.89 kB / 0.7396 GB, free: 39.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2634/0.2645, allocations: 122.4 MB / 0.8591 GB, free: 13.29 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5717/0.8362, allocations: 116.3 MB / 0.9727 GB, free: 68.22 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8183/1.655, allocations: 363.3 MB / 1.327 GB, free: 123.1 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002698/1.655, allocations: 89.94 kB / 1.327 GB, free: 123 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.02202/1.677, allocations: 9.628 MB / 1.337 GB, free: 115.2 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/1.677, allocations: 8 kB / 1.337 GB, free: 115.2 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.436e-05/1.677, allocations: 15.81 kB / 1.337 GB, free: 115.2 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004356/1.678, allocations: 256.4 kB / 1.337 GB, free: 114.9 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.33e-05/1.678, allocations: 0 / 1.337 GB, free: 114.9 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.338e-05/1.678, allocations: 4 kB / 1.337 GB, free: 114.9 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000148/1.678, allocations: 71.97 kB / 1.337 GB, free: 114.9 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001744/1.678, allocations: 112.5 kB / 1.337 GB, free: 114.8 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/1.678, allocations: 0 / 1.337 GB, free: 114.8 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.735e-05/1.678, allocations: 0 / 1.337 GB, free: 114.8 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.018e-05/1.678, allocations: 11.91 kB / 1.337 GB, free: 114.8 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007432/1.679, allocations: 447.7 kB / 1.338 GB, free: 114.4 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002277/1.679, allocations: 130.5 kB / 1.338 GB, free: 114.3 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001124/1.679, allocations: 78.94 kB / 1.338 GB, free: 114.2 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.841e-05/1.679, allocations: 0 / 1.338 GB, free: 114.2 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.748e-05/1.679, allocations: 42.36 kB / 1.338 GB, free: 114.2 MB / 0.823 GB Notification: Performance of pre-optimization done (n=13): time 1.232e-06/1.679, allocations: 0 / 1.338 GB, free: 114.2 MB / 0.823 GB Notification: Performance of matching and sorting (n=13): time 0.0005785/1.68, allocations: 197.1 kB / 1.338 GB, free: 114 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.651e-05/1.68, allocations: 60.91 kB / 1.338 GB, free: 113.9 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001414/1.68, allocations: 183.7 kB / 1.338 GB, free: 113.8 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.492e-05/1.68, allocations: 25.7 kB / 1.338 GB, free: 113.7 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 3.106e-05/1.68, allocations: 99.84 kB / 1.339 GB, free: 113.6 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 3.263e-05/1.68, allocations: 35.33 kB / 1.339 GB, free: 113.6 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.021e-05/1.68, allocations: 0 / 1.339 GB, free: 113.6 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 5.914e-05/1.68, allocations: 334.3 kB / 1.339 GB, free: 113.3 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.834e-05/1.68, allocations: 53.34 kB / 1.339 GB, free: 113.2 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.067e-05/1.68, allocations: 49.8 kB / 1.339 GB, free: 113.2 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002833/1.681, allocations: 94.14 kB / 1.339 GB, free: 113.1 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.063e-06/1.681, allocations: 0 / 1.339 GB, free: 113.1 MB / 0.823 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004304/1.681, allocations: 196.3 kB / 1.339 GB, free: 113 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/1.681, allocations: 11.92 kB / 1.339 GB, free: 113 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/1.681, allocations: 0 / 1.339 GB, free: 113 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/1.681, allocations: 7.938 kB / 1.339 GB, free: 113 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002757/1.681, allocations: 39.97 kB / 1.339 GB, free: 112.9 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.003e-05/1.681, allocations: 1.406 kB / 1.339 GB, free: 112.9 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001847/1.682, allocations: 23.83 kB / 1.339 GB, free: 112.9 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.92e-05/1.682, allocations: 11.98 kB / 1.339 GB, free: 112.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 6.143e-05/1.682, allocations: 101 kB / 1.339 GB, free: 112.8 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.267e-05/1.682, allocations: 19.72 kB / 1.339 GB, free: 112.8 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.987e-05/1.682, allocations: 31.33 kB / 1.34 GB, free: 112.7 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/1.682, allocations: 0 / 1.34 GB, free: 112.7 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/1.682, allocations: 0 / 1.34 GB, free: 112.7 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.628e-06/1.682, allocations: 0 / 1.34 GB, free: 112.7 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002084/1.682, allocations: 242.9 kB / 1.34 GB, free: 112.5 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/1.682, allocations: 4 kB / 1.34 GB, free: 112.5 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002391/1.682, allocations: 39.97 kB / 1.34 GB, free: 112.5 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/1.682, allocations: 0 / 1.34 GB, free: 112.5 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.702e-05/1.682, allocations: 3.984 kB / 1.34 GB, free: 112.4 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/1.682, allocations: 7.984 kB / 1.34 GB, free: 112.4 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/1.682, allocations: 4.75 kB / 1.34 GB, free: 112.4 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004586/1.683, allocations: 298.7 kB / 1.34 GB, free: 112.2 MB / 0.823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005213/1.683, allocations: 0.6717 MB / 1.341 GB, free: 111.5 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.476e-05/1.683, allocations: 116.2 kB / 1.341 GB, free: 111.4 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.957e-05/1.683, allocations: 0 / 1.341 GB, free: 111.4 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002123/1.684, allocations: 19.98 kB / 1.341 GB, free: 111.4 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.721e-05/1.684, allocations: 11.23 kB / 1.341 GB, free: 111.4 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.263e-05/1.684, allocations: 0 / 1.341 GB, free: 111.4 MB / 0.823 GB Notification: Performance of sort global known variables: time 9.048e-05/1.684, allocations: 149.8 kB / 1.341 GB, free: 111.2 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0008865/1.685, allocations: 40.22 kB / 1.341 GB, free: 111.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.0002053/1.685, allocations: 156.7 kB / 1.341 GB, free: 111 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0002205/1.685, allocations: 127.4 kB / 1.341 GB, free: 111 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.512e-06/1.685, allocations: 0 / 1.341 GB, free: 111 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 9.438e-05/1.685, allocations: 68.75 kB / 1.341 GB, free: 110.9 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002616/1.686, allocations: 27.17 kB / 1.341 GB, free: 110.9 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005073/1.686, allocations: 236.7 kB / 1.342 GB, free: 110.7 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002175/1.686, allocations: 0.753 MB / 1.342 GB, free: 109.9 MB / 0.823 GB Notification: Performance of SimCode: time 4.31e-07/1.686, allocations: 0 / 1.342 GB, free: 109.9 MB / 0.823 GB (rm -f Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss.fmu > Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1)