Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatExchangers_Validation_DryCoilEffectivenessNTU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU,fileNamePrefix="Buildings_8_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 8.0.0/package.mo): time 2.409/2.409, allocations: 284.8 MB / 292.1 MB, free: 10.77 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.001602/0.001602, allocations: 185.2 kB / 360.3 MB, free: 7.523 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.854/1.854, allocations: 205.1 MB / 0.6187 GB, free: 13.2 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.001234/0.001233, allocations: 101 kB / 0.7317 GB, free: 45.07 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2856/0.2869, allocations: 121.4 MB / 0.8502 GB, free: 3.898 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6547/0.9417, allocations: 115.2 MB / 0.9627 GB, free: 78.38 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.521/6.463, allocations: 2.346 GB / 3.309 GB, free: 43.41 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003761/6.463, allocations: 84.23 kB / 3.309 GB, free: 43.37 MB / 0.9323 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.48/22.95, allocations: 3.378 GB / 6.687 GB, free: 57.4 MB / 1.073 GB Notification: Performance of prepare preOptimizeDAE: time 5.017e-05/22.95, allocations: 6.5 kB / 6.687 GB, free: 57.4 MB / 1.073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02223/22.97, allocations: 2.226 MB / 6.69 GB, free: 56.98 MB / 1.073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01985/22.99, allocations: 4.219 MB / 6.694 GB, free: 56.04 MB / 1.073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.006522/23, allocations: 0.8514 MB / 6.695 GB, free: 55.94 MB / 1.073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002195/23, allocations: 213 kB / 6.695 GB, free: 55.94 MB / 1.073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01519/23.01, allocations: 3.658 MB / 6.698 GB, free: 55.92 MB / 1.073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01647/23.03, allocations: 3.705 MB / 6.702 GB, free: 55.55 MB / 1.073 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001043/23.03, allocations: 7.375 kB / 6.702 GB, free: 55.55 MB / 1.073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000842/23.03, allocations: 5.375 kB / 6.702 GB, free: 55.55 MB / 1.073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000202/23.03, allocations: 162.2 kB / 6.702 GB, free: 55.54 MB / 1.073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06345/23.1, allocations: 19.31 MB / 6.721 GB, free: 46.76 MB / 1.073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007964/23.1, allocations: 2.566 MB / 6.723 GB, free: 46.7 MB / 1.073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004368/23.11, allocations: 1.425 MB / 6.725 GB, free: 46.68 MB / 1.073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001431/23.11, allocations: 0.7029 MB / 6.726 GB, free: 45.99 MB / 1.073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005625/23.12, allocations: 1.738 MB / 6.727 GB, free: 45.9 MB / 1.073 GB Notification: Performance of pre-optimization done (n=251): time 6.302e-06/23.12, allocations: 0 / 6.727 GB, free: 45.9 MB / 1.073 GB Notification: Performance of matching and sorting (n=251): time 0.01457/23.13, allocations: 3.191 MB / 6.73 GB, free: 45.62 MB / 1.073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.047e-05/23.13, allocations: 109.2 kB / 6.73 GB, free: 45.52 MB / 1.073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007577/23.14, allocations: 2.46 MB / 6.733 GB, free: 45.21 MB / 1.073 GB Notification: Performance of collectPreVariables (initialization): time 0.001311/23.14, allocations: 35.41 kB / 6.733 GB, free: 45.18 MB / 1.073 GB Notification: Performance of collectInitialEqns (initialization): time 0.002045/23.14, allocations: 1.231 MB / 6.734 GB, free: 44.52 MB / 1.073 GB Notification: Performance of collectInitialBindings (initialization): time 0.001679/23.14, allocations: 0.8045 MB / 6.735 GB, free: 43.88 MB / 1.073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004623/23.14, allocations: 2.5 kB / 6.735 GB, free: 43.88 MB / 1.073 GB Notification: Performance of setup shared object (initialization): time 0.0002582/23.14, allocations: 428.1 kB / 6.735 GB, free: 43.52 MB / 1.073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004774/23.15, allocations: 1.339 MB / 6.737 GB, free: 42.99 MB / 1.073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01017/23.16, allocations: 2.169 MB / 6.739 GB, free: 41.48 MB / 1.073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00921/23.17, allocations: 1.696 MB / 6.74 GB, free: 40.89 MB / 1.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.259e-05/23.17, allocations: 5.031 kB / 6.74 GB, free: 40.89 MB / 1.073 GB Notification: Performance of matching and sorting (n=404) (initialization): time 0.01693/23.19, allocations: 3.964 MB / 6.744 GB, free: 38.28 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 0.001489/23.19, allocations: 6.065 MB / 6.75 GB, free: 31.69 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.309e-05/23.19, allocations: 16 kB / 6.75 GB, free: 31.68 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.349e-05/23.19, allocations: 28 kB / 6.75 GB, free: 31.65 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01452/23.2, allocations: 1.269 MB / 6.751 GB, free: 30.64 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00428/23.21, allocations: 6.055 MB / 6.757 GB, free: 24.41 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01241/23.22, allocations: 0.7767 MB / 6.758 GB, free: 23.79 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001527/23.22, allocations: 175.9 kB / 6.758 GB, free: 23.65 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/23.22, allocations: 4 kB / 6.758 GB, free: 23.64 MB / 1.073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01442/23.23, allocations: 3.51 MB / 6.762 GB, free: 20.62 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.102e-05/23.23, allocations: 19.94 kB / 6.762 GB, free: 20.6 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.179e-05/23.23, allocations: 31.14 kB / 6.762 GB, free: 20.57 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01161/23.25, allocations: 1.168 MB / 6.763 GB, free: 19.62 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.921e-05/23.25, allocations: 35.41 kB / 6.763 GB, free: 19.59 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01171/23.26, allocations: 0.7337 MB / 6.764 GB, free: 19.01 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001453/23.26, allocations: 168.4 kB / 6.764 GB, free: 18.88 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.001454/23.26, allocations: 190.8 kB / 6.764 GB, free: 18.69 MB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001883/23.26, allocations: 391.1 kB / 6.764 GB, free: 18.3 MB / 1.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01569/23.28, allocations: 3.782 MB / 6.768 GB, free: 15.2 MB / 1.073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.833e-05/23.28, allocations: 28 kB / 6.768 GB, free: 15.17 MB / 1.073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.462e-05/23.28, allocations: 0 / 6.768 GB, free: 15.17 MB / 1.073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.243e-05/23.28, allocations: 12.61 kB / 6.768 GB, free: 15.17 MB / 1.073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02931/23.31, allocations: 7.766 MB / 6.776 GB, free: 9.016 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.038e-05/23.31, allocations: 4.594 kB / 6.776 GB, free: 9.012 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009935/23.32, allocations: 0.9574 MB / 6.777 GB, free: 8.246 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.087e-05/23.32, allocations: 16 kB / 6.777 GB, free: 8.23 MB / 1.073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008552/23.32, allocations: 62.2 kB / 6.777 GB, free: 8.195 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002954/23.32, allocations: 5.98 MB / 6.783 GB, free: 2.035 MB / 1.073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.17e-05/23.32, allocations: 4 kB / 6.783 GB, free: 2.031 MB / 1.073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01481/23.34, allocations: 4.135 MB / 6.787 GB, free: 14.06 MB / 1.089 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01805/23.35, allocations: 4.981 MB / 6.791 GB, free: 9.25 MB / 1.089 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005124/23.36, allocations: 0.9637 MB / 6.792 GB, free: 8.445 MB / 1.089 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002079/23.36, allocations: 10.86 kB / 6.792 GB, free: 8.438 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01161/23.37, allocations: 0.6208 MB / 6.793 GB, free: 7.969 MB / 1.089 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001025/23.37, allocations: 182.7 kB / 6.793 GB, free: 7.859 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000786/23.38, allocations: 137.5 kB / 6.793 GB, free: 7.758 MB / 1.089 GB Notification: Performance of sort global known variables: time 0.005934/23.38, allocations: 1.779 MB / 6.795 GB, free: 6.129 MB / 1.089 GB Notification: Performance of remove unused functions: time 0.02415/23.41, allocations: 4.379 MB / 6.799 GB, free: 1.789 MB / 1.089 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.01607/23.42, allocations: 6.986 MB / 6.806 GB, free: 10.71 MB / 1.104 GB Notification: Performance of simCode: created initialization part: time 0.02384/23.45, allocations: 5.621 MB / 6.812 GB, free: 5.523 MB / 1.104 GB Notification: Performance of simCode: created event and clocks part: time 1.397e-05/23.45, allocations: 0 / 6.812 GB, free: 5.523 MB / 1.104 GB Notification: Performance of simCode: created simulation system equations: time 0.007456/23.45, allocations: 1.786 MB / 6.813 GB, free: 3.895 MB / 1.104 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01648/23.47, allocations: 1.453 MB / 6.815 GB, free: 2.816 MB / 1.104 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7725/24.24, allocations: 6.241 MB / 6.821 GB, free: 187 MB / 1.104 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007814/24.25, allocations: 2.946 MB / 6.824 GB, free: 186.2 MB / 1.104 GB Notification: Performance of SimCode: time 2.355e-06/24.25, allocations: 0 / 6.824 GB, free: 186.2 MB / 1.104 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatExchangers_Validation_DryCoilEffectivenessNTU_fmu --startTime=0 --stopTime=360 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatExchangers_Validation_DryCoilEffectivenessNTU.fmu > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.pipe 2>&1)