Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.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.EN12975SolarGain,fileNamePrefix="Buildings_8_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,fileNamePrefix="Buildings_8_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain",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.6/1.6, allocations: 289.8 MB / 297.1 MB, free: 6.699 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.001534/0.001534, allocations: 185.2 kB / 366.3 MB, free: 1.992 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.719/1.719, allocations: 205.2 MB / 0.6256 GB, free: 5.816 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.0009871/0.0009873, allocations: 90.81 kB / 0.7395 GB, free: 39.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2994/0.3005, allocations: 122.4 MB / 0.8591 GB, free: 13.28 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7448/1.045, allocations: 116.3 MB / 0.9726 GB, free: 68.14 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8715/1.917, allocations: 363.8 MB / 1.328 GB, free: 126.5 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002123/1.917, allocations: 88.66 kB / 1.328 GB, free: 126.4 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.02527/1.942, allocations: 11.09 MB / 1.339 GB, free: 117.3 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/1.942, allocations: 8 kB / 1.339 GB, free: 117.3 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.046e-05/1.942, allocations: 31.19 kB / 1.339 GB, free: 117.3 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006053/1.943, allocations: 265.4 kB / 1.339 GB, free: 117 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.295e-05/1.943, allocations: 13.22 kB / 1.339 GB, free: 117 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.327e-05/1.943, allocations: 4 kB / 1.339 GB, free: 117 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002137/1.943, allocations: 100.7 kB / 1.339 GB, free: 116.9 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001858/1.944, allocations: 111.2 kB / 1.339 GB, free: 116.8 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.816e-06/1.944, allocations: 0 / 1.339 GB, free: 116.8 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.929e-05/1.944, allocations: 0 / 1.339 GB, free: 116.8 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.734e-06/1.944, allocations: 11.94 kB / 1.339 GB, free: 116.8 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008092/1.944, allocations: 467.3 kB / 1.34 GB, free: 116.4 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001237/1.945, allocations: 73.06 kB / 1.34 GB, free: 116.3 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.659e-05/1.945, allocations: 66.5 kB / 1.34 GB, free: 116.3 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005753/1.945, allocations: 0.51 MB / 1.34 GB, free: 115.7 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.808e-05/1.945, allocations: 34.56 kB / 1.34 GB, free: 115.6 MB / 0.823 GB Notification: Performance of pre-optimization done (n=11): time 2.124e-06/1.945, allocations: 0 / 1.34 GB, free: 115.6 MB / 0.823 GB Notification: Performance of matching and sorting (n=11): time 0.003251/1.949, allocations: 463.5 kB / 1.341 GB, free: 115.2 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.104e-05/1.949, allocations: 56.81 kB / 1.341 GB, free: 115.1 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001519/1.949, allocations: 190.8 kB / 1.341 GB, free: 115 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.711e-05/1.949, allocations: 25.7 kB / 1.341 GB, free: 115 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 3.834e-05/1.949, allocations: 111.5 kB / 1.341 GB, free: 114.9 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 3.484e-05/1.949, allocations: 27.25 kB / 1.341 GB, free: 114.8 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.221e-05/1.949, allocations: 0 / 1.341 GB, free: 114.8 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 6.547e-05/1.949, allocations: 340.1 kB / 1.342 GB, free: 114.5 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.414e-05/1.949, allocations: 45.92 kB / 1.342 GB, free: 114.5 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.734e-05/1.949, allocations: 50.73 kB / 1.342 GB, free: 114.4 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002959/1.952, allocations: 358.5 kB / 1.342 GB, free: 114.1 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/1.952, allocations: 0 / 1.342 GB, free: 114.1 MB / 0.823 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.003059/1.955, allocations: 463 kB / 1.342 GB, free: 113.7 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/1.955, allocations: 7.984 kB / 1.342 GB, free: 113.7 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.271e-06/1.955, allocations: 0 / 1.342 GB, free: 113.7 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/1.955, allocations: 4 kB / 1.342 GB, free: 113.7 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003366/1.956, allocations: 56.61 kB / 1.343 GB, free: 113.7 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/1.956, allocations: 0 / 1.343 GB, free: 113.7 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002636/1.956, allocations: 47.86 kB / 1.343 GB, free: 113.6 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.953e-05/1.956, allocations: 7.25 kB / 1.343 GB, free: 113.6 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 (11): * Single equations (assignments): 11 * 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.711e-05/1.956, allocations: 112.9 kB / 1.343 GB, free: 113.5 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.189e-05/1.956, allocations: 19.72 kB / 1.343 GB, free: 113.5 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003254/1.959, allocations: 485.5 kB / 1.343 GB, free: 113 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/1.959, allocations: 5.016 kB / 1.343 GB, free: 113 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/1.959, allocations: 0 / 1.343 GB, free: 113 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.703e-06/1.959, allocations: 7.984 kB / 1.343 GB, free: 113 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002414/1.96, allocations: 242.7 kB / 1.343 GB, free: 112.8 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/1.96, allocations: 0 / 1.343 GB, free: 112.8 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003154/1.96, allocations: 63.81 kB / 1.343 GB, free: 112.7 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.25e-06/1.96, allocations: 0 / 1.343 GB, free: 112.7 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.996e-05/1.96, allocations: 15.92 kB / 1.343 GB, free: 112.7 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/1.96, allocations: 0 / 1.343 GB, free: 112.7 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.796e-06/1.96, allocations: 0 / 1.343 GB, free: 112.7 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003119/1.963, allocations: 0.5489 MB / 1.344 GB, free: 112.2 MB / 0.823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003163/1.966, allocations: 0.9217 MB / 1.345 GB, free: 111.3 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 9.818e-05/1.966, allocations: 119.6 kB / 1.345 GB, free: 111.2 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.636e-05/1.966, allocations: 0 / 1.345 GB, free: 111.2 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00028/1.967, allocations: 39.95 kB / 1.345 GB, free: 111.2 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.126e-05/1.967, allocations: 11.61 kB / 1.345 GB, free: 111.2 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.959e-05/1.967, allocations: 7.984 kB / 1.345 GB, free: 111.1 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.0001179/1.967, allocations: 159 kB / 1.345 GB, free: 111 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0009493/1.968, allocations: 79.2 kB / 1.345 GB, free: 110.9 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 (11): * Single equations (assignments): 11 * 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.00032/1.968, allocations: 189.9 kB / 1.346 GB, free: 110.8 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0002493/1.968, allocations: 115.8 kB / 1.346 GB, free: 110.7 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/1.968, allocations: 3.938 kB / 1.346 GB, free: 110.7 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.00011/1.969, allocations: 68.47 kB / 1.346 GB, free: 110.6 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003078/1.969, allocations: 24.42 kB / 1.346 GB, free: 110.6 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007009/1.97, allocations: 242.6 kB / 1.346 GB, free: 110.4 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000262/1.97, allocations: 0.7654 MB / 1.347 GB, free: 109.6 MB / 0.823 GB Notification: Performance of SimCode: time 2.61e-07/1.97, allocations: 0 / 1.347 GB, free: 109.6 MB / 0.823 GB (rm -f Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain.fmu > Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1)