Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_Validation_DryCoilEffectivenessNTU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU,fileNamePrefix="IBPSA_latest_IBPSA_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/Complex 4.0.0+maint.om/package.mo): time 0.001118/0.001118, allocations: 188.5 kB / 7.8 MB, free: 2.496 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4542/0.4542, allocations: 90.86 MB / 99.08 MB, free: 14.95 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.334/1.334, allocations: 221.4 MB / 342.7 MB, free: 5.199 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001045/0.001045, allocations: 99.64 kB / 415.5 MB, free: 6.414 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1829/0.184, allocations: 78.44 MB / 493.9 MB, free: 7.969 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4054/0.5895, allocations: 72.31 MB / 0.553 GB, free: 73.48 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.571/5.16, allocations: 2.141 GB / 2.694 GB, free: 105.7 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002262/5.16, allocations: 86.7 kB / 2.694 GB, free: 105.7 MB / 0.6042 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.03/17.19, allocations: 3.413 GB / 6.107 GB, free: 60 kB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.994e-05/17.19, allocations: 8 kB / 6.107 GB, free: 52 kB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01513/17.21, allocations: 2.22 MB / 6.109 GB, free: 13.82 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01827/17.22, allocations: 4.312 MB / 6.114 GB, free: 9.449 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003376/17.23, allocations: 0.8412 MB / 6.114 GB, free: 8.605 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002467/17.23, allocations: 208 kB / 6.115 GB, free: 8.402 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01179/17.24, allocations: 3.523 MB / 6.118 GB, free: 4.875 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01247/17.25, allocations: 3.778 MB / 6.122 GB, free: 0.9844 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.05e-05/17.25, allocations: 0 / 6.122 GB, free: 0.9844 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005919/17.25, allocations: 4 kB / 6.122 GB, free: 0.9805 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002254/17.26, allocations: 161.9 kB / 6.122 GB, free: 0.8203 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5254/17.78, allocations: 19.37 MB / 6.141 GB, free: 87.27 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004218/17.78, allocations: 2.515 MB / 6.143 GB, free: 87.23 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002264/17.79, allocations: 1.414 MB / 6.145 GB, free: 87.21 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009837/17.79, allocations: 0.697 MB / 6.145 GB, free: 86.56 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00278/17.79, allocations: 1.734 MB / 6.147 GB, free: 86.47 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=247): time 4.598e-06/17.79, allocations: 0 / 6.147 GB, free: 86.47 MB / 0.7605 GB Notification: Performance of matching and sorting (n=247): time 0.007711/17.8, allocations: 3.178 MB / 6.15 GB, free: 86.19 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.235e-05/17.8, allocations: 108.4 kB / 6.15 GB, free: 86.09 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00453/17.8, allocations: 2.464 MB / 6.153 GB, free: 85.81 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0007458/17.8, allocations: 32.23 kB / 6.153 GB, free: 85.78 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.001178/17.81, allocations: 1.221 MB / 6.154 GB, free: 85.32 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008711/17.81, allocations: 0.7982 MB / 6.155 GB, free: 84.89 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002354/17.81, allocations: 0 / 6.155 GB, free: 84.89 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001635/17.81, allocations: 433.8 kB / 6.155 GB, free: 84.58 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002177/17.81, allocations: 1.332 MB / 6.156 GB, free: 84.57 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002728/17.81, allocations: 2.13 MB / 6.158 GB, free: 83.75 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003836/17.82, allocations: 1.68 MB / 6.16 GB, free: 83.7 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.204e-05/17.82, allocations: 6.562 kB / 6.16 GB, free: 83.7 MB / 0.7605 GB Notification: Performance of matching and sorting (n=399) (initialization): time 0.008598/17.82, allocations: 3.939 MB / 6.164 GB, free: 83.4 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.001041/17.83, allocations: 5.965 MB / 6.17 GB, free: 77.11 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.287e-05/17.83, allocations: 14.41 kB / 6.17 GB, free: 77.11 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.155e-05/17.83, allocations: 28.5 kB / 6.17 GB, free: 77.11 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006922/17.83, allocations: 1.257 MB / 6.171 GB, free: 77.11 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002644/17.83, allocations: 6.061 MB / 6.177 GB, free: 71.26 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006861/17.84, allocations: 0.7751 MB / 6.178 GB, free: 71.19 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006592/17.84, allocations: 173.1 kB / 6.178 GB, free: 71.19 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.009e-05/17.84, allocations: 3.781 kB / 6.178 GB, free: 71.19 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007209/17.85, allocations: 3.49 MB / 6.181 GB, free: 71.11 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.157e-05/17.85, allocations: 14.62 kB / 6.181 GB, free: 71.11 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.131e-05/17.85, allocations: 30.5 kB / 6.181 GB, free: 71.11 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00551/17.86, allocations: 1.165 MB / 6.182 GB, free: 71.1 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.706e-05/17.86, allocations: 39.42 kB / 6.182 GB, free: 71.1 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007666/17.86, allocations: 0.7414 MB / 6.183 GB, free: 71.05 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007246/17.86, allocations: 164.9 kB / 6.183 GB, free: 71.05 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 61 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$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) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (398): * Single equations (assignments): 387 * 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.001316/17.86, allocations: 191 kB / 6.183 GB, free: 70.93 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001719/17.87, allocations: 392.4 kB / 6.184 GB, free: 70.73 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009721/17.88, allocations: 3.752 MB / 6.188 GB, free: 70.54 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.786e-05/17.88, allocations: 30.25 kB / 6.188 GB, free: 70.54 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.458e-05/17.88, allocations: 3.406 kB / 6.188 GB, free: 70.54 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.96e-05/17.88, allocations: 14.62 kB / 6.188 GB, free: 70.54 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01829/17.89, allocations: 7.752 MB / 6.195 GB, free: 69.9 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.622e-05/17.89, allocations: 6.188 kB / 6.195 GB, free: 69.9 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004812/17.9, allocations: 0.9522 MB / 6.196 GB, free: 69.9 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.482e-05/17.9, allocations: 13.66 kB / 6.196 GB, free: 69.9 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003374/17.9, allocations: 62.72 kB / 6.196 GB, free: 69.9 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002134/17.9, allocations: 5.974 MB / 6.202 GB, free: 64.05 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.17e-05/17.9, allocations: 9.969 kB / 6.202 GB, free: 64.05 MB / 0.7605 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008983/17.91, allocations: 4.118 MB / 6.206 GB, free: 62.76 MB / 0.7605 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00936/17.92, allocations: 4.964 MB / 6.211 GB, free: 61.1 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003385/17.92, allocations: 0.9657 MB / 6.212 GB, free: 60.79 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001517/17.93, allocations: 6.688 kB / 6.212 GB, free: 60.79 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006661/17.93, allocations: 0.6645 MB / 6.212 GB, free: 60.79 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003999/17.93, allocations: 174 kB / 6.213 GB, free: 60.78 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005477/17.93, allocations: 138.2 kB / 6.213 GB, free: 60.78 MB / 0.7605 GB Notification: Performance of sort global known variables: time 0.00493/17.94, allocations: 1.789 MB / 6.215 GB, free: 60.6 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.01958/17.96, allocations: 4.383 MB / 6.219 GB, free: 60.47 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,trapezoid.T_start,trapezoid.count) * Number of discrete states: 1 (trapezoid.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (279): * Single equations (assignments): 265 * 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.01167/17.97, allocations: 6.972 MB / 6.226 GB, free: 57.22 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.01617/17.99, allocations: 5.571 MB / 6.231 GB, free: 57.07 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.547e-05/17.99, allocations: 5.234 kB / 6.231 GB, free: 57.07 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.004804/17.99, allocations: 1.744 MB / 6.233 GB, free: 57.07 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01079/18, allocations: 1.431 MB / 6.234 GB, free: 57.04 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02529/18.03, allocations: 6.235 MB / 6.24 GB, free: 55.54 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006932/18.03, allocations: 2.943 MB / 6.243 GB, free: 54.75 MB / 0.7605 GB Notification: Performance of SimCode: time 2.595e-06/18.03, allocations: 0 / 6.243 GB, free: 54.75 MB / 0.7605 GB (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatExchangers_Validation_DryCoilEffectivenessNTU_fmu --startTime=0 --stopTime=360 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_HeatExchangers_Validation_DryCoilEffectivenessNTU.fmu > IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.pipe 2>&1)