Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.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.Validation.DryCoilEffectivenessNTU,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_HeatExchangers_Validation_DryCoilEffectivenessNTU",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.238/2.238, allocations: 248.6 MB / 255.9 MB, free: 7.254 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.001697/0.001696, allocations: 183.6 kB / 315.1 MB, free: 4.309 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.849/1.849, allocations: 205.1 MB / 0.5658 GB, free: 400 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.001296/0.001296, allocations: 92.89 kB / 0.67 GB, free: 5.613 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4895/0.4909, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2134/0.7043, allocations: 106.2 MB / 0.8835 GB, free: 13.38 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.438/7.142, allocations: 2.464 GB / 3.347 GB, free: 207.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003183/7.143, allocations: 83.8 kB / 3.348 GB, free: 207.8 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: 822 * Number of variables: 822 Notification: Performance of Generate backend data structure: time 16.34/23.48, allocations: 3.277 GB / 6.625 GB, free: 61.19 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 5.299e-05/23.48, allocations: 10.75 kB / 6.625 GB, free: 61.19 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02282/23.5, allocations: 2.224 MB / 6.627 GB, free: 60.91 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02316/23.53, allocations: 4.218 MB / 6.631 GB, free: 60.17 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.01033/23.54, allocations: 0.8478 MB / 6.632 GB, free: 60.16 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002432/23.54, allocations: 211.3 kB / 6.632 GB, free: 60.16 MB / 1.042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01452/23.55, allocations: 3.658 MB / 6.636 GB, free: 60.14 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01596/23.57, allocations: 3.713 MB / 6.639 GB, free: 59.79 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001191/23.57, allocations: 5.75 kB / 6.639 GB, free: 59.79 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001021/23.57, allocations: 3.531 kB / 6.639 GB, free: 59.79 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002007/23.57, allocations: 161 kB / 6.64 GB, free: 59.78 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06248/23.63, allocations: 19.33 MB / 6.658 GB, free: 51.53 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01302/23.65, allocations: 2.563 MB / 6.661 GB, free: 51.47 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00498/23.65, allocations: 1.42 MB / 6.662 GB, free: 51.45 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001551/23.65, allocations: 0.703 MB / 6.663 GB, free: 50.79 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006182/23.66, allocations: 1.749 MB / 6.665 GB, free: 50.7 MB / 1.042 GB Notification: Performance of pre-optimization done (n=251): time 7.604e-06/23.66, allocations: 0 / 6.665 GB, free: 50.7 MB / 1.042 GB Notification: Performance of matching and sorting (n=251): time 0.01546/23.68, allocations: 3.186 MB / 6.668 GB, free: 50.42 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.999e-05/23.68, allocations: 112 kB / 6.668 GB, free: 50.33 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007797/23.68, allocations: 2.453 MB / 6.67 GB, free: 50.03 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 0.001199/23.69, allocations: 35.52 kB / 6.67 GB, free: 50 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.00212/23.69, allocations: 1.219 MB / 6.672 GB, free: 49.36 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 0.001868/23.69, allocations: 0.8042 MB / 6.672 GB, free: 48.81 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006607/23.69, allocations: 0 / 6.672 GB, free: 48.81 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0003225/23.69, allocations: 426.4 kB / 6.673 GB, free: 48.5 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004881/23.7, allocations: 1.341 MB / 6.674 GB, free: 48.49 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006109/23.7, allocations: 2.14 MB / 6.676 GB, free: 47.67 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007423/23.71, allocations: 1.691 MB / 6.678 GB, free: 47.62 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.545e-05/23.71, allocations: 9.5 kB / 6.678 GB, free: 47.61 MB / 1.042 GB Notification: Performance of matching and sorting (n=404) (initialization): time 0.01755/23.73, allocations: 3.959 MB / 6.682 GB, free: 47.31 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 0.001431/23.73, allocations: 6.052 MB / 6.688 GB, free: 40.92 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.733e-05/23.73, allocations: 15.56 kB / 6.688 GB, free: 40.92 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.258e-05/23.73, allocations: 30.72 kB / 6.688 GB, free: 40.92 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01514/23.74, allocations: 1.27 MB / 6.689 GB, free: 40.92 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004308/23.75, allocations: 6.049 MB / 6.695 GB, free: 35.07 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01225/23.76, allocations: 0.7778 MB / 6.696 GB, free: 34.93 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001536/23.76, allocations: 170 kB / 6.696 GB, free: 34.93 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/23.76, allocations: 2.344 kB / 6.696 GB, free: 34.93 MB / 1.042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01702/23.78, allocations: 3.506 MB / 6.699 GB, free: 34.84 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.722e-05/23.78, allocations: 16.31 kB / 6.699 GB, free: 34.84 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.414e-05/23.78, allocations: 42.69 kB / 6.699 GB, free: 34.84 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01197/23.79, allocations: 1.165 MB / 6.7 GB, free: 34.84 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.532e-05/23.79, allocations: 35.66 kB / 6.7 GB, free: 34.84 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01171/23.8, allocations: 0.7186 MB / 6.701 GB, free: 34.74 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001556/23.8, allocations: 166.8 kB / 6.701 GB, free: 34.74 MB / 1.042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 62 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,hexPar.flowRegime,hexCou.flowRegime,hexCroC1Mix.flowRegime,hexCroC1Unm.flowRegime,$PRE.trapezoid.T_start,trapezoid.T_start,$PRE.trapezoid.count,trapezoid.count,hexPar.flowRegime_nominal,hexCou.flowRegime_nominal,hexCroC1Mix.flowRegime_nominal,hexCroC1Unm.flowRegime_nominal,hexCroUnm.flowRegime_nominal,hexCroUnm.flowRegime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (403): * Single equations (assignments): 392 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001637/23.81, allocations: 195.4 kB / 6.701 GB, free: 34.62 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001845/23.81, allocations: 392.2 kB / 6.702 GB, free: 34.41 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01706/23.82, allocations: 3.771 MB / 6.705 GB, free: 34.19 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.245e-05/23.83, allocations: 26.78 kB / 6.705 GB, free: 34.19 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.357e-05/23.83, allocations: 0 / 6.705 GB, free: 34.19 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.063e-05/23.83, allocations: 16.89 kB / 6.705 GB, free: 34.19 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03023/23.86, allocations: 7.774 MB / 6.713 GB, free: 33.52 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.228e-05/23.86, allocations: 2.469 kB / 6.713 GB, free: 33.52 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01034/23.87, allocations: 0.9524 MB / 6.714 GB, free: 33.52 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.95e-05/23.87, allocations: 14.34 kB / 6.714 GB, free: 33.52 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009717/23.87, allocations: 67.03 kB / 6.714 GB, free: 33.52 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003242/23.87, allocations: 5.979 MB / 6.72 GB, free: 27.67 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-05/23.87, allocations: 12.86 kB / 6.72 GB, free: 27.67 MB / 1.042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01418/23.88, allocations: 4.129 MB / 6.724 GB, free: 26.38 MB / 1.042 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01595/23.9, allocations: 4.984 MB / 6.729 GB, free: 24.71 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004617/23.91, allocations: 0.958 MB / 6.73 GB, free: 24.38 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002038/23.91, allocations: 9 kB / 6.73 GB, free: 24.38 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01138/23.92, allocations: 0.6317 MB / 6.73 GB, free: 24.36 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001002/23.92, allocations: 181.7 kB / 6.731 GB, free: 24.36 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008643/23.92, allocations: 129.9 kB / 6.731 GB, free: 24.36 MB / 1.042 GB Notification: Performance of sort global known variables: time 0.005738/23.93, allocations: 1.78 MB / 6.732 GB, free: 24.18 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.02341/23.95, allocations: 4.387 MB / 6.737 GB, free: 23.87 MB / 1.042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,hexPar.flowRegime,hexCou.flowRegime,hexCroC1Mix.flowRegime,hexCroC1Unm.flowRegime,trapezoid.T_start,trapezoid.count) * Number of discrete states: 1 (trapezoid.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (283): * Single equations (assignments): 269 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01404/23.96, allocations: 6.981 MB / 6.744 GB, free: 20.43 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0218/23.99, allocations: 5.617 MB / 6.749 GB, free: 20.29 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 1.395e-05/23.99, allocations: 2.25 kB / 6.749 GB, free: 20.29 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.007081/23.99, allocations: 1.783 MB / 6.751 GB, free: 20.28 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01594/24.01, allocations: 1.441 MB / 6.752 GB, free: 20.23 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02851/24.04, allocations: 6.137 MB / 6.758 GB, free: 18.74 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008798/24.05, allocations: 2.942 MB / 6.761 GB, free: 17.95 MB / 1.042 GB Notification: Performance of SimCode: time 1.603e-06/24.05, allocations: 0 / 6.761 GB, free: 17.95 MB / 1.042 GB