Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl") translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl") [: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 8.0.0/package.mo): time 2.222/2.222, allocations: 284.9 MB / 292.2 MB, free: 10.75 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001684/0.001684, allocations: 185.3 kB / 360.4 MB, free: 7.512 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.815/1.815, allocations: 205.1 MB / 0.6188 GB, free: 12.46 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001308/0.001307, allocations: 92.53 kB / 0.7318 GB, free: 45 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.651e-05/1.671e-05, allocations: 4 kB / 0.8502 GB, free: 3.875 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6481/0.6482, allocations: 115.2 MB / 0.9628 GB, free: 77.98 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.539/6.187, allocations: 2.386 GB / 3.349 GB, free: 64.59 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003382/6.187, allocations: 90.84 kB / 3.349 GB, free: 64.55 MB / 0.948 GB Notification: Performance of FrontEnd: time 10.97/17.16, allocations: 2.315 GB / 5.664 GB, free: 110.6 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.001428/17.16, allocations: 151.9 kB / 5.664 GB, free: 110.6 MB / 1.01 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1076 * Number of variables: 1076 Notification: Performance of Generate backend data structure: time 0.02766/17.19, allocations: 5.615 MB / 5.669 GB, free: 108.9 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.679e-05/17.19, allocations: 8.188 kB / 5.669 GB, free: 108.9 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0142/17.2, allocations: 1.373 MB / 5.671 GB, free: 108.6 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02903/17.23, allocations: 7.175 MB / 5.678 GB, free: 107.9 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003539/17.23, allocations: 134.3 kB / 5.678 GB, free: 107.9 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002373/17.23, allocations: 259.7 kB / 5.678 GB, free: 107.9 MB / 1.01 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01798/17.25, allocations: 4.802 MB / 5.683 GB, free: 107.8 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02194/17.27, allocations: 5.299 MB / 5.688 GB, free: 107.4 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002478/17.27, allocations: 9.531 kB / 5.688 GB, free: 107.4 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001532/17.28, allocations: 5.562 kB / 5.688 GB, free: 107.4 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000245/17.28, allocations: 207 kB / 5.688 GB, free: 107.4 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06624/17.34, allocations: 26.08 MB / 5.713 GB, free: 96.68 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01039/17.35, allocations: 3.826 MB / 5.717 GB, free: 96.34 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005893/17.36, allocations: 2.21 MB / 5.719 GB, free: 96.32 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001671/17.36, allocations: 1.086 MB / 5.72 GB, free: 95.19 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006/17.37, allocations: 2.036 MB / 5.722 GB, free: 95.03 MB / 1.01 GB Notification: Performance of pre-optimization done (n=286): time 6.943e-06/17.37, allocations: 0.7188 kB / 5.722 GB, free: 95.03 MB / 1.01 GB Notification: Performance of matching and sorting (n=290): time 0.04426/17.41, allocations: 10.07 MB / 5.732 GB, free: 92.32 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001407/17.41, allocations: 288.9 kB / 5.733 GB, free: 92 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01256/17.42, allocations: 3.97 MB / 5.736 GB, free: 91.71 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.001127/17.42, allocations: 32.3 kB / 5.736 GB, free: 91.68 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.003368/17.43, allocations: 1.585 MB / 5.738 GB, free: 90.88 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.003271/17.43, allocations: 0.9762 MB / 5.739 GB, free: 90.23 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003674/17.43, allocations: 0 / 5.739 GB, free: 90.23 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.000325/17.43, allocations: 426.6 kB / 5.739 GB, free: 89.93 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004333/17.44, allocations: 1.545 MB / 5.741 GB, free: 89.92 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005714/17.44, allocations: 2.404 MB / 5.743 GB, free: 89.07 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00655/17.45, allocations: 2.086 MB / 5.745 GB, free: 89.02 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.939e-05/17.45, allocations: 3.812 kB / 5.745 GB, free: 89.02 MB / 1.01 GB Notification: Performance of matching and sorting (n=380) (initialization): time 0.01552/17.46, allocations: 4.458 MB / 5.75 GB, free: 88.65 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 0.001433/17.47, allocations: 5.847 MB / 5.755 GB, free: 82.54 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001145/17.47, allocations: 18.16 kB / 5.755 GB, free: 82.54 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001051/17.47, allocations: 205.3 kB / 5.756 GB, free: 82.52 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006715/17.47, allocations: 0.6805 MB / 5.756 GB, free: 82.52 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004649/17.48, allocations: 3.33 MB / 5.759 GB, free: 80.13 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01068/17.49, allocations: 454.2 kB / 5.76 GB, free: 80.09 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001149/17.49, allocations: 122.6 kB / 5.76 GB, free: 80.09 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/17.49, allocations: 3.875 kB / 5.76 GB, free: 80.09 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0131/17.5, allocations: 3.928 MB / 5.764 GB, free: 79.99 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.071e-05/17.5, allocations: 21.61 kB / 5.764 GB, free: 79.99 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009959/17.5, allocations: 211.4 kB / 5.764 GB, free: 79.97 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006437/17.51, allocations: 0.6614 MB / 5.765 GB, free: 79.97 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006248/17.52, allocations: 3.808 MB / 5.768 GB, free: 77.42 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01065/17.53, allocations: 444.2 kB / 5.769 GB, free: 77.39 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00116/17.53, allocations: 121.6 kB / 5.769 GB, free: 77.39 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 57 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,TSet.a,TSet.b,TSet.last,$PRE.TSet.nextEvent,TSet.nextEvent,TSet.nextEventScaled,con.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (357): * Single equations (assignments): 351 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 7} * Non-linear torn systems: 1 {2 8} Notification: Performance of prepare postOptimizeDAE: time 0.001389/17.53, allocations: 206.8 kB / 5.769 GB, free: 77.24 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001948/17.53, allocations: 462.3 kB / 5.77 GB, free: 77.01 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01562/17.55, allocations: 4.174 MB / 5.774 GB, free: 76.8 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.561e-05/17.55, allocations: 33.73 kB / 5.774 GB, free: 76.8 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.425e-05/17.55, allocations: 0 / 5.774 GB, free: 76.8 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01102/17.56, allocations: 3.482 MB / 5.777 GB, free: 76.54 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03371/17.59, allocations: 10.48 MB / 5.787 GB, free: 75.43 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.155e-05/17.59, allocations: 3.844 kB / 5.787 GB, free: 75.43 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006583/17.6, allocations: 0.6302 MB / 5.788 GB, free: 75.43 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008486/17.6, allocations: 179.4 kB / 5.788 GB, free: 75.41 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007935/17.6, allocations: 53.89 kB / 5.788 GB, free: 75.41 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004014/17.61, allocations: 3.238 MB / 5.791 GB, free: 73.04 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.224e-05/17.61, allocations: 9.375 kB / 5.791 GB, free: 73.04 MB / 1.01 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01846/17.62, allocations: 7.145 MB / 5.798 GB, free: 71.64 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005581/17.63, allocations: 1.12 MB / 5.799 GB, free: 71.31 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002307/17.63, allocations: 33.08 kB / 5.799 GB, free: 71.31 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008871/17.64, allocations: 386.3 kB / 5.8 GB, free: 71.29 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009442/17.64, allocations: 164.2 kB / 5.8 GB, free: 71.28 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005189/17.64, allocations: 113.6 kB / 5.8 GB, free: 71.28 MB / 1.01 GB Notification: Performance of sort global known variables: time 0.009041/17.65, allocations: 3.073 MB / 5.803 GB, free: 71.1 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.01966/17.67, allocations: 2.737 MB / 5.806 GB, free: 71.03 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 21 (temSen.T,val.filter.x[1],val.filter.x[2],hex.ele[1].vol1.dynBal.U,hex.ele[1].vol2.dynBal.U,hex.ele[1].vol2.dynBal.mXi[1],hex.ele[1].mas.T,hex.ele[2].vol1.dynBal.U,hex.ele[2].vol2.dynBal.U,hex.ele[2].vol2.dynBal.mXi[1],hex.ele[2].mas.T,hex.ele[3].vol1.dynBal.U,hex.ele[3].vol2.dynBal.U,hex.ele[3].vol2.dynBal.mXi[1],hex.ele[3].mas.T,hex.ele[4].vol1.dynBal.U,hex.ele[4].vol2.dynBal.U,hex.ele[4].vol2.dynBal.m,hex.ele[4].vol2.dynBal.mXi[1],hex.ele[4].mas.T,con.I.y) * Number of discrete variables: 6 ($whenCondition1,TSet.a,TSet.b,TSet.last,TSet.nextEvent,TSet.nextEventScaled) * Number of discrete states: 6 (TSet.nextEvent,TSet.last,TSet.nextEventScaled,TSet.b,TSet.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (278): * Single equations (assignments): 270 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 7} * Non-linear torn systems: 1 {2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.007229/17.68, allocations: 3.367 MB / 5.809 GB, free: 69.85 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0175/17.7, allocations: 6.387 MB / 5.815 GB, free: 69.33 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.707e-05/17.7, allocations: 5.156 kB / 5.815 GB, free: 69.33 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.005464/17.7, allocations: 2.012 MB / 5.817 GB, free: 69.18 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02714/17.73, allocations: 2.706 MB / 5.82 GB, free: 69.14 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03686/17.77, allocations: 10.61 MB / 5.83 GB, free: 67.19 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0124/17.78, allocations: 4.615 MB / 5.835 GB, free: 66.34 MB / 1.01 GB Notification: Performance of SimCode: time 1.552e-06/17.78, allocations: 3.688 kB / 5.835 GB, free: 66.34 MB / 1.01 GB Notification: Performance of Templates: time 0.3387/18.12, allocations: 134.9 MB / 5.967 GB, free: 38.91 MB / 1.01 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl.pipe 2>&1)