Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_Validation_DryCoilEffectivenessNTU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU,fileNamePrefix="BuildingSystems_BuildingSystems_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/BuildingSystems 2.0.0-master/package.mo): time 0.7036/0.7036, allocations: 141.8 MB / 149.1 MB, free: 3.957 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001065/0.001065, allocations: 181.1 kB / 181.9 MB, free: 15.68 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.271/1.271, allocations: 221.4 MB / 436 MB, free: 8.777 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001148/0.001147, allocations: 87.14 kB / 0.507 GB, free: 24.21 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002001/0.002001, allocations: 276.6 kB / 0.5884 GB, free: 11.83 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 0.1875/0.1896, allocations: 89.64 MB / 0.676 GB, free: 2.102 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3553/0.5449, allocations: 82.76 MB / 0.7568 GB, free: 112.3 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.985/4.53, allocations: 2.148 GB / 2.905 GB, free: 206 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002045/4.53, allocations: 92.92 kB / 2.905 GB, free: 205.9 MB / 0.6982 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.18/16.71, allocations: 3.42 GB / 6.324 GB, free: 63.66 MB / 0.8544 GB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/16.71, allocations: 11.88 kB / 6.324 GB, free: 63.66 MB / 0.8544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01343/16.73, allocations: 2.228 MB / 6.326 GB, free: 63.38 MB / 0.8544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01483/16.74, allocations: 4.299 MB / 6.331 GB, free: 62.64 MB / 0.8544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003015/16.75, allocations: 0.8471 MB / 6.331 GB, free: 62.62 MB / 0.8544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001322/16.75, allocations: 211.2 kB / 6.332 GB, free: 62.62 MB / 0.8544 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007019/16.75, allocations: 3.549 MB / 6.335 GB, free: 62.61 MB / 0.8544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006761/16.76, allocations: 3.769 MB / 6.339 GB, free: 62.26 MB / 0.8544 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.677e-05/16.76, allocations: 2.344 kB / 6.339 GB, free: 62.26 MB / 0.8544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003649/16.76, allocations: 8 kB / 6.339 GB, free: 62.26 MB / 0.8544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001265/16.76, allocations: 159.2 kB / 6.339 GB, free: 62.25 MB / 0.8544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03475/16.8, allocations: 19.37 MB / 6.358 GB, free: 54 MB / 0.8544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004023/16.8, allocations: 2.557 MB / 6.36 GB, free: 53.95 MB / 0.8544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001983/16.8, allocations: 1.43 MB / 6.362 GB, free: 53.93 MB / 0.8544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008657/16.8, allocations: 0.6948 MB / 6.362 GB, free: 53.28 MB / 0.8544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002623/16.81, allocations: 1.743 MB / 6.364 GB, free: 53.19 MB / 0.8544 GB Notification: Performance of pre-optimization done (n=251): time 4.268e-06/16.81, allocations: 0 / 6.364 GB, free: 53.19 MB / 0.8544 GB Notification: Performance of matching and sorting (n=251): time 0.008762/16.81, allocations: 3.192 MB / 6.367 GB, free: 52.91 MB / 0.8544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.875e-05/16.81, allocations: 110.2 kB / 6.367 GB, free: 52.81 MB / 0.8544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005822/16.82, allocations: 2.462 MB / 6.37 GB, free: 52.51 MB / 0.8544 GB Notification: Performance of collectPreVariables (initialization): time 0.001648/16.82, allocations: 32.08 kB / 6.37 GB, free: 52.48 MB / 0.8544 GB Notification: Performance of collectInitialEqns (initialization): time 0.001471/16.82, allocations: 1.211 MB / 6.371 GB, free: 51.84 MB / 0.8544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0015/16.83, allocations: 0.8035 MB / 6.372 GB, free: 51.3 MB / 0.8544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002335/16.83, allocations: 2.562 kB / 6.372 GB, free: 51.3 MB / 0.8544 GB Notification: Performance of setup shared object (initialization): time 0.0001833/16.83, allocations: 427.4 kB / 6.372 GB, free: 50.99 MB / 0.8544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002454/16.83, allocations: 1.342 MB / 6.374 GB, free: 50.98 MB / 0.8544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003078/16.83, allocations: 2.175 MB / 6.376 GB, free: 50.11 MB / 0.8544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003864/16.83, allocations: 1.692 MB / 6.377 GB, free: 50.06 MB / 0.8544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-05/16.84, allocations: 6.438 kB / 6.377 GB, free: 50.06 MB / 0.8544 GB Notification: Performance of matching and sorting (n=404) (initialization): time 0.009003/16.84, allocations: 3.962 MB / 6.381 GB, free: 49.75 MB / 0.8544 GB Notification: Performance of prepare postOptimizeDAE: time 0.001389/16.85, allocations: 6.056 MB / 6.387 GB, free: 43.36 MB / 0.8544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.268e-05/16.85, allocations: 13.16 kB / 6.387 GB, free: 43.36 MB / 0.8544 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.661e-05/16.85, allocations: 35 kB / 6.387 GB, free: 43.36 MB / 0.8544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00731/16.85, allocations: 1.261 MB / 6.388 GB, free: 43.36 MB / 0.8544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003033/16.86, allocations: 6.063 MB / 6.394 GB, free: 37.5 MB / 0.8544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008141/16.86, allocations: 0.777 MB / 6.395 GB, free: 37.36 MB / 0.8544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001583/16.87, allocations: 171.7 kB / 6.395 GB, free: 37.36 MB / 0.8544 GB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/16.87, allocations: 6.688 kB / 6.395 GB, free: 37.36 MB / 0.8544 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01123/16.88, allocations: 3.51 MB / 6.399 GB, free: 37.28 MB / 0.8544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-05/16.88, allocations: 19.5 kB / 6.399 GB, free: 37.28 MB / 0.8544 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.856e-05/16.88, allocations: 33.84 kB / 6.399 GB, free: 37.28 MB / 0.8544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006097/16.88, allocations: 1.163 MB / 6.4 GB, free: 37.28 MB / 0.8544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.749e-05/16.88, allocations: 37.92 kB / 6.4 GB, free: 37.28 MB / 0.8544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006857/16.89, allocations: 0.7334 MB / 6.401 GB, free: 37.17 MB / 0.8544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001093/16.89, allocations: 168.8 kB / 6.401 GB, free: 37.17 MB / 0.8544 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.001832/16.89, allocations: 186.3 kB / 6.401 GB, free: 37.05 MB / 0.8544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001876/16.9, allocations: 390.7 kB / 6.401 GB, free: 36.85 MB / 0.8544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01155/16.91, allocations: 3.785 MB / 6.405 GB, free: 36.66 MB / 0.8544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.059e-05/16.91, allocations: 27.5 kB / 6.405 GB, free: 36.66 MB / 0.8544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.236e-05/16.91, allocations: 2.344 kB / 6.405 GB, free: 36.66 MB / 0.8544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.061e-05/16.91, allocations: 17.52 kB / 6.405 GB, free: 36.66 MB / 0.8544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02332/16.93, allocations: 7.775 MB / 6.413 GB, free: 35.98 MB / 0.8544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-05/16.93, allocations: 7.906 kB / 6.413 GB, free: 35.98 MB / 0.8544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005504/16.94, allocations: 0.959 MB / 6.414 GB, free: 35.98 MB / 0.8544 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.436e-05/16.94, allocations: 15.25 kB / 6.414 GB, free: 35.98 MB / 0.8544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006771/16.94, allocations: 59.11 kB / 6.414 GB, free: 35.98 MB / 0.8544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002206/16.94, allocations: 5.979 MB / 6.419 GB, free: 30.13 MB / 0.8544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.008e-05/16.94, allocations: 3.469 kB / 6.419 GB, free: 30.13 MB / 0.8544 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01059/16.95, allocations: 4.134 MB / 6.424 GB, free: 28.84 MB / 0.8544 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01123/16.96, allocations: 4.981 MB / 6.428 GB, free: 27.18 MB / 0.8544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003716/16.96, allocations: 0.9616 MB / 6.429 GB, free: 26.84 MB / 0.8544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001907/16.97, allocations: 12.47 kB / 6.429 GB, free: 26.84 MB / 0.8544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006857/16.97, allocations: 0.6258 MB / 6.43 GB, free: 26.82 MB / 0.8544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008345/16.97, allocations: 187.5 kB / 6.43 GB, free: 26.82 MB / 0.8544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009036/16.98, allocations: 129.5 kB / 6.43 GB, free: 26.82 MB / 0.8544 GB Notification: Performance of sort global known variables: time 0.004723/16.98, allocations: 1.786 MB / 6.432 GB, free: 26.64 MB / 0.8544 GB Notification: Performance of remove unused functions: time 0.0226/17, allocations: 4.38 MB / 6.436 GB, free: 26.33 MB / 0.8544 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.01213/17.01, allocations: 6.98 MB / 6.443 GB, free: 23.01 MB / 0.8544 GB Notification: Performance of simCode: created initialization part: time 0.01536/17.03, allocations: 5.626 MB / 6.449 GB, free: 22.86 MB / 0.8544 GB Notification: Performance of simCode: created event and clocks part: time 2.015e-05/17.03, allocations: 1.938 kB / 6.449 GB, free: 22.86 MB / 0.8544 GB Notification: Performance of simCode: created simulation system equations: time 0.004993/17.04, allocations: 1.783 MB / 6.45 GB, free: 22.86 MB / 0.8544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01006/17.05, allocations: 1.442 MB / 6.452 GB, free: 22.83 MB / 0.8544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0219/17.07, allocations: 6.25 MB / 6.458 GB, free: 21.33 MB / 0.8544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007388/17.07, allocations: 2.942 MB / 6.461 GB, free: 20.54 MB / 0.8544 GB Notification: Performance of SimCode: time 1.122e-06/17.07, allocations: 2.406 kB / 6.461 GB, free: 20.54 MB / 0.8544 GB (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_HeatExchangers_Validation_DryCoilEffectivenessNTU_fmu --startTime=0 --stopTime=360 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_HeatExchangers_Validation_DryCoilEffectivenessNTU.fmu > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.pipe 2>&1)