Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow.conf.json 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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowMassFlow,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_HeatExchangers_Examples_WetCoilCounterFlowMassFlow",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 7.0.1/package.mo): time 2.247/2.247, allocations: 248.6 MB / 255.9 MB, free: 7.145 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002384/0.002383, allocations: 194.8 kB / 315.1 MB, free: 4.262 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.795/1.795, allocations: 205.1 MB / 0.5658 GB, free: 368 kB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001339/0.001339, allocations: 86.47 kB / 0.67 GB, free: 5.574 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4625/0.4639, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2349/0.6988, allocations: 106.2 MB / 0.8835 GB, free: 13.37 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.272/6.971, allocations: 2.492 GB / 3.376 GB, free: 202.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004144/6.972, allocations: 94.88 kB / 3.376 GB, free: 202.2 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1197 * Number of variables: 1197 Notification: Performance of Generate backend data structure: time 11.41/18.38, allocations: 2.364 GB / 5.74 GB, free: 87 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.828e-05/18.38, allocations: 10.91 kB / 5.74 GB, free: 87 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01475/18.4, allocations: 1.457 MB / 5.742 GB, free: 86.64 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02748/18.43, allocations: 7.214 MB / 5.749 GB, free: 85.77 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003531/18.43, allocations: 147.9 kB / 5.749 GB, free: 85.77 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002512/18.43, allocations: 280.4 kB / 5.749 GB, free: 85.77 MB / 0.9167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02006/18.45, allocations: 5.425 MB / 5.754 GB, free: 85.75 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02356/18.47, allocations: 5.866 MB / 5.76 GB, free: 85.36 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002356/18.47, allocations: 6.719 kB / 5.76 GB, free: 85.36 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0017/18.48, allocations: 6.781 kB / 5.76 GB, free: 85.36 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002658/18.48, allocations: 220 kB / 5.76 GB, free: 85.35 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08334/18.56, allocations: 27.08 MB / 5.787 GB, free: 75.41 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006658/18.57, allocations: 2.51 MB / 5.789 GB, free: 75.38 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005665/18.57, allocations: 2.421 MB / 5.791 GB, free: 75.35 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001706/18.57, allocations: 1.093 MB / 5.793 GB, free: 74.22 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007901/18.58, allocations: 2.313 MB / 5.795 GB, free: 74.03 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=313): time 1.028e-05/18.58, allocations: 0 / 5.795 GB, free: 74.03 MB / 0.9167 GB Notification: Performance of matching and sorting (n=317): time 0.04424/18.63, allocations: 11.14 MB / 5.806 GB, free: 71.28 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.526e-05/18.63, allocations: 190.3 kB / 5.806 GB, free: 71.09 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009866/18.64, allocations: 3.975 MB / 5.81 GB, free: 70.8 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.001004/18.64, allocations: 35.27 kB / 5.81 GB, free: 70.77 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.002459/18.64, allocations: 1.681 MB / 5.811 GB, free: 69.9 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.003046/18.64, allocations: 1.039 MB / 5.812 GB, free: 69.21 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003153/18.64, allocations: 3.031 kB / 5.812 GB, free: 69.21 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0002642/18.64, allocations: 443.5 kB / 5.813 GB, free: 68.9 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004124/18.65, allocations: 1.718 MB / 5.815 GB, free: 68.89 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004847/18.65, allocations: 2.521 MB / 5.817 GB, free: 68.12 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007235/18.66, allocations: 2.349 MB / 5.819 GB, free: 68.07 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.239e-05/18.66, allocations: 3.969 kB / 5.819 GB, free: 68.07 MB / 0.9167 GB Notification: Performance of matching and sorting (n=398) (initialization): time 0.01438/18.67, allocations: 4.805 MB / 5.824 GB, free: 67.73 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.001335/18.67, allocations: 5.762 MB / 5.83 GB, free: 61.86 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.028e-05/18.67, allocations: 11.53 kB / 5.83 GB, free: 61.86 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007294/18.68, allocations: 130.7 kB / 5.83 GB, free: 61.85 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006904/18.68, allocations: 0.6887 MB / 5.83 GB, free: 61.85 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003534/18.69, allocations: 2.615 MB / 5.833 GB, free: 59.99 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01043/18.7, allocations: 437.4 kB / 5.833 GB, free: 59.95 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001148/18.7, allocations: 130.8 kB / 5.834 GB, free: 59.95 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/18.7, allocations: 3.188 kB / 5.834 GB, free: 59.95 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01349/18.71, allocations: 4.32 MB / 5.838 GB, free: 59.86 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.24e-05/18.71, allocations: 12.59 kB / 5.838 GB, free: 59.86 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005938/18.71, allocations: 123.9 kB / 5.838 GB, free: 59.85 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006459/18.72, allocations: 0.6777 MB / 5.839 GB, free: 59.85 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00322/18.72, allocations: 2.001 MB / 5.841 GB, free: 58.57 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01014/18.73, allocations: 427.1 kB / 5.841 GB, free: 58.54 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001092/18.73, allocations: 122.9 kB / 5.841 GB, free: 58.54 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 57 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition1,$whenCondition2,mWatGai.a,mWatGai.b,mWatGai.last,$PRE.mWatGai.nextEvent,mWatGai.nextEvent,mWatGai.nextEventScaled,mAirGai.a,mAirGai.b,mAirGai.last,$PRE.mAirGai.nextEvent,mAirGai.nextEvent,mAirGai.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (381): * Single equations (assignments): 377 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * 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: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00131/18.73, allocations: 247.8 kB / 5.841 GB, free: 58.36 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001867/18.74, allocations: 451.7 kB / 5.842 GB, free: 58.13 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01554/18.75, allocations: 4.658 MB / 5.846 GB, free: 57.93 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.142e-05/18.75, allocations: 33.22 kB / 5.846 GB, free: 57.92 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.761e-05/18.75, allocations: 3.812 kB / 5.846 GB, free: 57.92 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01309/18.77, allocations: 3.922 MB / 5.85 GB, free: 57.67 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03737/18.8, allocations: 11.3 MB / 5.861 GB, free: 56.04 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.636e-05/18.8, allocations: 4.594 kB / 5.861 GB, free: 56.04 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007239/18.81, allocations: 0.6772 MB / 5.862 GB, free: 56.02 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006737/18.81, allocations: 107 kB / 5.862 GB, free: 55.99 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008384/18.81, allocations: 54.78 kB / 5.862 GB, free: 55.97 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003482/18.82, allocations: 2.591 MB / 5.864 GB, free: 53.8 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.279e-05/18.82, allocations: 12 kB / 5.865 GB, free: 53.8 MB / 0.9167 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0233/18.84, allocations: 7.856 MB / 5.872 GB, free: 50.25 MB / 0.9167 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.03074/18.87, allocations: 11.29 MB / 5.883 GB, free: 45.05 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005899/18.88, allocations: 1.194 MB / 5.884 GB, free: 44.38 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002443/18.88, allocations: 33.52 kB / 5.884 GB, free: 44.37 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009471/18.89, allocations: 402.3 kB / 5.885 GB, free: 44.35 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00108/18.89, allocations: 170.6 kB / 5.885 GB, free: 44.32 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006184/18.89, allocations: 117.1 kB / 5.885 GB, free: 44.3 MB / 0.9167 GB Notification: Performance of sort global known variables: time 0.01034/18.9, allocations: 3.096 MB / 5.888 GB, free: 43.15 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.02434/18.92, allocations: 3.479 MB / 5.891 GB, free: 41.21 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 18 (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,senRelHum.phi) * Number of discrete variables: 12 ($whenCondition1,$whenCondition2,mWatGai.a,mWatGai.b,mWatGai.last,mWatGai.nextEvent,mWatGai.nextEventScaled,mAirGai.a,mAirGai.b,mAirGai.last,mAirGai.nextEvent,mAirGai.nextEventScaled) * Number of discrete states: 12 (mAirGai.nextEvent,mAirGai.last,mAirGai.nextEventScaled,mAirGai.b,mAirGai.a,$whenCondition2,mWatGai.nextEvent,mWatGai.last,mWatGai.nextEventScaled,mWatGai.b,mWatGai.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (306): * Single equations (assignments): 298 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * 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: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006792/18.93, allocations: 3.075 MB / 5.894 GB, free: 38.83 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.01796/18.95, allocations: 6.852 MB / 5.901 GB, free: 32.73 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.417e-05/18.95, allocations: 1.594 kB / 5.901 GB, free: 32.73 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.005862/18.95, allocations: 2.285 MB / 5.903 GB, free: 30.71 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02561/18.98, allocations: 2.647 MB / 5.906 GB, free: 28.92 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04492/19.03, allocations: 11.4 MB / 5.917 GB, free: 19.55 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01381/19.04, allocations: 4.964 MB / 5.922 GB, free: 15.76 MB / 0.9167 GB Notification: Performance of SimCode: time 1.913e-06/19.04, allocations: 0 / 5.922 GB, free: 15.76 MB / 0.9167 GB