Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.conf.json Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_HeatExchangers_Examples_PlateHeatExchangerEffectivenessNTUPControl",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/Buildings 7.0.1/package.mo): time 2.018/2.018, allocations: 248.6 MB / 255.9 MB, free: 7.121 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001619/0.001619, allocations: 187.9 kB / 315.1 MB, free: 4.312 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.82/1.82, allocations: 205.1 MB / 0.5658 GB, free: 316 kB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001274/0.001274, allocations: 86.5 kB / 0.67 GB, free: 5.527 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4347/0.436, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2068/0.6428, allocations: 106.2 MB / 0.8835 GB, free: 13.38 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.463/2.106, allocations: 416.4 MB / 1.29 GB, free: 245.2 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003415/2.106, allocations: 88.42 kB / 1.29 GB, free: 245.2 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 215 * Number of variables: 215 Notification: Performance of Generate backend data structure: time 2.516/4.623, allocations: 0.5988 GB / 1.889 GB, free: 22.48 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.553e-05/4.623, allocations: 8 kB / 1.889 GB, free: 22.47 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003371/4.626, allocations: 413.6 kB / 1.889 GB, free: 22.07 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004913/4.631, allocations: 1.321 MB / 1.891 GB, free: 20.72 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001263/4.632, allocations: 181.9 kB / 1.891 GB, free: 20.55 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004174/4.633, allocations: 63.98 kB / 1.891 GB, free: 20.48 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002479/4.635, allocations: 0.7537 MB / 1.892 GB, free: 19.73 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002888/4.638, allocations: 0.8992 MB / 1.892 GB, free: 18.77 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.062e-05/4.638, allocations: 8 kB / 1.893 GB, free: 18.77 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001618/4.639, allocations: 7.844 kB / 1.893 GB, free: 18.76 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.205e-05/4.639, allocations: 20 kB / 1.893 GB, free: 18.74 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01176/4.65, allocations: 4.624 MB / 1.897 GB, free: 13.91 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001486/4.652, allocations: 0.5799 MB / 1.898 GB, free: 13.32 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007548/4.653, allocations: 326.8 kB / 1.898 GB, free: 13 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001638/4.654, allocations: 1.062 MB / 1.899 GB, free: 11.71 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001172/4.656, allocations: 403 kB / 1.899 GB, free: 11.3 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=73): time 3.978e-06/4.656, allocations: 4 kB / 1.899 GB, free: 11.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=73): time 0.003439/4.659, allocations: 0.8184 MB / 1.9 GB, free: 10.48 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.037e-05/4.659, allocations: 196.6 kB / 1.9 GB, free: 10.24 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001771/4.661, allocations: 0.8578 MB / 1.901 GB, free: 9.375 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003034/4.661, allocations: 25.7 kB / 1.901 GB, free: 9.344 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004318/4.662, allocations: 413.9 kB / 1.902 GB, free: 8.93 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002887/4.662, allocations: 232.4 kB / 1.902 GB, free: 8.699 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.289e-05/4.662, allocations: 0 / 1.902 GB, free: 8.699 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.497e-05/4.662, allocations: 353.8 kB / 1.902 GB, free: 8.348 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000957/4.663, allocations: 321.9 kB / 1.902 GB, free: 8.031 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001324/4.665, allocations: 0.5816 MB / 1.903 GB, free: 7.34 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002454/4.667, allocations: 470 kB / 1.903 GB, free: 6.887 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.369e-05/4.667, allocations: 4 kB / 1.903 GB, free: 6.883 MB / 0.8698 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.004364/4.671, allocations: 1.076 MB / 1.905 GB, free: 5.801 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003381/4.672, allocations: 1.584 MB / 1.906 GB, free: 4.109 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.388e-05/4.672, allocations: 12 kB / 1.906 GB, free: 4.098 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.211e-05/4.672, allocations: 12.05 kB / 1.906 GB, free: 4.086 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003151/4.675, allocations: 323.4 kB / 1.906 GB, free: 3.77 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008607/4.676, allocations: 1.207 MB / 1.908 GB, free: 2.516 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002775/4.679, allocations: 191 kB / 1.908 GB, free: 2.328 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002281/4.679, allocations: 59.88 kB / 1.908 GB, free: 2.27 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.207e-05/4.679, allocations: 4 kB / 1.908 GB, free: 2.266 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003727/4.683, allocations: 0.9113 MB / 1.909 GB, free: 1.352 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.055e-05/4.683, allocations: 7.984 kB / 1.909 GB, free: 1.344 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.976e-05/4.683, allocations: 8 kB / 1.909 GB, free: 1.336 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002484/4.685, allocations: 292.1 kB / 1.909 GB, free: 1.051 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.17e-05/4.685, allocations: 15.92 kB / 1.909 GB, free: 1.035 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002744/4.688, allocations: 167.2 kB / 1.909 GB, free: 0.8711 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002591/4.689, allocations: 55.88 kB / 1.909 GB, free: 0.8164 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (121): * Single equations (assignments): 116 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * 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.000395/4.689, allocations: 132.8 kB / 1.909 GB, free: 0.6797 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003943/4.689, allocations: 126.4 kB / 1.909 GB, free: 0.5547 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3758/5.065, allocations: 1.136 MB / 1.911 GB, free: 226.1 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.459e-05/5.065, allocations: 11.09 kB / 1.911 GB, free: 226.1 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.347e-06/5.065, allocations: 0 / 1.911 GB, free: 226.1 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.439e-05/5.065, allocations: 6.375 kB / 1.911 GB, free: 226.1 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00711/5.072, allocations: 2.236 MB / 1.913 GB, free: 225.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.4e-05/5.072, allocations: 3.125 kB / 1.913 GB, free: 225.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002472/5.075, allocations: 231.7 kB / 1.913 GB, free: 225.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.967e-05/5.075, allocations: 3.844 kB / 1.913 GB, free: 225.7 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000158/5.075, allocations: 20.59 kB / 1.913 GB, free: 225.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005757/5.076, allocations: 1.195 MB / 1.914 GB, free: 224.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.034e-06/5.076, allocations: 4.906 kB / 1.914 GB, free: 224.6 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00465/5.08, allocations: 1.677 MB / 1.916 GB, free: 224.2 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00657/5.087, allocations: 2.596 MB / 1.918 GB, free: 223.5 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001223/5.088, allocations: 337.9 kB / 1.919 GB, free: 223.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005394/5.089, allocations: 11.08 kB / 1.919 GB, free: 223.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002259/5.091, allocations: 132.8 kB / 1.919 GB, free: 223.3 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001867/5.091, allocations: 61.84 kB / 1.919 GB, free: 223.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001368/5.092, allocations: 43 kB / 1.919 GB, free: 223.3 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.001327/5.093, allocations: 0.6279 MB / 1.92 GB, free: 223.2 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.006354/5.099, allocations: 1.086 MB / 1.921 GB, free: 223.2 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (temSen.T,val.filter.x[1],val.filter.x[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 (90): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.002707/5.102, allocations: 0.8934 MB / 1.921 GB, free: 223.1 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.004961/5.107, allocations: 1.514 MB / 1.923 GB, free: 222.9 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 8.857e-06/5.107, allocations: 0 / 1.923 GB, free: 222.9 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001432/5.108, allocations: 477.7 kB / 1.923 GB, free: 222.9 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004539/5.113, allocations: 455.7 kB / 1.924 GB, free: 222.9 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006506/5.12, allocations: 1.842 MB / 1.926 GB, free: 222.4 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001682/5.121, allocations: 1.349 MB / 1.927 GB, free: 221.7 MB / 0.8698 GB Notification: Performance of SimCode: time 1.563e-06/5.121, allocations: 3.594 kB / 1.927 GB, free: 221.7 MB / 0.8698 GB