Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.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.WetCoilCounterFlowPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl") translateModel(Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl") [: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.271/2.271, allocations: 284.9 MB / 292.2 MB, free: 10.81 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.001643/0.001643, allocations: 185.2 kB / 360.4 MB, free: 7.527 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.779/1.779, allocations: 205.1 MB / 0.6188 GB, free: 12.41 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.001269/0.001268, allocations: 86.56 kB / 0.7318 GB, free: 44.99 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.193e-05/1.212e-05, allocations: 0 / 0.8502 GB, free: 3.875 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6745/0.6746, allocations: 115.2 MB / 0.9628 GB, free: 78.02 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.464/6.139, allocations: 2.394 GB / 3.356 GB, free: 56.27 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003063/6.139, allocations: 94.22 kB / 3.356 GB, free: 56.22 MB / 0.948 GB Notification: Performance of FrontEnd: time 12.46/18.6, allocations: 2.677 GB / 6.034 GB, free: 6.066 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.001457/18.6, allocations: 163.1 kB / 6.034 GB, free: 5.91 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: 1244 * Number of variables: 1244 Notification: Performance of Generate backend data structure: time 0.5225/19.12, allocations: 6.147 MB / 6.04 GB, free: 180.6 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 5.116e-05/19.12, allocations: 8.031 kB / 6.04 GB, free: 180.6 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01587/19.14, allocations: 1.537 MB / 6.042 GB, free: 180.2 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02996/19.17, allocations: 7.548 MB / 6.049 GB, free: 179.6 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004319/19.17, allocations: 155.8 kB / 6.049 GB, free: 179.6 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002575/19.17, allocations: 298.3 kB / 6.049 GB, free: 179.6 MB / 1.01 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0207/19.19, allocations: 5.547 MB / 6.055 GB, free: 179.6 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02526/19.22, allocations: 6.057 MB / 6.061 GB, free: 179.1 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003211/19.22, allocations: 9.344 kB / 6.061 GB, free: 179.1 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002024/19.22, allocations: 5.062 kB / 6.061 GB, free: 179.1 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002779/19.22, allocations: 228.6 kB / 6.061 GB, free: 179.1 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07361/19.3, allocations: 28.55 MB / 6.089 GB, free: 168.5 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007223/19.3, allocations: 2.585 MB / 6.091 GB, free: 168.5 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00698/19.31, allocations: 2.538 MB / 6.094 GB, free: 168.5 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001878/19.31, allocations: 1.095 MB / 6.095 GB, free: 167.3 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007401/19.32, allocations: 2.344 MB / 6.097 GB, free: 167.2 MB / 1.01 GB Notification: Performance of pre-optimization done (n=326): time 9.899e-06/19.32, allocations: 3.312 kB / 6.097 GB, free: 167.2 MB / 1.01 GB Notification: Performance of matching and sorting (n=330): time 0.05019/19.37, allocations: 11.47 MB / 6.108 GB, free: 164.4 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001329/19.37, allocations: 306.7 kB / 6.109 GB, free: 164.1 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01333/19.38, allocations: 4.237 MB / 6.113 GB, free: 163.8 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.001206/19.39, allocations: 33.33 kB / 6.113 GB, free: 163.8 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.003898/19.39, allocations: 1.773 MB / 6.115 GB, free: 163.1 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.003677/19.39, allocations: 1.098 MB / 6.116 GB, free: 162.4 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004313/19.39, allocations: 0 / 6.116 GB, free: 162.4 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0003703/19.39, allocations: 451.3 kB / 6.116 GB, free: 162.1 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00503/19.4, allocations: 1.791 MB / 6.118 GB, free: 162.1 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006488/19.41, allocations: 2.695 MB / 6.12 GB, free: 161.2 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007479/19.41, allocations: 2.39 MB / 6.123 GB, free: 161.2 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.279e-05/19.41, allocations: 3.531 kB / 6.123 GB, free: 161.2 MB / 1.01 GB Notification: Performance of matching and sorting (n=424) (initialization): time 0.0175/19.43, allocations: 5.081 MB / 6.128 GB, free: 160.8 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 0.001487/19.43, allocations: 6.327 MB / 6.134 GB, free: 154 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001268/19.43, allocations: 17.12 kB / 6.134 GB, free: 154 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001099/19.43, allocations: 229.7 kB / 6.134 GB, free: 154 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007445/19.44, allocations: 0.7363 MB / 6.135 GB, free: 154 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004715/19.45, allocations: 3.35 MB / 6.138 GB, free: 151.6 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01139/19.46, allocations: 483.4 kB / 6.139 GB, free: 151.6 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001265/19.46, allocations: 141 kB / 6.139 GB, free: 151.6 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/19.46, allocations: 7.688 kB / 6.139 GB, free: 151.6 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01502/19.47, allocations: 4.513 MB / 6.143 GB, free: 151.5 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.969e-05/19.47, allocations: 14.66 kB / 6.143 GB, free: 151.5 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001026/19.47, allocations: 225 kB / 6.143 GB, free: 151.4 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007411/19.48, allocations: 0.7256 MB / 6.144 GB, free: 151.4 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007222/19.49, allocations: 3.933 MB / 6.148 GB, free: 148.9 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01154/19.5, allocations: 471.6 kB / 6.148 GB, free: 148.8 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001204/19.5, allocations: 138.9 kB / 6.148 GB, free: 148.8 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 61 * 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 (399): * Single equations (assignments): 393 * 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 10} Notification: Performance of prepare postOptimizeDAE: time 0.00145/19.5, allocations: 215.7 kB / 6.149 GB, free: 148.7 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002098/19.51, allocations: 495 kB / 6.149 GB, free: 148.4 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01695/19.52, allocations: 4.832 MB / 6.154 GB, free: 148.2 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.113e-05/19.52, allocations: 36.05 kB / 6.154 GB, free: 148.2 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.608e-05/19.52, allocations: 6.281 kB / 6.154 GB, free: 148.2 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01238/19.53, allocations: 4.027 MB / 6.158 GB, free: 148 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03813/19.57, allocations: 11.57 MB / 6.169 GB, free: 147.1 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.17e-05/19.57, allocations: 3.469 kB / 6.169 GB, free: 147.1 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007516/19.58, allocations: 0.707 MB / 6.17 GB, free: 147.1 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008862/19.58, allocations: 183.1 kB / 6.17 GB, free: 147 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008714/19.58, allocations: 58.33 kB / 6.17 GB, free: 147 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004078/19.59, allocations: 3.246 MB / 6.173 GB, free: 144.7 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.364e-05/19.59, allocations: 10.89 kB / 6.173 GB, free: 144.7 MB / 1.01 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02311/19.61, allocations: 8.215 MB / 6.181 GB, free: 143.3 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006067/19.62, allocations: 1.224 MB / 6.182 GB, free: 142.9 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002609/19.62, allocations: 31.22 kB / 6.182 GB, free: 142.9 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009671/19.63, allocations: 414.8 kB / 6.183 GB, free: 142.9 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001098/19.63, allocations: 175.7 kB / 6.183 GB, free: 142.9 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005526/19.63, allocations: 136.2 kB / 6.183 GB, free: 142.9 MB / 1.01 GB Notification: Performance of sort global known variables: time 0.009527/19.64, allocations: 3.283 MB / 6.186 GB, free: 142.7 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.02166/19.66, allocations: 2.903 MB / 6.189 GB, free: 142.7 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 (318): * Single equations (assignments): 310 * 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.007618/19.67, allocations: 3.453 MB / 6.193 GB, free: 141.5 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.02041/19.69, allocations: 7.3 MB / 6.2 GB, free: 141 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.129e-05/19.69, allocations: 4.844 kB / 6.2 GB, free: 141 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.006424/19.7, allocations: 2.322 MB / 6.202 GB, free: 140.9 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02717/19.72, allocations: 2.81 MB / 6.205 GB, free: 140.8 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04101/19.76, allocations: 11.76 MB / 6.216 GB, free: 138.8 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01444/19.78, allocations: 5.107 MB / 6.221 GB, free: 137.9 MB / 1.01 GB Notification: Performance of SimCode: time 2.265e-06/19.78, allocations: 0 / 6.221 GB, free: 137.9 MB / 1.01 GB Notification: Performance of Templates: time 0.3758/20.15, allocations: 145.2 MB / 6.363 GB, free: 111.7 MB / 1.01 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.pipe 2>&1)