Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatExchangers_Validation_DryCoilEffectivenessNTU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU,fileNamePrefix="IDEAS_dev_IDEAS_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.003309/0.003309, allocations: 180.5 kB / 7.455 MB, free: 2.52 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6877/0.6877, allocations: 133.5 MB / 141.4 MB, free: 15.68 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.577/1.577, allocations: 221.4 MB / 395 MB, free: 10.06 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001125/0.001125, allocations: 113.6 kB / 477.8 MB, free: 10.67 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4726/0.4737, allocations: 88.42 MB / 0.5529 GB, free: 89.18 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1811/0.6549, allocations: 82.3 MB / 0.6333 GB, free: 13.86 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.132/5.787, allocations: 2.15 GB / 2.784 GB, free: 71.19 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002588/5.787, allocations: 83.95 kB / 2.784 GB, free: 71.11 MB / 0.6823 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 13.46/19.24, allocations: 3.419 GB / 6.203 GB, free: 36.33 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.152e-05/19.24, allocations: 7.094 kB / 6.203 GB, free: 36.33 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01593/19.26, allocations: 2.224 MB / 6.205 GB, free: 35.91 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01733/19.28, allocations: 4.302 MB / 6.209 GB, free: 34.97 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003344/19.28, allocations: 0.8402 MB / 6.21 GB, free: 34.88 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002278/19.28, allocations: 206.6 kB / 6.21 GB, free: 34.88 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01079/19.29, allocations: 3.554 MB / 6.214 GB, free: 34.86 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.013/19.31, allocations: 3.774 MB / 6.218 GB, free: 34.48 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.134e-05/19.31, allocations: 1.219 kB / 6.218 GB, free: 34.48 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005053/19.31, allocations: 3.75 kB / 6.218 GB, free: 34.48 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002557/19.31, allocations: 163.3 kB / 6.218 GB, free: 34.47 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04614/19.35, allocations: 19.38 MB / 6.237 GB, free: 25.66 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00591/19.36, allocations: 2.56 MB / 6.239 GB, free: 25.59 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003315/19.36, allocations: 1.42 MB / 6.241 GB, free: 25.57 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00117/19.36, allocations: 0.6972 MB / 6.241 GB, free: 24.88 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003839/19.37, allocations: 1.749 MB / 6.243 GB, free: 24.79 MB / 0.823 GB Notification: Performance of pre-optimization done (n=251): time 7.374e-06/19.37, allocations: 0 / 6.243 GB, free: 24.79 MB / 0.823 GB Notification: Performance of matching and sorting (n=251): time 0.01041/19.38, allocations: 3.188 MB / 6.246 GB, free: 24 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001145/19.38, allocations: 106.1 kB / 6.246 GB, free: 23.91 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005699/19.38, allocations: 2.461 MB / 6.249 GB, free: 21.7 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.001417/19.39, allocations: 37.7 kB / 6.249 GB, free: 21.66 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001411/19.39, allocations: 1.222 MB / 6.25 GB, free: 20.61 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.001543/19.39, allocations: 0.7983 MB / 6.251 GB, free: 19.87 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002466/19.39, allocations: 0 / 6.251 GB, free: 19.87 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001935/19.39, allocations: 426.5 kB / 6.251 GB, free: 19.48 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002222/19.39, allocations: 1.338 MB / 6.252 GB, free: 18.24 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002794/19.39, allocations: 2.176 MB / 6.254 GB, free: 15.89 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003987/19.4, allocations: 1.693 MB / 6.256 GB, free: 14.5 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-05/19.4, allocations: 8 kB / 6.256 GB, free: 14.49 MB / 0.823 GB Notification: Performance of matching and sorting (n=404) (initialization): time 0.01108/19.41, allocations: 3.961 MB / 6.26 GB, free: 11.01 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.001522/19.41, allocations: 6.052 MB / 6.266 GB, free: 4.434 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.981e-05/19.41, allocations: 21.34 kB / 6.266 GB, free: 4.414 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.15e-05/19.41, allocations: 32 kB / 6.266 GB, free: 4.383 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00881/19.42, allocations: 1.266 MB / 6.267 GB, free: 3.375 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00439/19.42, allocations: 6.055 MB / 6.273 GB, free: 13.15 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00913/19.43, allocations: 0.7858 MB / 6.274 GB, free: 12.52 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001467/19.44, allocations: 174.1 kB / 6.274 GB, free: 12.38 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/19.44, allocations: 6.344 kB / 6.274 GB, free: 12.38 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01065/19.45, allocations: 3.512 MB / 6.277 GB, free: 9.344 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.83e-05/19.45, allocations: 12 kB / 6.277 GB, free: 9.332 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.977e-05/19.45, allocations: 32 kB / 6.277 GB, free: 9.301 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006559/19.45, allocations: 1.159 MB / 6.279 GB, free: 8.359 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.744e-05/19.45, allocations: 38.83 kB / 6.279 GB, free: 8.324 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008103/19.46, allocations: 0.7417 MB / 6.279 GB, free: 7.738 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009996/19.46, allocations: 170.8 kB / 6.28 GB, free: 7.602 MB / 0.8386 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.001514/19.46, allocations: 184.1 kB / 6.28 GB, free: 7.418 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002463/19.47, allocations: 391 kB / 6.28 GB, free: 7.031 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01019/19.48, allocations: 3.775 MB / 6.284 GB, free: 3.926 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.434e-05/19.48, allocations: 24 kB / 6.284 GB, free: 3.902 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.233e-05/19.48, allocations: 0 / 6.284 GB, free: 3.902 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.213e-05/19.48, allocations: 20.03 kB / 6.284 GB, free: 3.898 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.723/20.2, allocations: 7.771 MB / 6.291 GB, free: 104.1 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.558e-05/20.2, allocations: 10.97 kB / 6.291 GB, free: 104.1 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005161/20.2, allocations: 0.9584 MB / 6.292 GB, free: 104.1 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.98e-05/20.2, allocations: 18.27 kB / 6.292 GB, free: 104.1 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003816/20.21, allocations: 60.62 kB / 6.292 GB, free: 104.1 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002453/20.21, allocations: 5.974 MB / 6.298 GB, free: 98.32 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.507e-06/20.21, allocations: 3.938 kB / 6.298 GB, free: 98.32 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008373/20.22, allocations: 4.13 MB / 6.302 GB, free: 97.25 MB / 0.8386 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0089/20.23, allocations: 4.981 MB / 6.307 GB, free: 95.81 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003524/20.23, allocations: 0.9628 MB / 6.308 GB, free: 95.51 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001438/20.23, allocations: 7.125 kB / 6.308 GB, free: 95.51 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006972/20.24, allocations: 0.6234 MB / 6.309 GB, free: 95.5 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005833/20.24, allocations: 177 kB / 6.309 GB, free: 95.5 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004887/20.24, allocations: 135.7 kB / 6.309 GB, free: 95.5 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.004114/20.24, allocations: 1.78 MB / 6.311 GB, free: 95.32 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.02209/20.26, allocations: 4.379 MB / 6.315 GB, free: 95.2 MB / 0.8386 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.01134/20.28, allocations: 6.992 MB / 6.322 GB, free: 91.95 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.01624/20.29, allocations: 5.619 MB / 6.327 GB, free: 91.8 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.584e-05/20.29, allocations: 3.906 kB / 6.327 GB, free: 91.8 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.004783/20.3, allocations: 1.786 MB / 6.329 GB, free: 91.79 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01061/20.31, allocations: 1.449 MB / 6.33 GB, free: 91.77 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02626/20.33, allocations: 6.242 MB / 6.337 GB, free: 90.28 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007083/20.34, allocations: 2.943 MB / 6.339 GB, free: 89.49 MB / 0.8386 GB Notification: Performance of SimCode: time 1.493e-06/20.34, allocations: 0 / 6.339 GB, free: 89.49 MB / 0.8386 GB (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatExchangers_Validation_DryCoilEffectivenessNTU_fmu --startTime=0 --stopTime=360 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_HeatExchangers_Validation_DryCoilEffectivenessNTU.fmu > IDEAS_dev_IDEAS.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.pipe 2>&1)