Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Validation_DryCoilEffectivenessNTU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU,fileNamePrefix="Buildings_maint_8_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 8.0.1-maint.8.0.x/package.mo): time 1.431/1.431, allocations: 285.5 MB / 292.8 MB, free: 10.5 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.001048/0.001048, allocations: 177.3 kB / 361.1 MB, free: 7.141 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.255/1.255, allocations: 205.1 MB / 0.6195 GB, free: 10.34 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.0009238/0.0009237, allocations: 93 kB / 0.7326 GB, free: 44.32 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2251/0.2261, allocations: 121.4 MB / 0.8511 GB, free: 2.949 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5607/0.7868, allocations: 115.3 MB / 0.9638 GB, free: 78.27 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.774/4.561, allocations: 2.346 GB / 3.31 GB, free: 149.8 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001778/4.561, allocations: 85.25 kB / 3.31 GB, free: 149.8 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 10.41/14.97, allocations: 3.379 GB / 6.689 GB, free: 64.64 MB / 1.073 GB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/14.97, allocations: 7.562 kB / 6.689 GB, free: 64.64 MB / 1.073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01304/14.98, allocations: 2.228 MB / 6.691 GB, free: 64.35 MB / 1.073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01467/15, allocations: 4.221 MB / 6.695 GB, free: 63.53 MB / 1.073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003209/15, allocations: 0.8488 MB / 6.696 GB, free: 63.52 MB / 1.073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001729/15, allocations: 215.2 kB / 6.696 GB, free: 63.52 MB / 1.073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00954/15.01, allocations: 3.659 MB / 6.7 GB, free: 63.5 MB / 1.073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01324/15.03, allocations: 3.708 MB / 6.703 GB, free: 63.14 MB / 1.073 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001775/15.03, allocations: 4.156 kB / 6.703 GB, free: 63.14 MB / 1.073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001294/15.03, allocations: 5.953 kB / 6.703 GB, free: 63.14 MB / 1.073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002009/15.03, allocations: 155.5 kB / 6.703 GB, free: 63.14 MB / 1.073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03554/15.06, allocations: 19.33 MB / 6.722 GB, free: 54.75 MB / 1.073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003724/15.07, allocations: 2.56 MB / 6.725 GB, free: 54.68 MB / 1.073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00191/15.07, allocations: 1.428 MB / 6.726 GB, free: 54.67 MB / 1.073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008333/15.07, allocations: 0.7041 MB / 6.727 GB, free: 54.01 MB / 1.073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002556/15.07, allocations: 1.733 MB / 6.729 GB, free: 53.92 MB / 1.073 GB Notification: Performance of pre-optimization done (n=251): time 4.158e-06/15.07, allocations: 0 / 6.729 GB, free: 53.92 MB / 1.073 GB Notification: Performance of matching and sorting (n=251): time 0.007323/15.08, allocations: 3.2 MB / 6.732 GB, free: 53.64 MB / 1.073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.993e-05/15.08, allocations: 104.1 kB / 6.732 GB, free: 53.54 MB / 1.073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004062/15.08, allocations: 2.457 MB / 6.734 GB, free: 53.24 MB / 1.073 GB Notification: Performance of collectPreVariables (initialization): time 0.0005648/15.08, allocations: 34.19 kB / 6.734 GB, free: 53.21 MB / 1.073 GB Notification: Performance of collectInitialEqns (initialization): time 0.001068/15.08, allocations: 1.23 MB / 6.735 GB, free: 52.56 MB / 1.073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006851/15.09, allocations: 0.8013 MB / 6.736 GB, free: 52.02 MB / 1.073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002211/15.09, allocations: 0 / 6.736 GB, free: 52.02 MB / 1.073 GB Notification: Performance of setup shared object (initialization): time 0.0001552/15.09, allocations: 424.4 kB / 6.737 GB, free: 51.71 MB / 1.073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002028/15.09, allocations: 1.338 MB / 6.738 GB, free: 51.7 MB / 1.073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002502/15.09, allocations: 2.171 MB / 6.74 GB, free: 50.82 MB / 1.073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003897/15.09, allocations: 1.703 MB / 6.742 GB, free: 50.75 MB / 1.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.104e-05/15.09, allocations: 3.938 kB / 6.742 GB, free: 50.75 MB / 1.073 GB Notification: Performance of matching and sorting (n=404) (initialization): time 0.008552/15.1, allocations: 3.963 MB / 6.746 GB, free: 50.38 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 0.001111/15.1, allocations: 6.059 MB / 6.751 GB, free: 43.97 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.847e-05/15.1, allocations: 13.97 kB / 6.751 GB, free: 43.97 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.084e-05/15.1, allocations: 31.03 kB / 6.752 GB, free: 43.97 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007311/15.11, allocations: 1.267 MB / 6.753 GB, free: 43.93 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002716/15.11, allocations: 6.049 MB / 6.759 GB, free: 38.07 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00732/15.12, allocations: 0.7858 MB / 6.759 GB, free: 37.93 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007682/15.12, allocations: 168.3 kB / 6.76 GB, free: 37.93 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/15.12, allocations: 3.719 kB / 6.76 GB, free: 37.93 MB / 1.073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007577/15.13, allocations: 3.514 MB / 6.763 GB, free: 37.77 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.859e-05/15.13, allocations: 15.56 kB / 6.763 GB, free: 37.77 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.293e-05/15.13, allocations: 30.12 kB / 6.763 GB, free: 37.77 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00559/15.14, allocations: 1.167 MB / 6.764 GB, free: 37.73 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.025e-05/15.14, allocations: 42.5 kB / 6.764 GB, free: 37.72 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007642/15.14, allocations: 0.7349 MB / 6.765 GB, free: 37.61 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009747/15.14, allocations: 169.1 kB / 6.765 GB, free: 37.61 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.001908/15.15, allocations: 191 kB / 6.765 GB, free: 37.45 MB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002057/15.15, allocations: 390.7 kB / 6.766 GB, free: 37.25 MB / 1.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0102/15.16, allocations: 3.776 MB / 6.769 GB, free: 37.02 MB / 1.073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.897e-05/15.16, allocations: 28.09 kB / 6.769 GB, free: 37.02 MB / 1.073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.39e-05/15.16, allocations: 0 / 6.769 GB, free: 37.02 MB / 1.073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.599e-05/15.16, allocations: 16.66 kB / 6.769 GB, free: 37.02 MB / 1.073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01847/15.18, allocations: 7.774 MB / 6.777 GB, free: 36.32 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-05/15.18, allocations: 5.094 kB / 6.777 GB, free: 36.32 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004834/15.18, allocations: 0.9647 MB / 6.778 GB, free: 36.26 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.858e-05/15.18, allocations: 16.31 kB / 6.778 GB, free: 36.26 MB / 1.073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003057/15.18, allocations: 53.59 kB / 6.778 GB, free: 36.26 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001961/15.18, allocations: 5.984 MB / 6.784 GB, free: 30.38 MB / 1.073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.913e-06/15.18, allocations: 3.844 kB / 6.784 GB, free: 30.38 MB / 1.073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007818/15.19, allocations: 4.126 MB / 6.788 GB, free: 29.07 MB / 1.073 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.008774/15.2, allocations: 4.986 MB / 6.793 GB, free: 27.39 MB / 1.073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003084/15.2, allocations: 0.9642 MB / 6.794 GB, free: 27.05 MB / 1.073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001416/15.21, allocations: 6.625 kB / 6.794 GB, free: 27.05 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005975/15.21, allocations: 0.6311 MB / 6.794 GB, free: 26.96 MB / 1.073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003778/15.21, allocations: 181.8 kB / 6.795 GB, free: 26.95 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004414/15.21, allocations: 133.3 kB / 6.795 GB, free: 26.95 MB / 1.073 GB Notification: Performance of sort global known variables: time 0.004156/15.22, allocations: 1.784 MB / 6.796 GB, free: 26.77 MB / 1.073 GB Notification: Performance of remove unused functions: time 0.01656/15.23, allocations: 4.372 MB / 6.801 GB, free: 26.47 MB / 1.073 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.01093/15.24, allocations: 6.984 MB / 6.807 GB, free: 22.52 MB / 1.073 GB Notification: Performance of simCode: created initialization part: time 0.01583/15.26, allocations: 5.628 MB / 6.813 GB, free: 22.23 MB / 1.073 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-05/15.26, allocations: 2.125 kB / 6.813 GB, free: 22.23 MB / 1.073 GB Notification: Performance of simCode: created simulation system equations: time 0.004663/15.26, allocations: 1.777 MB / 6.815 GB, free: 22.16 MB / 1.073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009093/15.27, allocations: 1.454 MB / 6.816 GB, free: 22.03 MB / 1.073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01989/15.29, allocations: 6.25 MB / 6.822 GB, free: 20.45 MB / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005546/15.3, allocations: 2.937 MB / 6.825 GB, free: 19.6 MB / 1.073 GB Notification: Performance of SimCode: time 8.02e-07/15.3, allocations: 0 / 6.825 GB, free: 19.6 MB / 1.073 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Validation_DryCoilEffectivenessNTU_fmu --startTime=0 --stopTime=360 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Validation_DryCoilEffectivenessNTU.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.pipe 2>&1)