Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.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.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection,fileNamePrefix="Buildings_8_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection,fileNamePrefix="Buildings_8_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection",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.388/1.388, allocations: 289.8 MB / 297.1 MB, free: 6.664 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.001083/0.001083, allocations: 177.3 kB / 366.3 MB, free: 2.012 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.094/1.094, allocations: 205.2 MB / 0.6256 GB, free: 5.84 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.0008777/0.0008777, allocations: 88.59 kB / 0.7395 GB, free: 39.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2073/0.2082, allocations: 122.4 MB / 0.8591 GB, free: 13.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5013/0.7096, allocations: 116.3 MB / 0.9726 GB, free: 68.15 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1441/0.8537, allocations: 140.3 MB / 1.11 GB, free: 8.219 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001842/0.854, allocations: 79.89 kB / 1.11 GB, free: 8.141 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.8994/1.753, allocations: 248.8 MB / 1.353 GB, free: 132.4 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.943e-05/1.754, allocations: 11.94 kB / 1.353 GB, free: 132.4 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.923e-05/1.754, allocations: 35.53 kB / 1.353 GB, free: 132.3 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005427/1.754, allocations: 385.2 kB / 1.353 GB, free: 131.9 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.179e-05/1.754, allocations: 0 / 1.353 GB, free: 131.9 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.954e-05/1.754, allocations: 7.906 kB / 1.353 GB, free: 131.9 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001/1.754, allocations: 72.42 kB / 1.353 GB, free: 131.9 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001009/1.754, allocations: 93.08 kB / 1.353 GB, free: 131.7 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.873e-06/1.754, allocations: 0 / 1.353 GB, free: 131.7 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.221e-05/1.754, allocations: 4 kB / 1.353 GB, free: 131.7 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/1.754, allocations: 0 / 1.353 GB, free: 131.7 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002715/1.755, allocations: 312.7 kB / 1.353 GB, free: 131.4 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 8.612e-05/1.755, allocations: 111 kB / 1.354 GB, free: 131.2 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.931e-05/1.755, allocations: 67.41 kB / 1.354 GB, free: 131.2 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.484e-05/1.755, allocations: 0 / 1.354 GB, free: 131.2 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.484e-05/1.755, allocations: 42.45 kB / 1.354 GB, free: 131.1 MB / 0.823 GB Notification: Performance of pre-optimization done (n=4): time 1.573e-06/1.755, allocations: 3.984 kB / 1.354 GB, free: 131.1 MB / 0.823 GB Notification: Performance of matching and sorting (n=4): time 0.0002275/1.755, allocations: 145.2 kB / 1.354 GB, free: 131 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.081e-05/1.755, allocations: 128.5 kB / 1.354 GB, free: 130.8 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003484/1.756, allocations: 425.5 kB / 1.354 GB, free: 130.4 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.261e-05/1.756, allocations: 29.83 kB / 1.354 GB, free: 130.4 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 3.405e-05/1.756, allocations: 116.1 kB / 1.355 GB, free: 130.2 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.299e-05/1.756, allocations: 19.73 kB / 1.355 GB, free: 130.2 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.129e-06/1.756, allocations: 3.938 kB / 1.355 GB, free: 130.2 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 5.415e-05/1.756, allocations: 338.8 kB / 1.355 GB, free: 129.9 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.828e-05/1.756, allocations: 35.97 kB / 1.355 GB, free: 129.8 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.28e-05/1.756, allocations: 98.81 kB / 1.355 GB, free: 129.7 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.335e-05/1.756, allocations: 49.08 kB / 1.355 GB, free: 129.7 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/1.756, allocations: 0 / 1.355 GB, free: 129.7 MB / 0.823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001591/1.756, allocations: 137.2 kB / 1.355 GB, free: 129.5 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.038e-05/1.756, allocations: 7.094 kB / 1.355 GB, free: 129.5 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/1.756, allocations: 8 kB / 1.355 GB, free: 129.5 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.133e-05/1.756, allocations: 0 / 1.355 GB, free: 129.5 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001033/1.756, allocations: 19.92 kB / 1.355 GB, free: 129.5 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.917e-06/1.756, allocations: 3.938 kB / 1.355 GB, free: 129.5 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000131/1.756, allocations: 11.89 kB / 1.355 GB, free: 129.5 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.035e-05/1.756, allocations: 4 kB / 1.355 GB, free: 129.5 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.582e-05/1.756, allocations: 101.7 kB / 1.355 GB, free: 129.4 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.464e-05/1.756, allocations: 31.62 kB / 1.355 GB, free: 129.3 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002769/1.757, allocations: 192.1 kB / 1.356 GB, free: 129.1 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/1.757, allocations: 4 kB / 1.356 GB, free: 129.1 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/1.757, allocations: 0 / 1.356 GB, free: 129.1 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/1.757, allocations: 0 / 1.356 GB, free: 129.1 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001731/1.757, allocations: 274 kB / 1.356 GB, free: 128.8 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/1.757, allocations: 0 / 1.356 GB, free: 128.8 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.434e-05/1.757, allocations: 13.31 kB / 1.356 GB, free: 128.8 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/1.757, allocations: 8.125 kB / 1.356 GB, free: 128.8 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.668e-06/1.757, allocations: 0 / 1.356 GB, free: 128.8 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/1.757, allocations: 4 kB / 1.356 GB, free: 128.8 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.023e-06/1.757, allocations: 0 / 1.356 GB, free: 128.8 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001679/1.757, allocations: 234.7 kB / 1.356 GB, free: 128.5 MB / 0.823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002008/1.757, allocations: 0.5945 MB / 1.357 GB, free: 127.9 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 9.815e-05/1.758, allocations: 140.5 kB / 1.357 GB, free: 127.7 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.034e-05/1.758, allocations: 0 / 1.357 GB, free: 127.7 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001259/1.758, allocations: 7.984 kB / 1.357 GB, free: 127.7 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.881e-05/1.758, allocations: 7.938 kB / 1.357 GB, free: 127.7 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.601e-06/1.758, allocations: 144 / 1.357 GB, free: 127.7 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.0002544/1.758, allocations: 355.1 kB / 1.357 GB, free: 127.4 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0007782/1.759, allocations: 51.89 kB / 1.357 GB, free: 127.3 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0001364/1.759, allocations: 120.5 kB / 1.357 GB, free: 127.2 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0001393/1.759, allocations: 87.86 kB / 1.357 GB, free: 127.1 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/1.759, allocations: 0 / 1.357 GB, free: 127.1 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 4.841e-05/1.759, allocations: 47.91 kB / 1.357 GB, free: 127.1 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002602/1.759, allocations: 56.48 kB / 1.357 GB, free: 127 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006952/1.76, allocations: 430.2 kB / 1.358 GB, free: 126.6 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002528/1.76, allocations: 0.8528 MB / 1.359 GB, free: 125.7 MB / 0.823 GB Notification: Performance of SimCode: time 2.71e-07/1.76, allocations: 0 / 1.359 GB, free: 125.7 MB / 0.823 GB (rm -f Buildings_8_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe ; mkfifo Buildings_8_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe ; head -c 1048576 < Buildings_8_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe >> ../files/Buildings_8_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection.fmu > Buildings_8_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe 2>&1)