Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl,fileNamePrefix="Buildings_6_0_0_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 loadModel(Buildings): time 3.911/3.911, allocations: 433 MB / 440.3 MB, free: 4.816 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.553/4.464, allocations: 104.3 MB / 0.5319 GB, free: 13.01 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2403/4.704, allocations: 98.72 MB / 0.6283 GB, free: 9.801 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.19/10.89, allocations: 2.505 GB / 3.133 GB, free: 148.8 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003407/10.89, allocations: 95.3 kB / 3.134 GB, free: 148.7 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1251 * Number of variables: 1251 Notification: Performance of Generate backend data structure: time 12.9/23.79, allocations: 2.607 GB / 5.741 GB, free: 68.06 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.025e-05/23.79, allocations: 13.5 kB / 5.741 GB, free: 68.06 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01633/23.81, allocations: 1.536 MB / 5.742 GB, free: 67.68 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02991/23.84, allocations: 7.645 MB / 5.75 GB, free: 66.75 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003912/23.84, allocations: 156.9 kB / 5.75 GB, free: 66.74 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002699/23.84, allocations: 303.6 kB / 5.75 GB, free: 66.74 MB / 0.9011 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02215/23.87, allocations: 5.561 MB / 5.755 GB, free: 66.72 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03135/23.9, allocations: 6.044 MB / 5.761 GB, free: 66.27 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003234/23.9, allocations: 12.22 kB / 5.761 GB, free: 66.26 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00209/23.9, allocations: 7.281 kB / 5.761 GB, free: 66.26 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002856/23.9, allocations: 229.6 kB / 5.762 GB, free: 66.25 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07924/23.98, allocations: 28.53 MB / 5.789 GB, free: 55.44 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007288/23.99, allocations: 2.597 MB / 5.792 GB, free: 55.41 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006799/23.99, allocations: 2.492 MB / 5.794 GB, free: 55.38 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001806/24, allocations: 1.093 MB / 5.795 GB, free: 54.25 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006986/24, allocations: 2.321 MB / 5.798 GB, free: 54.1 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=324): time 8.246e-06/24, allocations: 1.312 kB / 5.798 GB, free: 54.1 MB / 0.9011 GB Notification: Performance of matching and sorting (n=328): time 0.05165/24.05, allocations: 11.42 MB / 5.809 GB, free: 51.12 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001488/24.05, allocations: 296.5 kB / 5.809 GB, free: 50.8 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01306/24.07, allocations: 4.262 MB / 5.813 GB, free: 50.52 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.001153/24.07, allocations: 36.64 kB / 5.813 GB, free: 50.48 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.00384/24.07, allocations: 1.799 MB / 5.815 GB, free: 49.56 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.004461/24.08, allocations: 1.091 MB / 5.816 GB, free: 48.83 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004253/24.08, allocations: 0 / 5.816 GB, free: 48.83 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0003831/24.08, allocations: 446.3 kB / 5.817 GB, free: 48.52 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005798/24.08, allocations: 1.778 MB / 5.818 GB, free: 48.51 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00643/24.09, allocations: 2.68 MB / 5.821 GB, free: 47.62 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00705/24.1, allocations: 2.371 MB / 5.823 GB, free: 47.57 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.806e-05/24.1, allocations: 3.281 kB / 5.823 GB, free: 47.57 MB / 0.9011 GB Notification: Performance of matching and sorting (n=424) (initialization): time 0.01759/24.12, allocations: 5.04 MB / 5.828 GB, free: 47.19 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.001505/24.12, allocations: 6.35 MB / 5.834 GB, free: 40.4 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001232/24.12, allocations: 14.72 kB / 5.834 GB, free: 40.4 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001445/24.12, allocations: 222.2 kB / 5.835 GB, free: 40.39 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007617/24.13, allocations: 0.7346 MB / 5.835 GB, free: 40.39 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005194/24.13, allocations: 3.362 MB / 5.839 GB, free: 38 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0177/24.15, allocations: 490.2 kB / 5.839 GB, free: 37.97 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002382/24.15, allocations: 134.4 kB / 5.839 GB, free: 37.97 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 3.412e-05/24.15, allocations: 3.406 kB / 5.839 GB, free: 37.97 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01769/24.17, allocations: 4.469 MB / 5.844 GB, free: 37.86 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.365e-05/24.17, allocations: 18.09 kB / 5.844 GB, free: 37.86 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001135/24.17, allocations: 224.3 kB / 5.844 GB, free: 37.85 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007141/24.18, allocations: 0.711 MB / 5.844 GB, free: 37.85 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006897/24.18, allocations: 3.937 MB / 5.848 GB, free: 35.29 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01225/24.2, allocations: 463.3 kB / 5.849 GB, free: 35.25 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001239/24.2, allocations: 136.2 kB / 5.849 GB, free: 35.25 MB / 0.9011 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 (398): * Single equations (assignments): 392 * 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.001665/24.2, allocations: 218.6 kB / 5.849 GB, free: 35.11 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00207/24.2, allocations: 497.4 kB / 5.85 GB, free: 34.86 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01617/24.22, allocations: 4.776 MB / 5.854 GB, free: 34.15 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.416e-05/24.22, allocations: 35.25 kB / 5.854 GB, free: 34.15 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.541e-05/24.22, allocations: 3.594 kB / 5.854 GB, free: 34.15 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01186/24.23, allocations: 3.993 MB / 5.858 GB, free: 32.7 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0388/24.27, allocations: 11.42 MB / 5.869 GB, free: 28.07 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.216e-05/24.27, allocations: 3.875 kB / 5.869 GB, free: 28.07 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008159/24.28, allocations: 0.7044 MB / 5.87 GB, free: 28.04 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009418/24.28, allocations: 180.6 kB / 5.87 GB, free: 27.99 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009398/24.28, allocations: 49.27 kB / 5.87 GB, free: 27.98 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004168/24.28, allocations: 3.255 MB / 5.873 GB, free: 25.23 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.119e-05/24.28, allocations: 9.219 kB / 5.873 GB, free: 25.23 MB / 0.9011 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02819/24.31, allocations: 8.056 MB / 5.881 GB, free: 21.57 MB / 0.9011 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.03106/24.34, allocations: 11.55 MB / 5.893 GB, free: 12.69 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00583/24.35, allocations: 1.212 MB / 5.894 GB, free: 11.59 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002411/24.35, allocations: 37.62 kB / 5.894 GB, free: 11.56 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009582/24.36, allocations: 414.5 kB / 5.894 GB, free: 11.31 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00105/24.36, allocations: 174 kB / 5.894 GB, free: 11.21 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004962/24.36, allocations: 115.2 kB / 5.894 GB, free: 11.11 MB / 0.9011 GB Notification: Performance of sort global known variables: time 0.009473/24.37, allocations: 3.306 MB / 5.898 GB, free: 8.258 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.02655/24.4, allocations: 3.764 MB / 5.901 GB, free: 4.523 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (314): * Single equations (assignments): 306 * 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.009024/24.41, allocations: 3.456 MB / 5.905 GB, free: 1.781 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.03598/24.44, allocations: 7.852 MB / 5.912 GB, free: 12.76 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.152e-05/24.44, allocations: 6.719 kB / 5.912 GB, free: 12.75 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.00719/24.45, allocations: 2.287 MB / 5.915 GB, free: 10.68 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.029/24.48, allocations: 2.829 MB / 5.917 GB, free: 8.742 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6024/25.08, allocations: 11.92 MB / 5.929 GB, free: 127.8 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01394/25.1, allocations: 5.181 MB / 5.934 GB, free: 127 MB / 0.9167 GB Notification: Performance of SimCode: time 1.502e-06/25.1, allocations: 0 / 5.934 GB, free: 127 MB / 0.9167 GB