Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_Validation_DryCoilEffectivenessNTU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU,fileNamePrefix="Buildings_8_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 8.1.4-maint.8.1.x/package.mo): time 1.664/1.664, allocations: 289.8 MB / 297.1 MB, free: 6.652 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001472/0.001472, allocations: 180 kB / 366.3 MB, free: 1.961 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.805/1.805, allocations: 205.1 MB / 0.6256 GB, free: 5.805 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009501/0.00095, allocations: 95.55 kB / 0.7396 GB, free: 39.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3036/0.3046, allocations: 122.4 MB / 0.8591 GB, free: 13.25 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7682/1.073, allocations: 116.3 MB / 0.9726 GB, free: 68.45 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.667/6.74, allocations: 2.347 GB / 3.32 GB, free: 57.79 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002124/6.74, allocations: 81.27 kB / 3.32 GB, free: 57.75 MB / 0.948 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 12.5/19.24, allocations: 3.379 GB / 6.699 GB, free: 53.45 MB / 1.073 GB Notification: Performance of prepare preOptimizeDAE: time 5.116e-05/19.24, allocations: 9.625 kB / 6.699 GB, free: 53.45 MB / 1.073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01356/19.26, allocations: 2.229 MB / 6.701 GB, free: 53.03 MB / 1.073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01356/19.27, allocations: 4.216 MB / 6.705 GB, free: 52.09 MB / 1.073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003187/19.27, allocations: 0.8484 MB / 6.706 GB, free: 51.99 MB / 1.073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001853/19.28, allocations: 214.2 kB / 6.706 GB, free: 51.99 MB / 1.073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008743/19.28, allocations: 3.658 MB / 6.709 GB, free: 51.97 MB / 1.073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007712/19.29, allocations: 3.71 MB / 6.713 GB, free: 51.61 MB / 1.073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.746e-05/19.29, allocations: 3.688 kB / 6.713 GB, free: 51.61 MB / 1.073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004132/19.29, allocations: 2.938 kB / 6.713 GB, free: 51.61 MB / 1.073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001658/19.29, allocations: 156.8 kB / 6.713 GB, free: 51.6 MB / 1.073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03867/19.33, allocations: 19.33 MB / 6.732 GB, free: 42.81 MB / 1.073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004365/19.34, allocations: 2.58 MB / 6.735 GB, free: 42.73 MB / 1.073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002197/19.34, allocations: 1.421 MB / 6.736 GB, free: 42.72 MB / 1.073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008712/19.34, allocations: 0.7049 MB / 6.737 GB, free: 42.04 MB / 1.073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002874/19.34, allocations: 1.739 MB / 6.738 GB, free: 41.94 MB / 1.073 GB Notification: Performance of pre-optimization done (n=251): time 5.611e-06/19.34, allocations: 2.156 kB / 6.738 GB, free: 41.94 MB / 1.073 GB Notification: Performance of matching and sorting (n=251): time 0.008069/19.35, allocations: 3.194 MB / 6.742 GB, free: 41.66 MB / 1.073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.682e-05/19.35, allocations: 108.3 kB / 6.742 GB, free: 41.56 MB / 1.073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005078/19.36, allocations: 2.459 MB / 6.744 GB, free: 41.25 MB / 1.073 GB Notification: Performance of collectPreVariables (initialization): time 0.0008301/19.36, allocations: 33.55 kB / 6.744 GB, free: 41.22 MB / 1.073 GB Notification: Performance of collectInitialEqns (initialization): time 0.001403/19.36, allocations: 1.224 MB / 6.745 GB, free: 40.57 MB / 1.073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009286/19.36, allocations: 0.8058 MB / 6.746 GB, free: 39.93 MB / 1.073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000234/19.36, allocations: 0 / 6.746 GB, free: 39.93 MB / 1.073 GB Notification: Performance of setup shared object (initialization): time 0.0001725/19.36, allocations: 428.3 kB / 6.746 GB, free: 39.57 MB / 1.073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002518/19.36, allocations: 1.343 MB / 6.748 GB, free: 39.04 MB / 1.073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002812/19.36, allocations: 2.175 MB / 6.75 GB, free: 37.53 MB / 1.073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003961/19.37, allocations: 1.692 MB / 6.752 GB, free: 36.94 MB / 1.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.378e-05/19.37, allocations: 4.719 kB / 6.752 GB, free: 36.94 MB / 1.073 GB Notification: Performance of matching and sorting (n=404) (initialization): time 0.009622/19.38, allocations: 3.96 MB / 6.755 GB, free: 35.46 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 0.001254/19.38, allocations: 6.058 MB / 6.761 GB, free: 28.88 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.903e-05/19.38, allocations: 15.23 kB / 6.761 GB, free: 28.86 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.093e-05/19.38, allocations: 32 kB / 6.761 GB, free: 28.83 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007238/19.39, allocations: 1.263 MB / 6.763 GB, free: 27.83 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002805/19.39, allocations: 6.056 MB / 6.769 GB, free: 21.61 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007791/19.4, allocations: 0.7759 MB / 6.769 GB, free: 20.98 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009143/19.4, allocations: 174.6 kB / 6.769 GB, free: 20.84 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/19.4, allocations: 5.562 kB / 6.769 GB, free: 20.84 MB / 1.073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007547/19.41, allocations: 3.509 MB / 6.773 GB, free: 17.81 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.136e-05/19.41, allocations: 12 kB / 6.773 GB, free: 17.8 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.586e-05/19.41, allocations: 32 kB / 6.773 GB, free: 17.77 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005607/19.41, allocations: 1.169 MB / 6.774 GB, free: 16.82 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.533e-05/19.41, allocations: 40.98 kB / 6.774 GB, free: 16.79 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006767/19.42, allocations: 0.734 MB / 6.775 GB, free: 16.2 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006369/19.42, allocations: 167.5 kB / 6.775 GB, free: 16.07 MB / 1.073 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.001084/19.42, allocations: 194.6 kB / 6.775 GB, free: 15.88 MB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001601/19.42, allocations: 391.1 kB / 6.776 GB, free: 15.49 MB / 1.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008411/19.43, allocations: 3.779 MB / 6.779 GB, free: 12.39 MB / 1.073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.94e-05/19.43, allocations: 28 kB / 6.779 GB, free: 12.36 MB / 1.073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.074e-05/19.43, allocations: 4.391 kB / 6.779 GB, free: 12.36 MB / 1.073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.618e-05/19.43, allocations: 19.42 kB / 6.779 GB, free: 12.36 MB / 1.073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01765/19.45, allocations: 7.77 MB / 6.787 GB, free: 6.195 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.438e-05/19.45, allocations: 4.656 kB / 6.787 GB, free: 6.191 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004951/19.45, allocations: 0.9539 MB / 6.788 GB, free: 5.43 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-05/19.45, allocations: 16 kB / 6.788 GB, free: 5.414 MB / 1.073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000307/19.45, allocations: 58.08 kB / 6.788 GB, free: 5.379 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002883/19.46, allocations: 5.983 MB / 6.794 GB, free: 15.21 MB / 1.089 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.23e-05/19.46, allocations: 4 kB / 6.794 GB, free: 15.2 MB / 1.089 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01111/19.47, allocations: 4.126 MB / 6.798 GB, free: 11.25 MB / 1.089 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01212/19.48, allocations: 4.99 MB / 6.803 GB, free: 6.43 MB / 1.089 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004479/19.48, allocations: 0.9607 MB / 6.804 GB, free: 5.629 MB / 1.089 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001556/19.49, allocations: 4 kB / 6.804 GB, free: 5.625 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006966/19.49, allocations: 0.6255 MB / 6.804 GB, free: 5.152 MB / 1.089 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004842/19.49, allocations: 181.9 kB / 6.804 GB, free: 5.043 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004676/19.49, allocations: 138.1 kB / 6.805 GB, free: 4.941 MB / 1.089 GB Notification: Performance of sort global known variables: time 0.004276/19.5, allocations: 1.782 MB / 6.806 GB, free: 3.309 MB / 1.089 GB Notification: Performance of remove unused functions: time 0.02094/19.52, allocations: 4.396 MB / 6.811 GB, free: 14.98 MB / 1.104 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.01407/19.53, allocations: 6.975 MB / 6.817 GB, free: 7.918 MB / 1.104 GB Notification: Performance of simCode: created initialization part: time 0.01636/19.55, allocations: 5.619 MB / 6.823 GB, free: 2.727 MB / 1.104 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-05/19.55, allocations: 2.375 kB / 6.823 GB, free: 2.727 MB / 1.104 GB Notification: Performance of simCode: created simulation system equations: time 0.004296/19.55, allocations: 1.784 MB / 6.825 GB, free: 1.102 MB / 1.104 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00988/19.56, allocations: 1.458 MB / 6.826 GB, free: 16 kB / 1.104 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.81/20.37, allocations: 6.242 MB / 6.832 GB, free: 167.8 MB / 1.104 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004579/20.38, allocations: 2.939 MB / 6.835 GB, free: 167 MB / 1.104 GB Notification: Performance of SimCode: time 4.348e-06/20.38, allocations: 0 / 6.835 GB, free: 167 MB / 1.104 GB (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatExchangers_Validation_DryCoilEffectivenessNTU_fmu --startTime=0 --stopTime=360 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatExchangers_Validation_DryCoilEffectivenessNTU.fmu > Buildings_8_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.pipe 2>&1)