Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1342,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.221/2.221, allocations: 253.1 MB / 260.4 MB, free: 7.445 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001638/0.001638, allocations: 181.2 kB / 319.6 MB, free: 3.297 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.912/1.912, allocations: 205.4 MB / 0.5704 GB, free: 15.05 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001298/0.001297, allocations: 87.33 kB / 0.6746 GB, free: 4.418 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.322e-05/1.339e-05, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2359/0.2359, allocations: 106.2 MB / 0.8881 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6755/0.9115, allocations: 135.1 MB / 1.02 GB, free: 3.316 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003022/0.9118, allocations: 89.56 kB / 1.02 GB, free: 3.266 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.03204/0.9439, allocations: 7.639 MB / 1.028 GB, free: 13.33 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.374e-05/0.944, allocations: 4 kB / 1.028 GB, free: 13.32 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0007866/0.9448, allocations: 465.1 kB / 1.028 GB, free: 12.84 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.54e-05/0.9448, allocations: 8.031 kB / 1.028 GB, free: 12.83 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.085e-05/0.9449, allocations: 19.72 kB / 1.028 GB, free: 12.81 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005478/0.9455, allocations: 255.2 kB / 1.028 GB, free: 12.54 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.091e-05/0.9455, allocations: 0 / 1.028 GB, free: 12.54 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.941e-05/0.9456, allocations: 4 kB / 1.028 GB, free: 12.54 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004904/0.9461, allocations: 186.6 kB / 1.028 GB, free: 12.38 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002862/0.9464, allocations: 120.7 kB / 1.029 GB, free: 12.27 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.9464, allocations: 0 / 1.029 GB, free: 12.27 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.221e-05/0.9464, allocations: 4 kB / 1.029 GB, free: 12.27 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.438e-06/0.9465, allocations: 0 / 1.029 GB, free: 12.27 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003757/0.9468, allocations: 225.1 kB / 1.029 GB, free: 12.04 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003635/0.9472, allocations: 152.7 kB / 1.029 GB, free: 11.91 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001547/0.9474, allocations: 59.41 kB / 1.029 GB, free: 11.87 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.309e-05/0.9474, allocations: 11.28 kB / 1.029 GB, free: 11.86 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002499/0.9477, allocations: 110.1 kB / 1.029 GB, free: 11.76 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=13): time 2.184e-06/0.9477, allocations: 0 / 1.029 GB, free: 11.76 MB / 0.6511 GB Notification: Performance of matching and sorting (n=13): time 0.0006226/0.9483, allocations: 178.3 kB / 1.029 GB, free: 11.61 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.976e-05/0.9484, allocations: 77.11 kB / 1.029 GB, free: 11.52 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003999/0.9488, allocations: 234.3 kB / 1.03 GB, free: 11.32 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.613e-05/0.9489, allocations: 25.7 kB / 1.03 GB, free: 11.29 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 5.253e-05/0.9489, allocations: 99.12 kB / 1.03 GB, free: 11.19 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 8.817e-05/0.949, allocations: 42.66 kB / 1.03 GB, free: 11.16 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.213e-05/0.949, allocations: 0 / 1.03 GB, free: 11.16 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001463/0.9492, allocations: 328.9 kB / 1.03 GB, free: 10.83 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001791/0.9494, allocations: 60.48 kB / 1.03 GB, free: 10.79 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001823/0.9496, allocations: 81.11 kB / 1.03 GB, free: 10.72 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001984/0.9498, allocations: 66.34 kB / 1.03 GB, free: 10.68 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.9498, allocations: 0 / 1.03 GB, free: 10.68 MB / 0.6511 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005218/0.9503, allocations: 190.2 kB / 1.03 GB, free: 10.53 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.292e-05/0.9504, allocations: 11.91 kB / 1.03 GB, free: 10.52 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.816e-06/0.9504, allocations: 4 kB / 1.03 GB, free: 10.51 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.923e-05/0.9504, allocations: 3.984 kB / 1.03 GB, free: 10.51 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002517/0.9507, allocations: 27.92 kB / 1.03 GB, free: 10.48 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.647e-06/0.9507, allocations: 4 kB / 1.03 GB, free: 10.48 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001344/0.9509, allocations: 12 kB / 1.03 GB, free: 10.46 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.346e-05/0.9509, allocations: 6.812 kB / 1.03 GB, free: 10.46 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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 0.0001099/0.951, allocations: 108.9 kB / 1.031 GB, free: 10.35 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.443e-05/0.9511, allocations: 15.81 kB / 1.031 GB, free: 10.33 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007506/0.9518, allocations: 258.8 kB / 1.031 GB, free: 10.12 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.065e-06/0.9519, allocations: 3.906 kB / 1.031 GB, free: 10.12 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/0.9519, allocations: 8 kB / 1.031 GB, free: 10.11 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.9519, allocations: 0 / 1.031 GB, free: 10.11 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003649/0.9523, allocations: 245 kB / 1.031 GB, free: 9.867 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.9523, allocations: 0 / 1.031 GB, free: 9.867 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002535/0.9526, allocations: 35.92 kB / 1.031 GB, free: 9.832 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.801e-06/0.9526, allocations: 0 / 1.031 GB, free: 9.832 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.706e-05/0.9526, allocations: 11.61 kB / 1.031 GB, free: 9.824 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.9526, allocations: 0 / 1.031 GB, free: 9.824 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.9526, allocations: 0 / 1.031 GB, free: 9.824 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005882/0.9532, allocations: 241.9 kB / 1.031 GB, free: 9.609 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001318/0.9534, allocations: 107.9 kB / 1.031 GB, free: 9.488 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.668e-05/0.9535, allocations: 2.625 kB / 1.031 GB, free: 9.488 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001326/0.9536, allocations: 4 kB / 1.031 GB, free: 9.484 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.587e-05/0.9537, allocations: 11.97 kB / 1.031 GB, free: 9.473 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.721e-05/0.9537, allocations: 10.75 kB / 1.031 GB, free: 9.465 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0002755/0.954, allocations: 178.4 kB / 1.032 GB, free: 9.324 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004372/0.9544, allocations: 47.06 kB / 1.032 GB, free: 9.281 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001012/0.9555, allocations: 370.5 kB / 1.032 GB, free: 9.012 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0004706/0.956, allocations: 157.8 kB / 1.032 GB, free: 8.902 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.956, allocations: 0 / 1.032 GB, free: 8.902 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002186/0.9562, allocations: 85.86 kB / 1.032 GB, free: 8.84 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000428/0.9566, allocations: 26.59 kB / 1.032 GB, free: 8.82 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000904/0.9576, allocations: 256.8 kB / 1.033 GB, free: 8.578 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005114/0.9581, allocations: 0.7665 MB / 1.033 GB, free: 7.789 MB / 0.6511 GB Notification: Performance of SimCode: time 1.032e-06/0.9581, allocations: 0 / 1.033 GB, free: 7.789 MB / 0.6511 GB Notification: Performance of Templates: time 0.009639/0.9678, allocations: 2.733 MB / 1.036 GB, free: 5.09 MB / 0.6511 GB