Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.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.DryCoilEffectivenessNTUPControl,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl",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.001081/0.001081, allocations: 185.4 kB / 7.801 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.4641/0.4641, allocations: 90.85 MB / 99.07 MB, free: 14.96 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.252/1.252, allocations: 221.4 MB / 342.8 MB, free: 5.227 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.0009661/0.0009661, allocations: 105.1 kB / 415.5 MB, free: 9.867 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1728/0.1738, allocations: 78.44 MB / 493.9 MB, free: 11.5 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3912/0.565, allocations: 72.3 MB / 0.553 GB, free: 44.79 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.306/4.871, allocations: 2.139 GB / 2.692 GB, free: 119.1 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002236/4.871, allocations: 87.95 kB / 2.692 GB, free: 119 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: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 3.093/7.964, allocations: 0.9557 GB / 3.648 GB, free: 63.62 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.852e-05/7.965, allocations: 9.094 kB / 3.648 GB, free: 63.62 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00376/7.968, allocations: 0.576 MB / 3.648 GB, free: 63.52 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004549/7.973, allocations: 1.387 MB / 3.65 GB, free: 63.11 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007214/7.974, allocations: 190.6 kB / 3.65 GB, free: 63.11 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004714/7.974, allocations: 68.34 kB / 3.65 GB, free: 63.11 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002341/7.977, allocations: 0.963 MB / 3.651 GB, free: 63.1 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002451/7.979, allocations: 1.084 MB / 3.652 GB, free: 62.95 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.889e-05/7.979, allocations: 7.062 kB / 3.652 GB, free: 62.95 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001496/7.979, allocations: 5.594 kB / 3.652 GB, free: 62.95 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.747e-05/7.979, allocations: 50.08 kB / 3.652 GB, free: 62.94 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01144/7.991, allocations: 5.271 MB / 3.657 GB, free: 60.89 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001403/7.992, allocations: 0.7804 MB / 3.658 GB, free: 60.84 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006174/7.993, allocations: 418.1 kB / 3.658 GB, free: 60.75 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001035/7.994, allocations: 0.8329 MB / 3.659 GB, free: 59.9 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008029/7.995, allocations: 0.4958 MB / 3.66 GB, free: 59.7 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=82): time 3.627e-06/7.995, allocations: 0 / 3.66 GB, free: 59.7 MB / 0.6198 GB Notification: Performance of matching and sorting (n=82): time 0.003072/7.998, allocations: 1.008 MB / 3.66 GB, free: 59.35 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.622e-05/7.998, allocations: 121.3 kB / 3.661 GB, free: 59.22 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002064/8, allocations: 0.8997 MB / 3.661 GB, free: 58.82 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001877/8, allocations: 25.7 kB / 3.662 GB, free: 58.79 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004713/8.001, allocations: 454.3 kB / 3.662 GB, free: 58.47 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002723/8.001, allocations: 273.7 kB / 3.662 GB, free: 58.26 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.239e-05/8.001, allocations: 0 / 3.662 GB, free: 58.26 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.177e-05/8.001, allocations: 344.8 kB / 3.663 GB, free: 57.94 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006905/8.002, allocations: 386 kB / 3.663 GB, free: 57.79 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009816/8.003, allocations: 0.6825 MB / 3.664 GB, free: 57.29 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001399/8.004, allocations: 0.5174 MB / 3.664 GB, free: 57.12 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.11e-05/8.004, allocations: 2.969 kB / 3.664 GB, free: 57.12 MB / 0.6198 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.00291/8.007, allocations: 1.221 MB / 3.665 GB, free: 56.69 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003981/8.008, allocations: 2.024 MB / 3.667 GB, free: 54.56 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.621e-05/8.008, allocations: 9.656 kB / 3.667 GB, free: 54.55 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.521e-05/8.008, allocations: 13.75 kB / 3.667 GB, free: 54.55 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002011/8.01, allocations: 364.6 kB / 3.668 GB, free: 54.52 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006525/8.01, allocations: 1.219 MB / 3.669 GB, free: 53.31 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002129/8.012, allocations: 201.4 kB / 3.669 GB, free: 53.25 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002218/8.013, allocations: 62.03 kB / 3.669 GB, free: 53.22 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 8.245e-06/8.013, allocations: 448 / 3.669 GB, free: 53.22 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002226/8.015, allocations: 1.049 MB / 3.67 GB, free: 52.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.349e-05/8.015, allocations: 4 kB / 3.67 GB, free: 52.31 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.997e-05/8.015, allocations: 12.66 kB / 3.67 GB, free: 52.3 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00162/8.017, allocations: 355.6 kB / 3.67 GB, free: 52.01 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.184e-05/8.017, allocations: 9.359 kB / 3.67 GB, free: 52 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001997/8.019, allocations: 197.1 kB / 3.671 GB, free: 51.85 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001801/8.019, allocations: 57 kB / 3.671 GB, free: 51.8 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,hex.flowRegime_nominal,P.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (132): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003658/8.019, allocations: 129.3 kB / 3.671 GB, free: 51.67 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004616/8.02, allocations: 146.7 kB / 3.671 GB, free: 51.52 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002728/8.022, allocations: 1.142 MB / 3.672 GB, free: 50.57 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.675e-05/8.022, allocations: 11.52 kB / 3.672 GB, free: 50.57 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.644e-06/8.022, allocations: 4.547 kB / 3.672 GB, free: 50.56 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.494e-05/8.022, allocations: 8.359 kB / 3.672 GB, free: 50.56 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004943/8.027, allocations: 2.576 MB / 3.675 GB, free: 48.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.825e-06/8.027, allocations: 4 kB / 3.675 GB, free: 48.42 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001323/8.029, allocations: 256.1 kB / 3.675 GB, free: 48.17 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.47e-05/8.029, allocations: 8 kB / 3.675 GB, free: 48.16 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.174e-05/8.029, allocations: 23.97 kB / 3.675 GB, free: 48.14 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000538/8.029, allocations: 1.199 MB / 3.676 GB, free: 46.89 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.262e-06/8.029, allocations: 4 kB / 3.676 GB, free: 46.89 MB / 0.6198 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002801/8.032, allocations: 1.981 MB / 3.678 GB, free: 44.73 MB / 0.6198 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003723/8.036, allocations: 3.045 MB / 3.681 GB, free: 41.5 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007171/8.037, allocations: 363 kB / 3.681 GB, free: 41.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002261/8.037, allocations: 4 kB / 3.681 GB, free: 41.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001428/8.038, allocations: 151.8 kB / 3.681 GB, free: 40.97 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001503/8.039, allocations: 68.41 kB / 3.682 GB, free: 40.9 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001089/8.039, allocations: 47.91 kB / 3.682 GB, free: 40.86 MB / 0.6198 GB Notification: Performance of sort global known variables: time 0.001037/8.04, allocations: 0.6706 MB / 3.682 GB, free: 40.18 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.005177/8.045, allocations: 1.478 MB / 3.684 GB, free: 38.71 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 4 (temSen.T,val.filter.s[1],val.filter.s[2],P.I.y) * Number of discrete variables: 3 ($whenCondition1,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003157/8.048, allocations: 2.303 MB / 3.686 GB, free: 36.48 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.003291/8.051, allocations: 1.665 MB / 3.688 GB, free: 34.8 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 6.703e-06/8.051, allocations: 4 kB / 3.688 GB, free: 34.8 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0008889/8.052, allocations: 0.514 MB / 3.688 GB, free: 34.28 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002758/8.055, allocations: 493.8 kB / 3.689 GB, free: 33.81 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004724/8.06, allocations: 2.096 MB / 3.691 GB, free: 31.62 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001062/8.061, allocations: 1.411 MB / 3.692 GB, free: 30.18 MB / 0.6198 GB Notification: Performance of SimCode: time 9.72e-07/8.061, allocations: 0 / 3.692 GB, free: 30.18 MB / 0.6198 GB (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl.fmu > IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe 2>&1)