Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Validation_DryCoilEffectivenessNTU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU,fileNamePrefix="Buildings_maint_7_0_x_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.3-maint.7.0.x/package.mo): time 1.254/1.254, allocations: 249.4 MB / 256.7 MB, free: 7.016 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.001013/0.001013, allocations: 183.6 kB / 316 MB, free: 3.566 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.194/1.194, allocations: 205.2 MB / 0.5667 GB, free: 15.75 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008084/0.0008084, allocations: 91.97 kB / 0.671 GB, free: 4.863 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3296/0.3304, allocations: 112.4 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1716/0.5021, allocations: 106.3 MB / 0.8846 GB, free: 12.55 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.377/4.879, allocations: 2.464 GB / 3.349 GB, free: 303.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002584/4.879, allocations: 80.78 kB / 3.349 GB, free: 303.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: 822 * Number of variables: 822 Notification: Performance of Generate backend data structure: time 9.56/14.44, allocations: 3.278 GB / 6.626 GB, free: 62.21 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/14.44, allocations: 8.062 kB / 6.626 GB, free: 62.21 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0121/14.45, allocations: 2.232 MB / 6.629 GB, free: 61.93 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01189/14.46, allocations: 4.216 MB / 6.633 GB, free: 61.19 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002918/14.47, allocations: 0.8476 MB / 6.634 GB, free: 61.18 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001436/14.47, allocations: 216.5 kB / 6.634 GB, free: 61.18 MB / 1.01 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007285/14.48, allocations: 3.66 MB / 6.637 GB, free: 61.16 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006613/14.48, allocations: 3.712 MB / 6.641 GB, free: 60.81 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.222e-05/14.48, allocations: 1.219 kB / 6.641 GB, free: 60.81 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003725/14.48, allocations: 3.312 kB / 6.641 GB, free: 60.81 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001058/14.48, allocations: 163.3 kB / 6.641 GB, free: 60.8 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0325/14.51, allocations: 19.32 MB / 6.66 GB, free: 52.55 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003563/14.52, allocations: 2.566 MB / 6.662 GB, free: 52.5 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001783/14.52, allocations: 1.421 MB / 6.664 GB, free: 52.48 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000765/14.52, allocations: 0.7072 MB / 6.665 GB, free: 51.82 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002355/14.52, allocations: 1.733 MB / 6.666 GB, free: 51.73 MB / 1.01 GB Notification: Performance of pre-optimization done (n=251): time 4.398e-06/14.52, allocations: 3.031 kB / 6.666 GB, free: 51.73 MB / 1.01 GB Notification: Performance of matching and sorting (n=251): time 0.006777/14.53, allocations: 3.191 MB / 6.669 GB, free: 51.45 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.726e-05/14.53, allocations: 107.3 kB / 6.669 GB, free: 51.36 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003644/14.53, allocations: 2.457 MB / 6.672 GB, free: 51.05 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0005036/14.53, allocations: 32.33 kB / 6.672 GB, free: 51.02 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009262/14.54, allocations: 1.207 MB / 6.673 GB, free: 50.4 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006213/14.54, allocations: 0.8054 MB / 6.674 GB, free: 49.85 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002093/14.54, allocations: 0 / 6.674 GB, free: 49.85 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001298/14.54, allocations: 433.7 kB / 6.674 GB, free: 49.54 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001931/14.54, allocations: 1.34 MB / 6.676 GB, free: 49.53 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002382/14.54, allocations: 2.14 MB / 6.678 GB, free: 48.71 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003457/14.54, allocations: 1.696 MB / 6.679 GB, free: 48.66 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.024e-05/14.54, allocations: 3.594 kB / 6.679 GB, free: 48.66 MB / 1.01 GB Notification: Performance of matching and sorting (n=404) (initialization): time 0.007874/14.55, allocations: 3.96 MB / 6.683 GB, free: 48.36 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009265/14.55, allocations: 6.05 MB / 6.689 GB, free: 41.96 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.509e-05/14.55, allocations: 18.69 kB / 6.689 GB, free: 41.96 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.966e-05/14.55, allocations: 32.72 kB / 6.689 GB, free: 41.96 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006836/14.56, allocations: 1.26 MB / 6.69 GB, free: 41.96 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002464/14.56, allocations: 6.059 MB / 6.696 GB, free: 36.11 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006724/14.57, allocations: 0.7679 MB / 6.697 GB, free: 35.97 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000931/14.57, allocations: 172.1 kB / 6.697 GB, free: 35.97 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 9.758e-06/14.57, allocations: 3.594 kB / 6.697 GB, free: 35.97 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007086/14.58, allocations: 3.515 MB / 6.701 GB, free: 35.89 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.16e-05/14.58, allocations: 15.28 kB / 6.701 GB, free: 35.89 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.121e-05/14.58, allocations: 31.16 kB / 6.701 GB, free: 35.89 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005952/14.58, allocations: 1.164 MB / 6.702 GB, free: 35.89 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.029e-05/14.58, allocations: 40.41 kB / 6.702 GB, free: 35.89 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00702/14.59, allocations: 0.7224 MB / 6.703 GB, free: 35.78 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001398/14.59, allocations: 170.8 kB / 6.703 GB, free: 35.78 MB / 1.01 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.001489/14.59, allocations: 177 kB / 6.703 GB, free: 35.66 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001884/14.6, allocations: 394.3 kB / 6.703 GB, free: 35.46 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008723/14.6, allocations: 3.78 MB / 6.707 GB, free: 35.23 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.634e-05/14.6, allocations: 27.16 kB / 6.707 GB, free: 35.23 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.004e-05/14.6, allocations: 2.094 kB / 6.707 GB, free: 35.23 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.432e-05/14.6, allocations: 12.66 kB / 6.707 GB, free: 35.23 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01708/14.62, allocations: 7.773 MB / 6.715 GB, free: 34.55 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.487e-05/14.62, allocations: 4.719 kB / 6.715 GB, free: 34.55 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004697/14.63, allocations: 0.9565 MB / 6.716 GB, free: 34.55 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.573e-05/14.63, allocations: 16.81 kB / 6.716 GB, free: 34.55 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000377/14.63, allocations: 58.86 kB / 6.716 GB, free: 34.55 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001995/14.63, allocations: 5.983 MB / 6.721 GB, free: 28.7 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.448e-06/14.63, allocations: 5.156 kB / 6.721 GB, free: 28.7 MB / 1.01 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008205/14.64, allocations: 4.133 MB / 6.726 GB, free: 27.41 MB / 1.01 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.008555/14.65, allocations: 4.982 MB / 6.73 GB, free: 25.75 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002993/14.65, allocations: 0.9646 MB / 6.731 GB, free: 25.41 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001365/14.65, allocations: 6.156 kB / 6.731 GB, free: 25.41 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005945/14.66, allocations: 0.6273 MB / 6.732 GB, free: 25.39 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003929/14.66, allocations: 183.8 kB / 6.732 GB, free: 25.38 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004522/14.66, allocations: 135.2 kB / 6.732 GB, free: 25.38 MB / 1.01 GB Notification: Performance of sort global known variables: time 0.003864/14.66, allocations: 1.778 MB / 6.734 GB, free: 25.2 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.01564/14.68, allocations: 4.381 MB / 6.738 GB, free: 24.9 MB / 1.01 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.009679/14.69, allocations: 6.99 MB / 6.745 GB, free: 21.41 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0127/14.7, allocations: 5.615 MB / 6.751 GB, free: 21.13 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.223e-05/14.7, allocations: 2.75 kB / 6.751 GB, free: 21.13 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.003589/14.7, allocations: 1.784 MB / 6.752 GB, free: 21.06 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008154/14.71, allocations: 1.442 MB / 6.754 GB, free: 21 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01706/14.73, allocations: 6.132 MB / 6.76 GB, free: 19.49 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004869/14.73, allocations: 2.948 MB / 6.763 GB, free: 18.7 MB / 1.01 GB Notification: Performance of SimCode: time 7.52e-07/14.73, allocations: 0 / 6.763 GB, free: 18.7 MB / 1.01 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Validation_DryCoilEffectivenessNTU_fmu --startTime=0 --stopTime=360 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Validation_DryCoilEffectivenessNTU.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.pipe 2>&1)