Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example1v1.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: translateModel(Buildings.Fluid.Examples.Performance.Example1v1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example1v1") translateModel(Buildings.Fluid.Examples.Performance.Example1v1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example1v1") [: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.64/1.64, allocations: 285.5 MB / 292.8 MB, free: 10.47 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.001435/0.001435, allocations: 177.3 kB / 361.1 MB, free: 7.125 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.628/1.628, allocations: 205.1 MB / 0.6195 GB, free: 10.33 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.001217/0.001217, allocations: 96.61 kB / 0.7326 GB, free: 44.28 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.969e-06/9.989e-06, allocations: 4 kB / 0.8511 GB, free: 3.02 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7953/0.7953, allocations: 115.3 MB / 0.9637 GB, free: 78.33 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.067/1.863, allocations: 420.6 MB / 1.374 GB, free: 146 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002499/1.863, allocations: 92.23 kB / 1.375 GB, free: 145.9 MB / 0.8542 GB Notification: Performance of FrontEnd: time 4.44/6.303, allocations: 1.308 GB / 2.682 GB, free: 12.09 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0008357/6.304, allocations: 95.89 kB / 2.682 GB, free: 12 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 398 * Number of variables: 398 Notification: Performance of Generate backend data structure: time 0.01436/6.318, allocations: 3.402 MB / 2.686 GB, free: 8.531 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.54e-05/6.318, allocations: 12.03 kB / 2.686 GB, free: 8.52 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004169/6.322, allocations: 0.55 MB / 2.686 GB, free: 7.965 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01573/6.338, allocations: 4.346 MB / 2.69 GB, free: 3.555 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001644/6.338, allocations: 59.91 kB / 2.69 GB, free: 3.496 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008794/6.339, allocations: 112 kB / 2.691 GB, free: 3.387 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004225/6.343, allocations: 1.638 MB / 2.692 GB, free: 1.742 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4874/6.831, allocations: 1.829 MB / 2.694 GB, free: 234.2 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.947e-05/6.831, allocations: 7.625 kB / 2.694 GB, free: 234.2 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001757/6.831, allocations: 3.844 kB / 2.694 GB, free: 234.2 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.416e-05/6.831, allocations: 42.81 kB / 2.694 GB, free: 234.2 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01464/6.846, allocations: 11.53 MB / 2.705 GB, free: 228.2 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001701/6.847, allocations: 1.207 MB / 2.706 GB, free: 228.1 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001082/6.849, allocations: 0.9116 MB / 2.707 GB, free: 228.1 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005723/6.854, allocations: 3.362 MB / 2.711 GB, free: 226.5 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008453/6.855, allocations: 0.6545 MB / 2.711 GB, free: 226.4 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=98): time 3.497e-06/6.855, allocations: 0.9375 kB / 2.711 GB, free: 226.4 MB / 0.9636 GB Notification: Performance of matching and sorting (n=98): time 0.004426/6.86, allocations: 2.017 MB / 2.713 GB, free: 226.2 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.647e-05/6.86, allocations: 63.58 kB / 2.713 GB, free: 226.1 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003201/6.863, allocations: 2.233 MB / 2.715 GB, free: 225.9 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0001175/6.863, allocations: 29.17 kB / 2.715 GB, free: 225.9 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007434/6.864, allocations: 0.8412 MB / 2.716 GB, free: 225.5 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.000332/6.864, allocations: 338.5 kB / 2.717 GB, free: 225.4 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.262e-05/6.864, allocations: 0 / 2.717 GB, free: 225.4 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.000104/6.864, allocations: 361.8 kB / 2.717 GB, free: 225.1 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000762/6.865, allocations: 0.5536 MB / 2.717 GB, free: 225.1 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001115/6.866, allocations: 1.297 MB / 2.719 GB, free: 224.1 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001861/6.868, allocations: 0.8589 MB / 2.72 GB, free: 224.1 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.356e-06/6.868, allocations: 4.969 kB / 2.72 GB, free: 224.1 MB / 0.9636 GB Notification: Performance of matching and sorting (n=181) (initialization): time 0.004868/6.873, allocations: 2.473 MB / 2.722 GB, free: 223.9 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.00145/6.874, allocations: 5.897 MB / 2.728 GB, free: 217.6 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.444e-05/6.874, allocations: 14.25 kB / 2.728 GB, free: 217.6 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001104/6.876, allocations: 444.9 kB / 2.728 GB, free: 217.6 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001204/6.877, allocations: 289.7 kB / 2.728 GB, free: 217.6 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00197/6.879, allocations: 2.076 MB / 2.73 GB, free: 216.5 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002918/6.882, allocations: 217.5 kB / 2.731 GB, free: 216.5 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001793/6.882, allocations: 83.55 kB / 2.731 GB, free: 216.5 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.085e-05/6.882, allocations: 6.938 kB / 2.731 GB, free: 216.5 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003765/6.886, allocations: 2.062 MB / 2.733 GB, free: 216.3 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.715e-05/6.886, allocations: 13.56 kB / 2.733 GB, free: 216.3 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008385/6.887, allocations: 414.2 kB / 2.733 GB, free: 216.3 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001144/6.888, allocations: 280.4 kB / 2.733 GB, free: 216.2 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005893/6.894, allocations: 5.39 MB / 2.739 GB, free: 213.6 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002762/6.896, allocations: 186.4 kB / 2.739 GB, free: 213.6 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001812/6.897, allocations: 76.69 kB / 2.739 GB, free: 213.6 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 61 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,from_dp.y,allowFlowReversal.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (133): * Single equations (assignments): 129 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 40,2 5} Notification: Performance of prepare postOptimizeDAE: time 0.0005602/6.897, allocations: 154.5 kB / 2.739 GB, free: 213.5 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005048/6.898, allocations: 281.8 kB / 2.739 GB, free: 213.3 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005104/6.903, allocations: 2.334 MB / 2.742 GB, free: 213.2 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.94e-05/6.903, allocations: 15 kB / 2.742 GB, free: 213.2 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/6.903, allocations: 0 / 2.742 GB, free: 213.2 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003085/6.906, allocations: 1.906 MB / 2.744 GB, free: 212.8 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01067/6.917, allocations: 3.931 MB / 2.747 GB, free: 212.3 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.505e-06/6.917, allocations: 3.781 kB / 2.747 GB, free: 212.3 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00095/6.918, allocations: 169.4 kB / 2.748 GB, free: 212.3 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008692/6.919, allocations: 395.4 kB / 2.748 GB, free: 212.3 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001107/6.919, allocations: 18.44 kB / 2.748 GB, free: 212.3 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001746/6.92, allocations: 1.911 MB / 2.75 GB, free: 211.2 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.355e-06/6.92, allocations: 10.78 kB / 2.75 GB, free: 211.2 MB / 0.9636 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005309/6.926, allocations: 2.902 MB / 2.753 GB, free: 210.8 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00209/6.928, allocations: 0.4884 MB / 2.753 GB, free: 210.5 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001413/6.929, allocations: 11.28 kB / 2.753 GB, free: 210.5 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002282/6.932, allocations: 125.1 kB / 2.753 GB, free: 210.5 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002103/6.932, allocations: 82.27 kB / 2.753 GB, free: 210.5 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001121/6.932, allocations: 46.55 kB / 2.753 GB, free: 210.5 MB / 0.9636 GB Notification: Performance of sort global known variables: time 0.003539/6.935, allocations: 1.704 MB / 2.755 GB, free: 210.4 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.007113/6.943, allocations: 1.369 MB / 2.756 GB, free: 210.3 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (pump.vol.dynBal.U,hea.outCon.T) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 5,1 40} Notification: Performance of Backend phase and start with SimCode phase: time 0.002999/6.946, allocations: 1.029 MB / 2.757 GB, free: 210.1 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.004485/6.95, allocations: 2.715 MB / 2.76 GB, free: 209.8 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/6.95, allocations: 0 / 2.76 GB, free: 209.8 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0009519/6.951, allocations: 0.6927 MB / 2.761 GB, free: 209.8 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005203/6.956, allocations: 1.026 MB / 2.762 GB, free: 209.8 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008561/6.965, allocations: 4.056 MB / 2.766 GB, free: 208.9 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002011/6.967, allocations: 2.332 MB / 2.768 GB, free: 208.1 MB / 0.9636 GB Notification: Performance of SimCode: time 1.112e-06/6.967, allocations: 3.5 kB / 2.768 GB, free: 208.1 MB / 0.9636 GB Notification: Performance of Templates: time 0.1061/7.073, allocations: 58.97 MB / 2.826 GB, free: 206.9 MB / 0.9636 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example1v1.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example1v1.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example1v1.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example1v1.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example1v1.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example1v1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example1v1.pipe 2>&1)