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.DryCoilCounterFlowPControl.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.DryCoilCounterFlowPControl,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_HeatExchangers_Examples_DryCoilCounterFlowPControl",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.654/3.654, allocations: 433 MB / 440.3 MB, free: 4.805 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5084/4.163, allocations: 104.3 MB / 0.5319 GB, free: 13.04 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.225/4.388, allocations: 98.73 MB / 0.6283 GB, free: 9.797 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.998/10.39, allocations: 2.498 GB / 3.126 GB, free: 142.5 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003468/10.39, allocations: 98.95 kB / 3.126 GB, free: 142.4 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: 1083 * Number of variables: 1083 Notification: Performance of Generate backend data structure: time 10.87/21.26, allocations: 2.25 GB / 5.376 GB, free: 89.61 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.575e-05/21.26, allocations: 11.81 kB / 5.376 GB, free: 89.61 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01547/21.27, allocations: 1.372 MB / 5.378 GB, free: 89.26 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02918/21.3, allocations: 7.271 MB / 5.385 GB, free: 88.36 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003398/21.3, allocations: 135.5 kB / 5.385 GB, free: 88.36 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002467/21.31, allocations: 263.3 kB / 5.385 GB, free: 88.36 MB / 0.9011 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01975/21.32, allocations: 4.82 MB / 5.39 GB, free: 88.33 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02318/21.35, allocations: 5.287 MB / 5.395 GB, free: 87.88 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004159/21.35, allocations: 16.55 kB / 5.395 GB, free: 87.88 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002008/21.35, allocations: 3.938 kB / 5.395 GB, free: 87.88 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002817/21.35, allocations: 201.7 kB / 5.395 GB, free: 87.87 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06599/21.42, allocations: 26.05 MB / 5.421 GB, free: 77.18 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01071/21.43, allocations: 3.68 MB / 5.424 GB, free: 77.01 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00573/21.43, allocations: 2.178 MB / 5.427 GB, free: 76.98 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00166/21.44, allocations: 1.081 MB / 5.428 GB, free: 75.85 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006135/21.44, allocations: 2.004 MB / 5.43 GB, free: 75.69 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=284): time 7.203e-06/21.44, allocations: 3.391 kB / 5.43 GB, free: 75.69 MB / 0.9011 GB Notification: Performance of matching and sorting (n=288): time 0.04544/21.49, allocations: 10.01 MB / 5.439 GB, free: 72.96 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001239/21.49, allocations: 289.8 kB / 5.44 GB, free: 72.64 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01282/21.5, allocations: 4.005 MB / 5.444 GB, free: 72.36 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.001052/21.5, allocations: 36.11 kB / 5.444 GB, free: 72.32 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.003386/21.5, allocations: 1.611 MB / 5.445 GB, free: 71.5 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.003486/21.51, allocations: 0.9614 MB / 5.446 GB, free: 70.86 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004462/21.51, allocations: 0 / 5.446 GB, free: 70.86 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0003839/21.51, allocations: 426.6 kB / 5.446 GB, free: 70.55 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004558/21.51, allocations: 1.528 MB / 5.448 GB, free: 70.54 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00572/21.52, allocations: 2.38 MB / 5.45 GB, free: 69.69 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006501/21.53, allocations: 2.075 MB / 5.452 GB, free: 69.64 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.869e-05/21.53, allocations: 3.875 kB / 5.452 GB, free: 69.64 MB / 0.9011 GB Notification: Performance of matching and sorting (n=380) (initialization): time 0.01554/21.54, allocations: 4.434 MB / 5.457 GB, free: 69.27 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.001351/21.54, allocations: 5.857 MB / 5.462 GB, free: 63.15 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001172/21.54, allocations: 13.69 kB / 5.462 GB, free: 63.15 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001098/21.54, allocations: 205.8 kB / 5.463 GB, free: 63.14 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006763/21.55, allocations: 0.6768 MB / 5.463 GB, free: 63.14 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004875/21.56, allocations: 3.326 MB / 5.466 GB, free: 60.75 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01105/21.57, allocations: 453.8 kB / 5.467 GB, free: 60.72 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001093/21.57, allocations: 131 kB / 5.467 GB, free: 60.72 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/21.57, allocations: 3.938 kB / 5.467 GB, free: 60.72 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01538/21.58, allocations: 3.883 MB / 5.471 GB, free: 60.61 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.599e-05/21.58, allocations: 16.16 kB / 5.471 GB, free: 60.61 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009776/21.58, allocations: 214.8 kB / 5.471 GB, free: 60.59 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006189/21.59, allocations: 0.6555 MB / 5.472 GB, free: 60.59 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006508/21.6, allocations: 3.797 MB / 5.475 GB, free: 58.04 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01029/21.61, allocations: 437.8 kB / 5.476 GB, free: 58.01 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001139/21.61, allocations: 121.4 kB / 5.476 GB, free: 58.01 MB / 0.9011 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 (356): * Single equations (assignments): 350 * 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.002087/21.61, allocations: 214.8 kB / 5.476 GB, free: 57.86 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003155/21.61, allocations: 461.5 kB / 5.477 GB, free: 57.63 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01833/21.63, allocations: 4.125 MB / 5.481 GB, free: 57.41 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-05/21.63, allocations: 25.56 kB / 5.481 GB, free: 57.41 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.689e-05/21.63, allocations: 3.906 kB / 5.481 GB, free: 57.41 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01141/21.64, allocations: 3.442 MB / 5.484 GB, free: 57.14 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03884/21.68, allocations: 10.17 MB / 5.494 GB, free: 56.18 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.097e-05/21.68, allocations: 6.5 kB / 5.494 GB, free: 56.18 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006626/21.69, allocations: 0.622 MB / 5.495 GB, free: 56.18 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008956/21.69, allocations: 182.2 kB / 5.495 GB, free: 56.16 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008931/21.69, allocations: 51.56 kB / 5.495 GB, free: 56.16 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004116/21.7, allocations: 3.238 MB / 5.498 GB, free: 53.55 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.044e-05/21.7, allocations: 8.875 kB / 5.498 GB, free: 53.55 MB / 0.9011 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02587/21.72, allocations: 7.002 MB / 5.505 GB, free: 50.27 MB / 0.9011 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02772/21.75, allocations: 10.05 MB / 5.515 GB, free: 45.47 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005624/21.76, allocations: 1.113 MB / 5.516 GB, free: 44.83 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003022/21.76, allocations: 29.23 kB / 5.516 GB, free: 44.82 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0104/21.77, allocations: 402.7 kB / 5.516 GB, free: 44.8 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009359/21.77, allocations: 157.9 kB / 5.516 GB, free: 44.77 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004938/21.77, allocations: 106.6 kB / 5.516 GB, free: 44.75 MB / 0.9011 GB Notification: Performance of sort global known variables: time 0.01001/21.78, allocations: 3.103 MB / 5.519 GB, free: 43.6 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.02433/21.8, allocations: 3.576 MB / 5.523 GB, free: 40.91 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 (274): * Single equations (assignments): 266 * 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.00704/21.81, allocations: 3.372 MB / 5.526 GB, free: 38.25 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.01822/21.83, allocations: 6.326 MB / 5.532 GB, free: 32.58 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.792e-05/21.83, allocations: 4.781 kB / 5.532 GB, free: 32.57 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.00559/21.84, allocations: 1.981 MB / 5.534 GB, free: 30.83 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02586/21.86, allocations: 2.706 MB / 5.537 GB, free: 28.98 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03613/21.9, allocations: 10.64 MB / 5.547 GB, free: 20.18 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01212/21.91, allocations: 4.692 MB / 5.552 GB, free: 16.61 MB / 0.9011 GB Notification: Performance of SimCode: time 1.743e-06/21.91, allocations: 4 kB / 5.552 GB, free: 16.6 MB / 0.9011 GB