Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.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.DryCoilCounterFlowMassFlow,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_HeatExchangers_Examples_DryCoilCounterFlowMassFlow",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.314/2.314, allocations: 248.6 MB / 255.9 MB, free: 1.141 MB / 194.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00168/0.001679, allocations: 194 kB / 315.1 MB, free: 9.605 MB / 258.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.934/1.934, allocations: 205.1 MB / 0.5658 GB, free: 14.11 MB / 434.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001291/0.00129, allocations: 83.31 kB / 0.6699 GB, free: 52.14 MB / 498.8 MB Notification: Performance of FrontEnd - loaded program: time 0.2498/0.2512, allocations: 112.4 MB / 0.7797 GB, free: 10.69 MB / 0.5496 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2381/0.4893, allocations: 106.2 MB / 0.8835 GB, free: 344 kB / 0.6434 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.073/6.563, allocations: 2.483 GB / 3.367 GB, free: 187.8 MB / 0.8778 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002745/6.563, allocations: 94.5 kB / 3.367 GB, free: 187.7 MB / 0.8778 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1029 * Number of variables: 1029 Notification: Performance of Generate backend data structure: time 9.432/16, allocations: 2.009 GB / 5.376 GB, free: 93.8 MB / 0.909 GB Notification: Performance of prepare preOptimizeDAE: time 4.658e-05/16, allocations: 11.38 kB / 5.376 GB, free: 93.8 MB / 0.909 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01362/16.01, allocations: 1.282 MB / 5.378 GB, free: 93.48 MB / 0.909 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02767/16.04, allocations: 6.839 MB / 5.384 GB, free: 92.69 MB / 0.909 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003446/16.04, allocations: 130.8 kB / 5.385 GB, free: 92.69 MB / 0.909 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002285/16.04, allocations: 247.3 kB / 5.385 GB, free: 92.69 MB / 0.909 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01747/16.06, allocations: 4.678 MB / 5.389 GB, free: 92.66 MB / 0.909 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02084/16.08, allocations: 5.103 MB / 5.394 GB, free: 92.31 MB / 0.909 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002164/16.08, allocations: 13.41 kB / 5.394 GB, free: 92.31 MB / 0.909 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001334/16.08, allocations: 3.281 kB / 5.394 GB, free: 92.31 MB / 0.909 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002358/16.08, allocations: 201.9 kB / 5.395 GB, free: 92.3 MB / 0.909 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06163/16.14, allocations: 24.57 MB / 5.419 GB, free: 82.5 MB / 0.909 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009775/16.15, allocations: 3.517 MB / 5.422 GB, free: 82.34 MB / 0.909 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005242/16.16, allocations: 2.094 MB / 5.424 GB, free: 82.3 MB / 0.909 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001783/16.16, allocations: 1.093 MB / 5.425 GB, free: 81.18 MB / 0.909 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005525/16.16, allocations: 1.991 MB / 5.427 GB, free: 80.99 MB / 0.909 GB Notification: Performance of pre-optimization done (n=273): time 6.623e-06/16.16, allocations: 2.375 kB / 5.427 GB, free: 80.99 MB / 0.909 GB Notification: Performance of matching and sorting (n=277): time 0.04483/16.21, allocations: 9.732 MB / 5.436 GB, free: 78.47 MB / 0.909 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001221/16.21, allocations: 192.2 kB / 5.437 GB, free: 78.28 MB / 0.909 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01314/16.22, allocations: 3.7 MB / 5.44 GB, free: 78 MB / 0.909 GB Notification: Performance of collectPreVariables (initialization): time 0.001043/16.22, allocations: 31.89 kB / 5.44 GB, free: 77.97 MB / 0.909 GB Notification: Performance of collectInitialEqns (initialization): time 0.003222/16.23, allocations: 1.496 MB / 5.442 GB, free: 77.21 MB / 0.909 GB Notification: Performance of collectInitialBindings (initialization): time 0.003335/16.23, allocations: 0.9139 MB / 5.443 GB, free: 76.6 MB / 0.909 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004025/16.23, allocations: 1.344 kB / 5.443 GB, free: 76.6 MB / 0.909 GB Notification: Performance of setup shared object (initialization): time 0.0003811/16.23, allocations: 424.3 kB / 5.443 GB, free: 76.29 MB / 0.909 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004751/16.24, allocations: 1.472 MB / 5.445 GB, free: 76.28 MB / 0.909 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006102/16.24, allocations: 2.216 MB / 5.447 GB, free: 75.55 MB / 0.909 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007642/16.25, allocations: 2.059 MB / 5.449 GB, free: 75.5 MB / 0.909 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-05/16.25, allocations: 2.875 kB / 5.449 GB, free: 75.5 MB / 0.909 GB Notification: Performance of matching and sorting (n=354) (initialization): time 0.01775/16.27, allocations: 4.189 MB / 5.453 GB, free: 75.18 MB / 0.909 GB Notification: Performance of prepare postOptimizeDAE: time 0.001869/16.27, allocations: 5.297 MB / 5.458 GB, free: 69.71 MB / 0.909 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001462/16.27, allocations: 11.19 kB / 5.458 GB, free: 69.71 MB / 0.909 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001234/16.27, allocations: 124.6 kB / 5.458 GB, free: 69.71 MB / 0.909 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009951/16.28, allocations: 0.6219 MB / 5.459 GB, free: 69.71 MB / 0.909 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004273/16.28, allocations: 2.615 MB / 5.461 GB, free: 67.85 MB / 0.909 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009852/16.29, allocations: 406.3 kB / 5.462 GB, free: 67.81 MB / 0.909 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001142/16.3, allocations: 113.1 kB / 5.462 GB, free: 67.81 MB / 0.909 GB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/16.3, allocations: 8.984 kB / 5.462 GB, free: 67.81 MB / 0.909 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01416/16.31, allocations: 3.743 MB / 5.465 GB, free: 67.71 MB / 0.909 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.175e-05/16.31, allocations: 12.69 kB / 5.465 GB, free: 67.71 MB / 0.909 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008033/16.31, allocations: 122.9 kB / 5.466 GB, free: 67.71 MB / 0.909 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00626/16.32, allocations: 0.6143 MB / 5.466 GB, free: 67.71 MB / 0.909 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003357/16.32, allocations: 1.992 MB / 5.468 GB, free: 66.43 MB / 0.909 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009738/16.33, allocations: 391.3 kB / 5.468 GB, free: 66.41 MB / 0.909 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001125/16.33, allocations: 116.7 kB / 5.469 GB, free: 66.4 MB / 0.909 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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 (337): * Single equations (assignments): 333 * 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.001489/16.33, allocations: 240.9 kB / 5.469 GB, free: 66.22 MB / 0.909 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001876/16.33, allocations: 415.2 kB / 5.469 GB, free: 66.02 MB / 0.909 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01619/16.35, allocations: 4.004 MB / 5.473 GB, free: 65.82 MB / 0.909 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.902e-05/16.35, allocations: 29.94 kB / 5.473 GB, free: 65.82 MB / 0.909 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.619e-05/16.35, allocations: 2.438 kB / 5.473 GB, free: 65.82 MB / 0.909 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01364/16.36, allocations: 3.367 MB / 5.476 GB, free: 65.56 MB / 0.909 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0329/16.4, allocations: 9.938 MB / 5.486 GB, free: 64.56 MB / 0.909 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.873e-05/16.4, allocations: 10.09 kB / 5.486 GB, free: 64.56 MB / 0.909 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006548/16.4, allocations: 0.583 MB / 5.487 GB, free: 64.56 MB / 0.909 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006249/16.41, allocations: 113 kB / 5.487 GB, free: 64.55 MB / 0.909 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007752/16.41, allocations: 55.36 kB / 5.487 GB, free: 64.55 MB / 0.909 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003336/16.41, allocations: 2.582 MB / 5.489 GB, free: 62.69 MB / 0.909 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.026e-05/16.41, allocations: 7.844 kB / 5.489 GB, free: 62.69 MB / 0.909 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0187/16.43, allocations: 6.798 MB / 5.496 GB, free: 61.49 MB / 0.909 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02711/16.46, allocations: 9.758 MB / 5.506 GB, free: 57.66 MB / 0.909 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005416/16.46, allocations: 1.09 MB / 5.507 GB, free: 57.05 MB / 0.909 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002308/16.46, allocations: 33.31 kB / 5.507 GB, free: 57.04 MB / 0.909 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008637/16.47, allocations: 367.8 kB / 5.507 GB, free: 57.01 MB / 0.909 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009509/16.47, allocations: 148.7 kB / 5.507 GB, free: 56.99 MB / 0.909 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005439/16.47, allocations: 108.4 kB / 5.507 GB, free: 56.97 MB / 0.909 GB Notification: Performance of sort global known variables: time 0.00907/16.48, allocations: 2.885 MB / 5.51 GB, free: 55.89 MB / 0.909 GB Notification: Performance of remove unused functions: time 0.02206/16.5, allocations: 3.28 MB / 5.513 GB, free: 54.94 MB / 0.909 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 (266): * Single equations (assignments): 258 * 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.00724/16.51, allocations: 3.005 MB / 5.516 GB, free: 53.9 MB / 0.909 GB Notification: Performance of simCode: created initialization part: time 0.01917/16.53, allocations: 5.957 MB / 5.522 GB, free: 51.72 MB / 0.909 GB Notification: Performance of simCode: created event and clocks part: time 1.632e-05/16.53, allocations: 2.688 kB / 5.522 GB, free: 51.72 MB / 0.909 GB Notification: Performance of simCode: created simulation system equations: time 0.005809/16.54, allocations: 1.967 MB / 5.524 GB, free: 50.97 MB / 0.909 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02543/16.56, allocations: 2.529 MB / 5.526 GB, free: 50.59 MB / 0.909 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04257/16.61, allocations: 10.23 MB / 5.536 GB, free: 43.34 MB / 0.909 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01217/16.62, allocations: 4.484 MB / 5.541 GB, free: 39.89 MB / 0.909 GB Notification: Performance of SimCode: time 1.533e-06/16.62, allocations: 0 / 5.541 GB, free: 39.89 MB / 0.909 GB