Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,fileNamePrefix="Buildings_maint_8_0_x_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.0.1-maint.8.0.x/package.mo): time 1.416/1.416, allocations: 285.5 MB / 292.8 MB, free: 10.42 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.0009714/0.0009714, allocations: 189.3 kB / 361.1 MB, free: 7.07 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.085/1.085, allocations: 205.1 MB / 0.6195 GB, free: 10.28 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.0008238/0.0008238, allocations: 93.47 kB / 0.7325 GB, free: 44.23 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1909/0.1918, allocations: 121.4 MB / 0.8511 GB, free: 2.867 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4822/0.674, allocations: 115.3 MB / 0.9638 GB, free: 78.47 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6123/1.286, allocations: 362.3 MB / 1.318 GB, free: 204.8 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002106/1.287, allocations: 93.09 kB / 1.318 GB, free: 204.8 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.02005/1.307, allocations: 9.633 MB / 1.327 GB, free: 197 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.204e-05/1.307, allocations: 8 kB / 1.327 GB, free: 197 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.399e-05/1.307, allocations: 19.69 kB / 1.327 GB, free: 197 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003508/1.307, allocations: 249.2 kB / 1.327 GB, free: 196.7 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.597e-06/1.307, allocations: 0 / 1.327 GB, free: 196.7 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.879e-05/1.307, allocations: 4 kB / 1.327 GB, free: 196.7 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001461/1.307, allocations: 78.72 kB / 1.327 GB, free: 196.7 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001446/1.307, allocations: 106.1 kB / 1.327 GB, free: 196.6 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/1.307, allocations: 0.8438 kB / 1.327 GB, free: 196.6 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.534e-05/1.307, allocations: 3.984 kB / 1.327 GB, free: 196.6 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.119e-05/1.308, allocations: 22.52 kB / 1.328 GB, free: 196.6 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005435/1.308, allocations: 438.1 kB / 1.328 GB, free: 196.2 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001529/1.308, allocations: 127.7 kB / 1.328 GB, free: 196.1 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.562e-05/1.308, allocations: 82.7 kB / 1.328 GB, free: 196 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.55e-05/1.308, allocations: 0 / 1.328 GB, free: 196 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.165e-05/1.308, allocations: 38.31 kB / 1.328 GB, free: 196 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=13): time 9.42e-07/1.308, allocations: 0 / 1.328 GB, free: 196 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13): time 0.000475/1.309, allocations: 197.3 kB / 1.328 GB, free: 195.8 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.367e-05/1.309, allocations: 59.34 kB / 1.328 GB, free: 195.7 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001213/1.309, allocations: 184.2 kB / 1.329 GB, free: 195.6 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.404e-05/1.309, allocations: 25.7 kB / 1.329 GB, free: 195.5 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 2.654e-05/1.309, allocations: 98.16 kB / 1.329 GB, free: 195.4 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.116e-05/1.309, allocations: 37.64 kB / 1.329 GB, free: 195.4 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.668e-06/1.309, allocations: 0 / 1.329 GB, free: 195.4 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 4.97e-05/1.309, allocations: 339.7 kB / 1.329 GB, free: 195.1 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.251e-05/1.309, allocations: 46.61 kB / 1.329 GB, free: 195 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.595e-05/1.309, allocations: 48.73 kB / 1.329 GB, free: 195 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002628/1.31, allocations: 94.58 kB / 1.329 GB, free: 194.9 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/1.31, allocations: 0 / 1.329 GB, free: 194.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003889/1.31, allocations: 200.1 kB / 1.329 GB, free: 194.8 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 9.858e-06/1.31, allocations: 4 kB / 1.329 GB, free: 194.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/1.31, allocations: 3.938 kB / 1.329 GB, free: 194.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.075e-05/1.31, allocations: 4 kB / 1.329 GB, free: 194.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002475/1.31, allocations: 45.84 kB / 1.329 GB, free: 194.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/1.31, allocations: 0 / 1.329 GB, free: 194.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001624/1.31, allocations: 23.83 kB / 1.33 GB, free: 194.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.585e-05/1.31, allocations: 7.984 kB / 1.33 GB, free: 194.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 4.9e-05/1.311, allocations: 105 kB / 1.33 GB, free: 194.6 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.972e-05/1.311, allocations: 19.72 kB / 1.33 GB, free: 194.6 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.133e-05/1.311, allocations: 28.27 kB / 1.33 GB, free: 194.5 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/1.311, allocations: 0 / 1.33 GB, free: 194.5 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/1.311, allocations: 0 / 1.33 GB, free: 194.5 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/1.311, allocations: 0 / 1.33 GB, free: 194.5 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001793/1.311, allocations: 241.1 kB / 1.33 GB, free: 194.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/1.311, allocations: 0.8438 kB / 1.33 GB, free: 194.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002255/1.311, allocations: 43.91 kB / 1.33 GB, free: 194.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/1.311, allocations: 0 / 1.33 GB, free: 194.3 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.429e-05/1.311, allocations: 3.984 kB / 1.33 GB, free: 194.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/1.311, allocations: 4 kB / 1.33 GB, free: 194.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/1.311, allocations: 4.906 kB / 1.33 GB, free: 194.2 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004149/1.312, allocations: 299.7 kB / 1.33 GB, free: 194 MB / 0.8542 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004272/1.312, allocations: 0.673 MB / 1.331 GB, free: 193.3 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 6.708e-05/1.312, allocations: 119.8 kB / 1.331 GB, free: 193.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.594e-05/1.312, allocations: 0.9375 kB / 1.331 GB, free: 193.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001986/1.312, allocations: 19.98 kB / 1.331 GB, free: 193.2 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.462e-05/1.312, allocations: 7.984 kB / 1.331 GB, free: 193.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.355e-05/1.312, allocations: 8.922 kB / 1.331 GB, free: 193.2 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7.56e-05/1.312, allocations: 145.1 kB / 1.331 GB, free: 193 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0007972/1.313, allocations: 39.89 kB / 1.331 GB, free: 193 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.0001707/1.313, allocations: 156.2 kB / 1.331 GB, free: 192.8 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001947/1.314, allocations: 132.4 kB / 1.332 GB, free: 192.8 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.352e-06/1.314, allocations: 1.688 kB / 1.332 GB, free: 192.8 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 8.99e-05/1.314, allocations: 67.09 kB / 1.332 GB, free: 192.7 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002367/1.314, allocations: 21.48 kB / 1.332 GB, free: 192.7 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004601/1.314, allocations: 250.8 kB / 1.332 GB, free: 192.5 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001962/1.315, allocations: 0.7506 MB / 1.333 GB, free: 191.7 MB / 0.8542 GB Notification: Performance of SimCode: time 2.1e-07/1.315, allocations: 0 / 1.333 GB, free: 191.7 MB / 0.8542 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss.fmu > Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1)