Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/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.Examples.DryCoilEffectivenessNTUPControl,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl,fileNamePrefix="IDEAS_IDEAS_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.00116/0.00116, allocations: 178.8 kB / 7.457 MB, free: 1.539 MB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7104/0.7104, allocations: 133.5 MB / 141.4 MB, free: 4.879 MB / 114.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.557/1.557, allocations: 221.4 MB / 395 MB, free: 13.82 MB / 322.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000984/0.000984, allocations: 90.78 kB / 477.8 MB, free: 11.12 MB / 402.8 MB Notification: Performance of FrontEnd - loaded program: time 0.3794/0.3804, allocations: 88.43 MB / 0.5529 GB, free: 49.93 MB / 402.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5914/0.9718, allocations: 82.3 MB / 0.6333 GB, free: 5.629 MB / 434.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.42/6.392, allocations: 2.148 GB / 2.781 GB, free: 164.3 MB / 0.6746 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000406/6.392, allocations: 91.89 kB / 2.781 GB, free: 164.2 MB / 0.6746 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.808/10.2, allocations: 0.9569 GB / 3.738 GB, free: 87.77 MB / 0.7058 GB Notification: Performance of prepare preOptimizeDAE: time 4.652e-05/10.2, allocations: 10.81 kB / 3.738 GB, free: 87.77 MB / 0.7058 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0036/10.2, allocations: 0.5816 MB / 3.739 GB, free: 87.68 MB / 0.7058 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003862/10.21, allocations: 1.384 MB / 3.74 GB, free: 87.36 MB / 0.7058 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006672/10.21, allocations: 184 kB / 3.74 GB, free: 87.36 MB / 0.7058 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002884/10.21, allocations: 67.66 kB / 3.741 GB, free: 87.36 MB / 0.7058 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001861/10.21, allocations: 0.971 MB / 3.742 GB, free: 87.36 MB / 0.7058 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001817/10.21, allocations: 1.093 MB / 3.743 GB, free: 87.21 MB / 0.7058 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.659e-05/10.21, allocations: 0 / 3.743 GB, free: 87.21 MB / 0.7058 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001076/10.21, allocations: 6.062 kB / 3.743 GB, free: 87.21 MB / 0.7058 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-05/10.21, allocations: 45.16 kB / 3.743 GB, free: 87.21 MB / 0.7058 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01048/10.22, allocations: 5.265 MB / 3.748 GB, free: 85.24 MB / 0.7058 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001258/10.22, allocations: 0.7836 MB / 3.749 GB, free: 85.21 MB / 0.7058 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005381/10.22, allocations: 418.2 kB / 3.749 GB, free: 85.2 MB / 0.7058 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009956/10.23, allocations: 0.8411 MB / 3.75 GB, free: 84.36 MB / 0.7058 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007817/10.23, allocations: 0.4924 MB / 3.75 GB, free: 84.3 MB / 0.7058 GB Notification: Performance of pre-optimization done (n=83): time 4.048e-06/10.23, allocations: 0 / 3.75 GB, free: 84.3 MB / 0.7058 GB Notification: Performance of matching and sorting (n=83): time 0.003032/10.23, allocations: 1.018 MB / 3.751 GB, free: 84.18 MB / 0.7058 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.594e-05/10.23, allocations: 113.8 kB / 3.751 GB, free: 84.05 MB / 0.7058 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001403/10.23, allocations: 0.9007 MB / 3.752 GB, free: 83.9 MB / 0.7058 GB Notification: Performance of collectPreVariables (initialization): time 0.0001968/10.23, allocations: 26.52 kB / 3.752 GB, free: 83.87 MB / 0.7058 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004343/10.23, allocations: 448.7 kB / 3.753 GB, free: 83.68 MB / 0.7058 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003083/10.23, allocations: 283.9 kB / 3.753 GB, free: 83.53 MB / 0.7058 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.144e-05/10.23, allocations: 0 / 3.753 GB, free: 83.53 MB / 0.7058 GB Notification: Performance of setup shared object (initialization): time 8.514e-05/10.23, allocations: 350.1 kB / 3.753 GB, free: 83.23 MB / 0.7058 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005799/10.23, allocations: 390.2 kB / 3.754 GB, free: 83.22 MB / 0.7058 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007596/10.23, allocations: 0.683 MB / 3.754 GB, free: 82.9 MB / 0.7058 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001129/10.23, allocations: 0.5215 MB / 3.755 GB, free: 82.89 MB / 0.7058 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.529e-06/10.23, allocations: 0 / 3.755 GB, free: 82.89 MB / 0.7058 GB Notification: Performance of matching and sorting (n=134) (initialization): time 0.002225/10.24, allocations: 1.219 MB / 3.756 GB, free: 82.77 MB / 0.7058 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003966/10.24, allocations: 2.033 MB / 3.758 GB, free: 80.69 MB / 0.7058 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.239e-05/10.24, allocations: 10.34 kB / 3.758 GB, free: 80.69 MB / 0.7058 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.556e-05/10.24, allocations: 9.719 kB / 3.758 GB, free: 80.69 MB / 0.7058 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001876/10.24, allocations: 365.8 kB / 3.758 GB, free: 80.69 MB / 0.7058 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005785/10.24, allocations: 1.215 MB / 3.76 GB, free: 79.52 MB / 0.7058 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001664/10.24, allocations: 198.1 kB / 3.76 GB, free: 79.49 MB / 0.7058 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001307/10.24, allocations: 63.38 kB / 3.76 GB, free: 79.49 MB / 0.7058 GB Notification: Performance of prepare postOptimizeDAE: time 7.604e-06/10.24, allocations: 6.719 kB / 3.76 GB, free: 79.49 MB / 0.7058 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001862/10.24, allocations: 1.044 MB / 3.761 GB, free: 79.47 MB / 0.7058 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/10.24, allocations: 5.469 kB / 3.761 GB, free: 79.47 MB / 0.7058 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/10.24, allocations: 11.5 kB / 3.761 GB, free: 79.47 MB / 0.7058 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00153/10.24, allocations: 343.6 kB / 3.761 GB, free: 79.47 MB / 0.7058 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.5e-05/10.24, allocations: 22.03 kB / 3.761 GB, free: 79.46 MB / 0.7058 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001665/10.25, allocations: 184.5 kB / 3.761 GB, free: 79.45 MB / 0.7058 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001285/10.25, allocations: 63.8 kB / 3.761 GB, free: 79.45 MB / 0.7058 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,hex.flowRegime,hex.flowRegime_nominal,P.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (133): * Single equations (assignments): 130 * 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.0003036/10.25, allocations: 135.9 kB / 3.762 GB, free: 79.34 MB / 0.7058 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002638/10.25, allocations: 134.2 kB / 3.762 GB, free: 79.27 MB / 0.7058 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002547/10.25, allocations: 1.156 MB / 3.763 GB, free: 79.2 MB / 0.7058 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.204e-05/10.25, allocations: 9.781 kB / 3.763 GB, free: 79.2 MB / 0.7058 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/10.25, allocations: 6.406 kB / 3.763 GB, free: 79.2 MB / 0.7058 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.027e-05/10.25, allocations: 3.609 kB / 3.763 GB, free: 79.2 MB / 0.7058 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004355/10.25, allocations: 2.578 MB / 3.765 GB, free: 78.76 MB / 0.7058 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/10.25, allocations: 6 kB / 3.765 GB, free: 78.76 MB / 0.7058 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001331/10.26, allocations: 267.5 kB / 3.766 GB, free: 78.76 MB / 0.7058 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.222e-05/10.26, allocations: 6.594 kB / 3.766 GB, free: 78.76 MB / 0.7058 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.199e-05/10.26, allocations: 27.03 kB / 3.766 GB, free: 78.76 MB / 0.7058 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004325/10.26, allocations: 1.193 MB / 3.767 GB, free: 77.59 MB / 0.7058 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.382e-06/10.26, allocations: 6 kB / 3.767 GB, free: 77.59 MB / 0.7058 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002926/10.26, allocations: 1.993 MB / 3.769 GB, free: 76.93 MB / 0.7058 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00427/10.26, allocations: 3.059 MB / 3.772 GB, free: 75.89 MB / 0.7058 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009412/10.26, allocations: 355.9 kB / 3.772 GB, free: 75.72 MB / 0.7058 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002518/10.26, allocations: 14.31 kB / 3.772 GB, free: 75.72 MB / 0.7058 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001431/10.27, allocations: 144.3 kB / 3.772 GB, free: 75.72 MB / 0.7058 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001389/10.27, allocations: 69.92 kB / 3.772 GB, free: 75.71 MB / 0.7058 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.326e-05/10.27, allocations: 41.75 kB / 3.772 GB, free: 75.71 MB / 0.7058 GB Notification: Performance of sort global known variables: time 0.0009508/10.27, allocations: 0.6607 MB / 3.773 GB, free: 75.6 MB / 0.7058 GB Notification: Performance of remove unused functions: time 0.00563/10.27, allocations: 1.489 MB / 3.774 GB, free: 75.52 MB / 0.7058 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: 4 ($whenCondition1,TSet.T_start,TSet.count,hex.flowRegime) * Number of discrete states: 1 (TSet.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (92): * Single equations (assignments): 86 * 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.003811/10.28, allocations: 2.292 MB / 3.777 GB, free: 74.95 MB / 0.7058 GB Notification: Performance of simCode: created initialization part: time 0.00346/10.28, allocations: 1.675 MB / 3.778 GB, free: 74.86 MB / 0.7058 GB Notification: Performance of simCode: created event and clocks part: time 7.394e-06/10.28, allocations: 5.938 kB / 3.778 GB, free: 74.86 MB / 0.7058 GB Notification: Performance of simCode: created simulation system equations: time 0.001014/10.28, allocations: 0.5312 MB / 3.779 GB, free: 74.86 MB / 0.7058 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003158/10.28, allocations: 0.4923 MB / 3.779 GB, free: 74.85 MB / 0.7058 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005104/10.29, allocations: 2.096 MB / 3.781 GB, free: 74.22 MB / 0.7058 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001163/10.29, allocations: 1.41 MB / 3.783 GB, free: 73.5 MB / 0.7058 GB Notification: Performance of SimCode: time 1.112e-06/10.29, allocations: 0 / 3.783 GB, free: 73.5 MB / 0.7058 GB (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl.fmu > IDEAS_IDEAS.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe 2>&1)