Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.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.Examples.DryCoilEffectivenessNTUMassFlow,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUMassFlow",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.001079/0.001079, allocations: 189.7 kB / 7.802 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4501/0.4501, allocations: 90.85 MB / 99.07 MB, free: 14.92 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.266/1.266, allocations: 221.4 MB / 342.8 MB, free: 5.078 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.001024/0.001024, allocations: 98.12 kB / 415.5 MB, free: 6.344 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1743/0.1753, allocations: 78.43 MB / 493.9 MB, free: 7.906 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4186/0.5939, allocations: 72.3 MB / 0.553 GB, free: 73.32 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.235/4.829, allocations: 2.148 GB / 2.701 GB, free: 141.4 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002496/4.829, allocations: 84.55 kB / 2.701 GB, free: 141.3 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: 229 * Number of variables: 229 Notification: Performance of Generate backend data structure: time 3.177/8.007, allocations: 0.9264 GB / 3.627 GB, free: 73.73 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.693e-05/8.007, allocations: 10.53 kB / 3.627 GB, free: 73.73 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0036/8.01, allocations: 0.5685 MB / 3.628 GB, free: 73.65 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004023/8.014, allocations: 1.245 MB / 3.629 GB, free: 73.29 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007399/8.015, allocations: 183.2 kB / 3.629 GB, free: 73.29 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004245/8.016, allocations: 60.78 kB / 3.629 GB, free: 73.29 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002068/8.018, allocations: 0.9376 MB / 3.63 GB, free: 73.29 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002065/8.02, allocations: 1.034 MB / 3.631 GB, free: 73.18 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.463e-05/8.02, allocations: 5.094 kB / 3.631 GB, free: 73.18 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001348/8.02, allocations: 0 / 3.631 GB, free: 73.18 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.966e-05/8.02, allocations: 42.88 kB / 3.631 GB, free: 73.18 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00957/8.03, allocations: 4.939 MB / 3.636 GB, free: 71.22 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001204/8.031, allocations: 0.8108 MB / 3.637 GB, free: 71.1 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006259/8.031, allocations: 452.6 kB / 3.637 GB, free: 71.09 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001028/8.032, allocations: 0.8496 MB / 3.638 GB, free: 70.25 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008118/8.033, allocations: 0.6171 MB / 3.639 GB, free: 70.11 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=84): time 4.177e-06/8.033, allocations: 0 / 3.639 GB, free: 70.11 MB / 0.6198 GB Notification: Performance of matching and sorting (n=84): time 0.003286/8.037, allocations: 1.088 MB / 3.64 GB, free: 70 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.137e-05/8.037, allocations: 147.3 kB / 3.64 GB, free: 69.85 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001493/8.038, allocations: 0.7435 MB / 3.641 GB, free: 69.7 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001572/8.038, allocations: 29.17 kB / 3.641 GB, free: 69.67 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.000427/8.039, allocations: 382.3 kB / 3.641 GB, free: 69.45 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002369/8.039, allocations: 265.5 kB / 3.641 GB, free: 69.28 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.42e-05/8.039, allocations: 3.938 kB / 3.641 GB, free: 69.27 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.23e-05/8.039, allocations: 346.1 kB / 3.642 GB, free: 68.96 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006132/8.04, allocations: 392.6 kB / 3.642 GB, free: 68.96 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008015/8.041, allocations: 0.594 MB / 3.643 GB, free: 68.76 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001628/8.042, allocations: 0.5649 MB / 3.643 GB, free: 68.75 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.5e-06/8.042, allocations: 0 / 3.643 GB, free: 68.75 MB / 0.6198 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.003846/8.046, allocations: 1.234 MB / 3.644 GB, free: 68.64 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003526/8.047, allocations: 1.147 MB / 3.646 GB, free: 67.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.674e-05/8.047, allocations: 2.031 kB / 3.646 GB, free: 67.45 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.165e-05/8.047, allocations: 7.812 kB / 3.646 GB, free: 67.45 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001501/8.048, allocations: 282.6 kB / 3.646 GB, free: 67.45 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.424e-05/8.048, allocations: 9.406 kB / 3.646 GB, free: 67.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001905/8.05, allocations: 186 kB / 3.646 GB, free: 67.42 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002072/8.05, allocations: 54.81 kB / 3.646 GB, free: 67.42 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/8.05, allocations: 3.5 kB / 3.646 GB, free: 67.42 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002648/8.053, allocations: 1.091 MB / 3.647 GB, free: 67.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/8.053, allocations: 3.609 kB / 3.647 GB, free: 67.4 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/8.053, allocations: 11.12 kB / 3.647 GB, free: 67.39 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001352/8.054, allocations: 279 kB / 3.647 GB, free: 67.39 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.687e-05/8.054, allocations: 8.281 kB / 3.647 GB, free: 67.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001739/8.056, allocations: 172.7 kB / 3.648 GB, free: 67.36 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001681/8.056, allocations: 52.67 kB / 3.648 GB, free: 67.36 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,$whenCondition2,mWatGai.a,mWatGai.b,mWatGai.last,$PRE.mWatGai.nextEvent,mWatGai.nextEvent,mWatGai.nextEventScaled,mAirGai.a,mAirGai.b,mAirGai.last,$PRE.mAirGai.nextEvent,mAirGai.nextEvent,mAirGai.nextEventScaled,hex.flowRegime_nominal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (108): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004284/8.057, allocations: 205.6 kB / 3.648 GB, free: 67.18 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004399/8.057, allocations: 120.5 kB / 3.648 GB, free: 67.12 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003202/8.06, allocations: 1.252 MB / 3.649 GB, free: 67.05 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.649e-05/8.06, allocations: 7.594 kB / 3.649 GB, free: 67.05 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.438e-06/8.06, allocations: 12.92 kB / 3.649 GB, free: 67.05 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.112e-05/8.06, allocations: 3.562 kB / 3.649 GB, free: 67.05 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005546/8.066, allocations: 2.678 MB / 3.652 GB, free: 66.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.007e-05/8.066, allocations: 9.719 kB / 3.652 GB, free: 66.54 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001092/8.067, allocations: 217.1 kB / 3.652 GB, free: 66.54 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-05/8.067, allocations: 7.688 kB / 3.652 GB, free: 66.54 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.743e-05/8.067, allocations: 30.59 kB / 3.652 GB, free: 66.54 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.696e-06/8.067, allocations: 10.62 kB / 3.652 GB, free: 66.54 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.02e-06/8.067, allocations: 3.656 kB / 3.652 GB, free: 66.54 MB / 0.6198 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003489/8.071, allocations: 2.08 MB / 3.654 GB, free: 66 MB / 0.6198 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004605/8.075, allocations: 3.197 MB / 3.657 GB, free: 65.08 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008615/8.076, allocations: 355.1 kB / 3.658 GB, free: 64.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003564/8.077, allocations: 6.469 kB / 3.658 GB, free: 64.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001573/8.078, allocations: 146.9 kB / 3.658 GB, free: 64.91 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001522/8.078, allocations: 60.42 kB / 3.658 GB, free: 64.91 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001792/8.079, allocations: 52.33 kB / 3.658 GB, free: 64.91 MB / 0.6198 GB Notification: Performance of sort global known variables: time 0.001344/8.08, allocations: 0.5593 MB / 3.658 GB, free: 64.8 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.00731/8.087, allocations: 1.512 MB / 3.66 GB, free: 64.65 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 1 (senRelHum.phi) * Number of discrete variables: 12 ($whenCondition1,$whenCondition2,mWatGai.a,mWatGai.b,mWatGai.last,mWatGai.nextEvent,mWatGai.nextEventScaled,mAirGai.a,mAirGai.b,mAirGai.last,mAirGai.nextEvent,mAirGai.nextEventScaled) * Number of discrete states: 12 (mAirGai.nextEvent,mAirGai.last,mAirGai.nextEventScaled,mAirGai.b,mAirGai.a,$whenCondition2,mWatGai.nextEvent,mWatGai.last,mWatGai.nextEventScaled,mWatGai.b,mWatGai.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00472/8.092, allocations: 2.439 MB / 3.662 GB, free: 64.01 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002915/8.095, allocations: 1.671 MB / 3.664 GB, free: 63.85 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 7.344e-06/8.095, allocations: 0 / 3.664 GB, free: 63.85 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0007999/8.096, allocations: 0.5926 MB / 3.664 GB, free: 63.79 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002354/8.098, allocations: 401.4 kB / 3.665 GB, free: 63.78 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004373/8.103, allocations: 1.826 MB / 3.667 GB, free: 63.25 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001126/8.104, allocations: 1.327 MB / 3.668 GB, free: 62.53 MB / 0.6198 GB Notification: Performance of SimCode: time 1.873e-06/8.104, allocations: 0 / 3.668 GB, free: 62.53 MB / 0.6198 GB (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUMassFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUMassFlow.fmu > IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe 2>&1)