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: translateModel(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection") translateModel(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection") [: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.343/1.343, allocations: 289.8 MB / 297.1 MB, free: 6.586 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.00102/0.00102, allocations: 177.3 kB / 366.3 MB, free: 1.945 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.1 MB / 0.6256 GB, free: 5.797 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.0007705/0.0007705, allocations: 88.98 kB / 0.7396 GB, free: 39.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.676e-06/8.787e-06, allocations: 4 kB / 0.859 GB, free: 13.35 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5002/0.5002, allocations: 116.3 MB / 0.9725 GB, free: 68.76 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1479/0.6482, allocations: 140.3 MB / 1.11 GB, free: 8.203 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002006/0.6484, allocations: 80.48 kB / 1.11 GB, free: 8.125 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.8838/1.532, allocations: 248.3 MB / 1.352 GB, free: 132.9 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.151e-05/1.532, allocations: 4 kB / 1.352 GB, free: 132.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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.00192/1.534, allocations: 497.7 kB / 1.353 GB, free: 132.4 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.073e-05/1.534, allocations: 8.031 kB / 1.353 GB, free: 132.3 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.704e-05/1.534, allocations: 35.53 kB / 1.353 GB, free: 132.3 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000438/1.535, allocations: 385.2 kB / 1.353 GB, free: 131.9 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.265e-06/1.535, allocations: 0 / 1.353 GB, free: 131.9 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.66e-05/1.535, allocations: 7.906 kB / 1.353 GB, free: 131.9 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.961e-05/1.535, allocations: 76.52 kB / 1.353 GB, free: 131.8 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.266e-05/1.535, allocations: 93.08 kB / 1.353 GB, free: 131.7 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.214e-06/1.535, allocations: 0 / 1.353 GB, free: 131.7 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.799e-06/1.535, allocations: 4 kB / 1.353 GB, free: 131.7 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/1.535, allocations: 0 / 1.353 GB, free: 131.7 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002454/1.535, allocations: 312.7 kB / 1.353 GB, free: 131.3 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 7.705e-05/1.535, allocations: 106.4 kB / 1.354 GB, free: 131.2 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.343e-05/1.535, allocations: 68.62 kB / 1.354 GB, free: 131.1 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.455e-05/1.535, allocations: 0 / 1.354 GB, free: 131.1 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.369e-05/1.535, allocations: 38.47 kB / 1.354 GB, free: 131.1 MB / 0.823 GB Notification: Performance of pre-optimization done (n=4): time 8.12e-07/1.535, allocations: 0 / 1.354 GB, free: 131.1 MB / 0.823 GB Notification: Performance of matching and sorting (n=4): time 0.0002164/1.536, allocations: 149.2 kB / 1.354 GB, free: 130.9 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.234e-05/1.536, allocations: 132.5 kB / 1.354 GB, free: 130.8 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000319/1.536, allocations: 424.8 kB / 1.354 GB, free: 130.4 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 9.949e-06/1.536, allocations: 25.7 kB / 1.354 GB, free: 130.3 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 3.118e-05/1.536, allocations: 112.1 kB / 1.354 GB, free: 130.2 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.106e-05/1.536, allocations: 27.67 kB / 1.354 GB, free: 130.2 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.549e-06/1.536, allocations: 0 / 1.354 GB, free: 130.2 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 5.124e-05/1.536, allocations: 342.9 kB / 1.355 GB, free: 129.8 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.814e-05/1.536, allocations: 35.97 kB / 1.355 GB, free: 129.8 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.04e-05/1.536, allocations: 92.22 kB / 1.355 GB, free: 129.7 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.13e-05/1.536, allocations: 43.97 kB / 1.355 GB, free: 129.6 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/1.536, allocations: 0 / 1.355 GB, free: 129.6 MB / 0.823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001495/1.537, allocations: 149.2 kB / 1.355 GB, free: 129.5 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 9.488e-06/1.537, allocations: 4 kB / 1.355 GB, free: 129.5 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/1.537, allocations: 0 / 1.355 GB, free: 129.5 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.146e-05/1.537, allocations: 7.938 kB / 1.355 GB, free: 129.5 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.764e-05/1.537, allocations: 11.92 kB / 1.355 GB, free: 129.5 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/1.537, allocations: 6.812 kB / 1.355 GB, free: 129.5 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001256/1.537, allocations: 16.02 kB / 1.355 GB, free: 129.4 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.408e-06/1.537, allocations: 0 / 1.355 GB, free: 129.4 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.409e-05/1.537, allocations: 109 kB / 1.355 GB, free: 129.3 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.395e-05/1.537, allocations: 31.62 kB / 1.355 GB, free: 129.3 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002533/1.537, allocations: 187.8 kB / 1.355 GB, free: 129.1 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-06/1.537, allocations: 3.984 kB / 1.355 GB, free: 129.1 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/1.537, allocations: 0.9375 kB / 1.355 GB, free: 129.1 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/1.537, allocations: 4 kB / 1.355 GB, free: 129.1 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001632/1.537, allocations: 274 kB / 1.356 GB, free: 128.8 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/1.537, allocations: 0 / 1.356 GB, free: 128.8 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.209e-05/1.537, allocations: 15.98 kB / 1.356 GB, free: 128.8 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/1.537, allocations: 0 / 1.356 GB, free: 128.8 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.679e-06/1.537, allocations: 4 kB / 1.356 GB, free: 128.8 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/1.537, allocations: 0 / 1.356 GB, free: 128.8 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/1.538, allocations: 0 / 1.356 GB, free: 128.8 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001643/1.538, allocations: 232.2 kB / 1.356 GB, free: 128.5 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 9.453e-05/1.538, allocations: 137.8 kB / 1.356 GB, free: 128.4 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.719e-05/1.538, allocations: 4 kB / 1.356 GB, free: 128.4 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001213/1.538, allocations: 11.89 kB / 1.356 GB, free: 128.3 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.656e-05/1.538, allocations: 4 kB / 1.356 GB, free: 128.3 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.011e-06/1.538, allocations: 4 kB / 1.356 GB, free: 128.3 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.0002446/1.538, allocations: 347.1 kB / 1.356 GB, free: 128 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0002286/1.538, allocations: 44 kB / 1.356 GB, free: 127.9 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.0001355/1.539, allocations: 115.2 kB / 1.357 GB, free: 127.8 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0001248/1.539, allocations: 87.86 kB / 1.357 GB, free: 127.7 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/1.539, allocations: 1.125 kB / 1.357 GB, free: 127.7 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 4.641e-05/1.539, allocations: 48.28 kB / 1.357 GB, free: 127.7 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002565/1.539, allocations: 60.92 kB / 1.357 GB, free: 127.6 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006768/1.54, allocations: 434.2 kB / 1.357 GB, free: 127.2 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000223/1.54, allocations: 0.8567 MB / 1.358 GB, free: 126.3 MB / 0.823 GB Notification: Performance of SimCode: time 2.01e-07/1.54, allocations: 0 / 1.358 GB, free: 126.3 MB / 0.823 GB Notification: Performance of Templates: time 0.005173/1.545, allocations: 2.784 MB / 1.361 GB, free: 123.6 MB / 0.823 GB make -j1 -f Buildings_8_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.makefile (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 & ./Buildings_8_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe 2>&1)