Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl.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.HeatExchangers.Examples.DryCoilCounterFlowPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl") translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.517/1.517, allocations: 285.5 MB / 292.8 MB, free: 10.49 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.001152/0.001153, allocations: 185.2 kB / 361.1 MB, free: 7.129 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.68/1.68, allocations: 205.1 MB / 0.6195 GB, free: 10.35 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.0009382/0.000938, allocations: 103.1 kB / 0.7326 GB, free: 44.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.278e-05/1.28e-05, allocations: 4 kB / 0.8511 GB, free: 3.031 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7271/0.7271, allocations: 115.3 MB / 0.9637 GB, free: 78.11 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.594/6.322, allocations: 2.386 GB / 3.35 GB, free: 89.93 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003177/6.322, allocations: 95.94 kB / 3.35 GB, free: 89.88 MB / 0.948 GB Notification: Performance of FrontEnd: time 8.4/14.72, allocations: 2.315 GB / 5.665 GB, free: 22.91 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.001257/14.72, allocations: 154.7 kB / 5.665 GB, free: 22.76 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.0243/14.75, allocations: 5.614 MB / 5.67 GB, free: 17.07 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 2.668e-05/14.75, allocations: 8.031 kB / 5.67 GB, free: 17.07 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01094/14.76, allocations: 1.374 MB / 5.672 GB, free: 15.68 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01995/14.78, allocations: 7.178 MB / 5.679 GB, free: 8.438 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001952/14.78, allocations: 132 kB / 5.679 GB, free: 8.309 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002054/14.78, allocations: 259.9 kB / 5.679 GB, free: 8.055 MB / 1.01 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01146/14.79, allocations: 4.803 MB / 5.684 GB, free: 3.242 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.585/15.38, allocations: 5.302 MB / 5.689 GB, free: 188.8 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001247/15.38, allocations: 9.906 kB / 5.689 GB, free: 188.8 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004786/15.38, allocations: 7.391 kB / 5.689 GB, free: 188.8 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001687/15.38, allocations: 206.4 kB / 5.689 GB, free: 188.8 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04149/15.42, allocations: 26.06 MB / 5.715 GB, free: 178.5 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007742/15.43, allocations: 3.827 MB / 5.718 GB, free: 178.2 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003727/15.43, allocations: 2.208 MB / 5.72 GB, free: 178.2 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001337/15.43, allocations: 1.086 MB / 5.721 GB, free: 177.1 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003477/15.44, allocations: 2.04 MB / 5.723 GB, free: 176.9 MB / 1.01 GB Notification: Performance of pre-optimization done (n=286): time 5.801e-06/15.44, allocations: 0 / 5.723 GB, free: 176.9 MB / 1.01 GB Notification: Performance of matching and sorting (n=290): time 0.02533/15.46, allocations: 10.07 MB / 5.733 GB, free: 174.3 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001083/15.46, allocations: 288.1 kB / 5.734 GB, free: 174 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006465/15.47, allocations: 3.974 MB / 5.737 GB, free: 173.7 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0008809/15.47, allocations: 33.3 kB / 5.737 GB, free: 173.7 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.002027/15.47, allocations: 1.581 MB / 5.739 GB, free: 173.1 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.002225/15.47, allocations: 0.9712 MB / 5.74 GB, free: 172.6 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001701/15.47, allocations: 2.734 kB / 5.74 GB, free: 172.6 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001864/15.47, allocations: 431.8 kB / 5.74 GB, free: 172.3 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002142/15.48, allocations: 1.541 MB / 5.742 GB, free: 172.3 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002615/15.48, allocations: 2.402 MB / 5.744 GB, free: 171.5 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003172/15.48, allocations: 2.088 MB / 5.746 GB, free: 171.4 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.367e-06/15.48, allocations: 3.812 kB / 5.746 GB, free: 171.4 MB / 1.01 GB Notification: Performance of matching and sorting (n=380) (initialization): time 0.008019/15.49, allocations: 4.46 MB / 5.751 GB, free: 171 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 0.001235/15.49, allocations: 5.843 MB / 5.756 GB, free: 164.9 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.266e-05/15.49, allocations: 11.41 kB / 5.756 GB, free: 164.9 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005834/15.49, allocations: 205.2 kB / 5.757 GB, free: 164.9 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003025/15.5, allocations: 0.6839 MB / 5.757 GB, free: 164.9 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002847/15.5, allocations: 3.328 MB / 5.76 GB, free: 162.5 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006835/15.5, allocations: 455.8 kB / 5.761 GB, free: 162.5 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005245/15.51, allocations: 126.8 kB / 5.761 GB, free: 162.5 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.139e-05/15.51, allocations: 3.625 kB / 5.761 GB, free: 162.5 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006646/15.51, allocations: 3.919 MB / 5.765 GB, free: 162.4 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.669e-05/15.51, allocations: 20.94 kB / 5.765 GB, free: 162.4 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006206/15.51, allocations: 217.3 kB / 5.765 GB, free: 162.4 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002825/15.52, allocations: 0.6646 MB / 5.766 GB, free: 162.4 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003797/15.52, allocations: 3.793 MB / 5.769 GB, free: 159.8 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006878/15.53, allocations: 447 kB / 5.77 GB, free: 159.8 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005888/15.53, allocations: 121.1 kB / 5.77 GB, free: 159.8 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.001233/15.53, allocations: 210.6 kB / 5.77 GB, free: 159.7 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001913/15.53, allocations: 466.4 kB / 5.771 GB, free: 159.4 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009091/15.54, allocations: 4.185 MB / 5.775 GB, free: 159.2 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.164e-05/15.54, allocations: 28.66 kB / 5.775 GB, free: 159.2 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.333e-05/15.54, allocations: 3.812 kB / 5.775 GB, free: 159.2 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005654/15.54, allocations: 3.479 MB / 5.778 GB, free: 159 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02663/15.57, allocations: 10.47 MB / 5.788 GB, free: 157.9 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-05/15.57, allocations: 3.969 kB / 5.788 GB, free: 157.9 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003563/15.58, allocations: 0.6288 MB / 5.789 GB, free: 157.9 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005977/15.58, allocations: 178.4 kB / 5.789 GB, free: 157.9 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005993/15.58, allocations: 55.36 kB / 5.789 GB, free: 157.9 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002943/15.58, allocations: 3.247 MB / 5.792 GB, free: 155.5 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-05/15.58, allocations: 6.375 kB / 5.792 GB, free: 155.5 MB / 1.01 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01441/15.59, allocations: 7.143 MB / 5.799 GB, free: 154.1 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005338/15.6, allocations: 1.121 MB / 5.8 GB, free: 153.8 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002404/15.6, allocations: 37.36 kB / 5.801 GB, free: 153.8 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006344/15.61, allocations: 394 kB / 5.801 GB, free: 153.7 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005316/15.61, allocations: 152.2 kB / 5.801 GB, free: 153.7 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000552/15.61, allocations: 120.7 kB / 5.801 GB, free: 153.7 MB / 1.01 GB Notification: Performance of sort global known variables: time 0.00791/15.62, allocations: 3.073 MB / 5.804 GB, free: 153.6 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.01851/15.64, allocations: 2.733 MB / 5.807 GB, free: 153.6 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.00703/15.64, allocations: 3.372 MB / 5.81 GB, free: 152.4 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0142/15.66, allocations: 6.387 MB / 5.816 GB, free: 151.9 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.042e-05/15.66, allocations: 4.844 kB / 5.816 GB, free: 151.9 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.003919/15.66, allocations: 2.009 MB / 5.818 GB, free: 151.8 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01679/15.68, allocations: 2.705 MB / 5.821 GB, free: 151.8 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03328/15.71, allocations: 10.6 MB / 5.831 GB, free: 149.8 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0107/15.72, allocations: 4.609 MB / 5.836 GB, free: 149 MB / 1.01 GB Notification: Performance of SimCode: time 1.963e-06/15.72, allocations: 0 / 5.836 GB, free: 149 MB / 1.01 GB Notification: Performance of Templates: time 0.2392/15.96, allocations: 134.9 MB / 5.968 GB, free: 142.9 MB / 1.01 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowPControl.pipe 2>&1)