Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.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: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Examples_WetCoilCounterFlowPControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Examples_WetCoilCounterFlowPControl",fmuType="me",version="2.0",platforms={"static"}) [: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.385/1.385, 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.0009835/0.0009835, allocations: 185.2 kB / 361.1 MB, free: 7.062 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.117/1.117, allocations: 205.1 MB / 0.6195 GB, free: 10.34 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.0008289/0.0008289, allocations: 99.14 kB / 0.7326 GB, free: 44.23 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2048/0.2057, allocations: 121.4 MB / 0.8511 GB, free: 2.859 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5212/0.7269, allocations: 115.3 MB / 0.9637 GB, free: 78.2 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.902/4.629, allocations: 2.394 GB / 3.358 GB, free: 92.37 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002183/4.629, allocations: 96.64 kB / 3.358 GB, free: 92.27 MB / 0.948 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 7.653/12.28, allocations: 2.683 GB / 6.041 GB, free: 31.23 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/12.28, allocations: 8 kB / 6.041 GB, free: 31.23 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009692/12.29, allocations: 1.537 MB / 6.043 GB, free: 29.68 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01806/12.31, allocations: 7.557 MB / 6.05 GB, free: 22.07 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002887/12.31, allocations: 155.1 kB / 6.05 GB, free: 21.92 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001949/12.31, allocations: 292 kB / 6.05 GB, free: 21.63 MB / 1.01 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01147/12.32, allocations: 5.556 MB / 6.056 GB, free: 16.07 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01137/12.34, allocations: 6.052 MB / 6.062 GB, free: 9.879 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001061/12.34, allocations: 11.98 kB / 6.062 GB, free: 9.867 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005089/12.34, allocations: 4 kB / 6.062 GB, free: 9.863 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001493/12.34, allocations: 233.4 kB / 6.062 GB, free: 9.633 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4288/12.76, allocations: 28.54 MB / 6.09 GB, free: 176 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003388/12.77, allocations: 2.586 MB / 6.092 GB, free: 176 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002831/12.77, allocations: 2.528 MB / 6.095 GB, free: 176 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009671/12.77, allocations: 1.09 MB / 6.096 GB, free: 174.9 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002826/12.77, allocations: 2.348 MB / 6.098 GB, free: 174.7 MB / 1.01 GB Notification: Performance of pre-optimization done (n=326): time 6.422e-06/12.77, allocations: 0 / 6.098 GB, free: 174.7 MB / 1.01 GB Notification: Performance of matching and sorting (n=330): time 0.02499/12.8, allocations: 11.48 MB / 6.109 GB, free: 171.9 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.314e-05/12.8, allocations: 294.1 kB / 6.11 GB, free: 171.6 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006175/12.81, allocations: 4.248 MB / 6.114 GB, free: 171.3 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0008029/12.81, allocations: 29.17 kB / 6.114 GB, free: 171.3 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.002048/12.81, allocations: 1.774 MB / 6.116 GB, free: 170.7 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.002377/12.81, allocations: 1.103 MB / 6.117 GB, free: 170.1 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001949/12.81, allocations: 0 / 6.117 GB, free: 170.1 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001794/12.81, allocations: 447 kB / 6.117 GB, free: 169.8 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002303/12.81, allocations: 1.791 MB / 6.119 GB, free: 169.8 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002647/12.82, allocations: 2.692 MB / 6.121 GB, free: 168.9 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003283/12.82, allocations: 2.391 MB / 6.124 GB, free: 168.8 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.738e-06/12.82, allocations: 5.969 kB / 6.124 GB, free: 168.8 MB / 1.01 GB Notification: Performance of matching and sorting (n=424) (initialization): time 0.008078/12.83, allocations: 5.07 MB / 6.129 GB, free: 168.4 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009959/12.83, allocations: 6.33 MB / 6.135 GB, free: 161.7 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.106e-05/12.83, allocations: 21.53 kB / 6.135 GB, free: 161.7 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000565/12.83, allocations: 222.5 kB / 6.135 GB, free: 161.6 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003306/12.83, allocations: 0.7345 MB / 6.136 GB, free: 161.6 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002568/12.84, allocations: 3.364 MB / 6.139 GB, free: 159.3 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00647/12.84, allocations: 485.4 kB / 6.14 GB, free: 159.2 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000631/12.84, allocations: 140.4 kB / 6.14 GB, free: 159.2 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 7.845e-06/12.84, allocations: 0 / 6.14 GB, free: 159.2 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007345/12.85, allocations: 4.514 MB / 6.144 GB, free: 159.1 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.751e-05/12.85, allocations: 15.09 kB / 6.144 GB, free: 159.1 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005779/12.85, allocations: 221.9 kB / 6.144 GB, free: 159.1 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003074/12.85, allocations: 0.7251 MB / 6.145 GB, free: 159.1 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003663/12.86, allocations: 3.928 MB / 6.149 GB, free: 156.6 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006302/12.86, allocations: 475.3 kB / 6.149 GB, free: 156.5 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006147/12.86, allocations: 138.6 kB / 6.15 GB, free: 156.5 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.0009397/12.87, allocations: 220.9 kB / 6.15 GB, free: 156.4 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001348/12.87, allocations: 493.8 kB / 6.15 GB, free: 156.2 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008018/12.87, allocations: 4.836 MB / 6.155 GB, free: 155.9 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.816e-05/12.88, allocations: 30.44 kB / 6.155 GB, free: 155.9 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.141e-05/12.88, allocations: 7.031 kB / 6.155 GB, free: 155.9 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005677/12.88, allocations: 4.039 MB / 6.159 GB, free: 155.7 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02484/12.91, allocations: 11.55 MB / 6.17 GB, free: 154.8 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.602e-05/12.91, allocations: 16.98 kB / 6.17 GB, free: 154.8 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003467/12.91, allocations: 0.7074 MB / 6.171 GB, free: 154.8 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004875/12.91, allocations: 178.1 kB / 6.171 GB, free: 154.8 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004225/12.91, allocations: 56.53 kB / 6.171 GB, free: 154.8 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002429/12.91, allocations: 3.247 MB / 6.174 GB, free: 152.4 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.021e-05/12.91, allocations: 7.844 kB / 6.174 GB, free: 152.4 MB / 1.01 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.012/12.92, allocations: 8.219 MB / 6.182 GB, free: 151 MB / 1.01 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01402/12.94, allocations: 11.75 MB / 6.194 GB, free: 149.2 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00378/12.94, allocations: 1.22 MB / 6.195 GB, free: 148.8 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001458/12.94, allocations: 32.28 kB / 6.195 GB, free: 148.8 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004947/12.95, allocations: 410.4 kB / 6.195 GB, free: 148.8 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003602/12.95, allocations: 181.2 kB / 6.196 GB, free: 148.8 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003168/12.95, allocations: 124.3 kB / 6.196 GB, free: 148.8 MB / 1.01 GB Notification: Performance of sort global known variables: time 0.005511/12.96, allocations: 3.287 MB / 6.199 GB, free: 148.6 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.01708/12.97, allocations: 3.771 MB / 6.203 GB, free: 148.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 (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.004707/12.98, allocations: 3.44 MB / 6.206 GB, free: 147.5 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.01108/12.99, allocations: 7.304 MB / 6.213 GB, free: 147 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.487e-05/12.99, allocations: 7.766 kB / 6.213 GB, free: 147 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.003084/12.99, allocations: 2.315 MB / 6.215 GB, free: 146.8 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01453/13.01, allocations: 2.817 MB / 6.218 GB, free: 146.8 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02251/13.03, allocations: 11.79 MB / 6.23 GB, free: 144.7 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006219/13.03, allocations: 5.167 MB / 6.235 GB, free: 143.9 MB / 1.01 GB Notification: Performance of SimCode: time 1.923e-06/13.03, allocations: 0 / 6.235 GB, free: 143.9 MB / 1.01 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Examples_WetCoilCounterFlowPControl_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Examples_WetCoilCounterFlowPControl.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.pipe 2>&1)