Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.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.Examples.Performance.PressureDrop.SeriesParallelDp,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDp",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.049/2.049, allocations: 248.6 MB / 255.9 MB, free: 1.188 MB / 194.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001641/0.001641, allocations: 186 kB / 315.1 MB, free: 9.617 MB / 258.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.777/1.777, allocations: 205.1 MB / 0.5658 GB, free: 14.15 MB / 434.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001318/0.001317, allocations: 88.12 kB / 0.6699 GB, free: 52.06 MB / 498.8 MB Notification: Performance of FrontEnd - loaded program: time 0.2695/0.2709, allocations: 112.4 MB / 0.7797 GB, free: 10.67 MB / 0.5496 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2536/0.5245, allocations: 106.2 MB / 0.8835 GB, free: 324 kB / 0.6434 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.28/5.804, allocations: 2.183 GB / 3.067 GB, free: 153.5 MB / 0.8778 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002912/5.804, allocations: 83.33 kB / 3.067 GB, free: 153.4 MB / 0.8778 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 4.563/10.37, allocations: 1.045 GB / 4.112 GB, free: 142.3 MB / 0.8778 GB Notification: Performance of prepare preOptimizeDAE: time 4.651e-05/10.37, allocations: 8 kB / 4.112 GB, free: 142.3 MB / 0.8778 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001917/10.37, allocations: 206.3 kB / 4.112 GB, free: 142.1 MB / 0.8778 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007342/10.38, allocations: 1.454 MB / 4.114 GB, free: 140.6 MB / 0.8778 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.692e-05/10.38, allocations: 16 kB / 4.114 GB, free: 140.6 MB / 0.8778 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002356/10.38, allocations: 43.91 kB / 4.114 GB, free: 140.5 MB / 0.8778 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001906/10.38, allocations: 0.7209 MB / 4.114 GB, free: 139.8 MB / 0.8778 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001724/10.38, allocations: 0.865 MB / 4.115 GB, free: 138.9 MB / 0.8778 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.553e-05/10.38, allocations: 4 kB / 4.115 GB, free: 138.9 MB / 0.8778 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.283e-05/10.38, allocations: 0 / 4.115 GB, free: 138.9 MB / 0.8778 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.864e-05/10.38, allocations: 16 kB / 4.115 GB, free: 138.9 MB / 0.8778 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006711/10.39, allocations: 4.703 MB / 4.12 GB, free: 133.9 MB / 0.8778 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001211/10.39, allocations: 0.5217 MB / 4.12 GB, free: 133.3 MB / 0.8778 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007569/10.39, allocations: 432.8 kB / 4.121 GB, free: 132.9 MB / 0.8778 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003828/10.39, allocations: 198.5 kB / 4.121 GB, free: 132.7 MB / 0.8778 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005618/10.39, allocations: 296.6 kB / 4.121 GB, free: 132.4 MB / 0.8778 GB Notification: Performance of pre-optimization done (n=35): time 3.056e-06/10.39, allocations: 0 / 4.121 GB, free: 132.4 MB / 0.8778 GB Notification: Performance of matching and sorting (n=35): time 0.003381/10.39, allocations: 0.8985 MB / 4.122 GB, free: 131.5 MB / 0.8778 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.854e-05/10.39, allocations: 81.11 kB / 4.122 GB, free: 131.4 MB / 0.8778 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001865/10.4, allocations: 0.9221 MB / 4.123 GB, free: 130.4 MB / 0.8778 GB Notification: Performance of collectPreVariables (initialization): time 0.0001483/10.4, allocations: 25.7 kB / 4.123 GB, free: 130.4 MB / 0.8778 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003178/10.4, allocations: 356.2 kB / 4.124 GB, free: 130.1 MB / 0.8778 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001241/10.4, allocations: 114.4 kB / 4.124 GB, free: 129.9 MB / 0.8778 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.777e-05/10.4, allocations: 0 / 4.124 GB, free: 129.9 MB / 0.8778 GB Notification: Performance of setup shared object (initialization): time 7.942e-05/10.4, allocations: 333.9 kB / 4.124 GB, free: 129.6 MB / 0.8778 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004892/10.4, allocations: 212.9 kB / 4.124 GB, free: 129.4 MB / 0.8778 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00075/10.4, allocations: 0.5536 MB / 4.125 GB, free: 128.7 MB / 0.8778 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006223/10.4, allocations: 313.7 kB / 4.125 GB, free: 128.4 MB / 0.8778 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.483e-06/10.4, allocations: 7.938 kB / 4.125 GB, free: 128.4 MB / 0.8778 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.003333/10.4, allocations: 1.008 MB / 4.126 GB, free: 127.4 MB / 0.8778 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004652/10.4, allocations: 2.101 MB / 4.128 GB, free: 125.1 MB / 0.8778 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.627e-05/10.4, allocations: 4 kB / 4.128 GB, free: 125.1 MB / 0.8778 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001021/10.4, allocations: 304.4 kB / 4.128 GB, free: 124.8 MB / 0.8778 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006523/10.4, allocations: 75.89 kB / 4.128 GB, free: 124.7 MB / 0.8778 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003281/10.41, allocations: 1.302 MB / 4.13 GB, free: 123.4 MB / 0.8778 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002135/10.41, allocations: 119.4 kB / 4.13 GB, free: 123.3 MB / 0.8778 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001241/10.41, allocations: 24 kB / 4.13 GB, free: 123.3 MB / 0.8778 GB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/10.41, allocations: 4 kB / 4.13 GB, free: 123.3 MB / 0.8778 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002128/10.41, allocations: 0.6915 MB / 4.13 GB, free: 122.6 MB / 0.8778 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.238e-06/10.41, allocations: 4 kB / 4.13 GB, free: 122.6 MB / 0.8778 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001061/10.41, allocations: 241 kB / 4.131 GB, free: 122.3 MB / 0.8778 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005983/10.41, allocations: 79.77 kB / 4.131 GB, free: 122.3 MB / 0.8778 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005852/10.42, allocations: 2.943 MB / 4.134 GB, free: 119.2 MB / 0.8778 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001897/10.42, allocations: 104 kB / 4.134 GB, free: 119.1 MB / 0.8778 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.009e-05/10.42, allocations: 27.94 kB / 4.134 GB, free: 119.1 MB / 0.8778 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse_m_flow.T_start,pulse_m_flow.T_start,$PRE.pulse_m_flow.count,pulse_m_flow.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {11 12} Notification: Performance of prepare postOptimizeDAE: time 0.0002297/10.42, allocations: 129 kB / 4.134 GB, free: 118.9 MB / 0.8778 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001682/10.42, allocations: 98.78 kB / 4.134 GB, free: 118.8 MB / 0.8778 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002131/10.42, allocations: 0.7857 MB / 4.135 GB, free: 118.1 MB / 0.8778 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.864e-06/10.42, allocations: 4 kB / 4.135 GB, free: 118.1 MB / 0.8778 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/10.42, allocations: 0 / 4.135 GB, free: 118.1 MB / 0.8778 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/10.42, allocations: 0 / 4.135 GB, free: 118.1 MB / 0.8778 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003885/10.43, allocations: 1.715 MB / 4.136 GB, free: 116.3 MB / 0.8778 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.082e-06/10.43, allocations: 0 / 4.136 GB, free: 116.3 MB / 0.8778 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003964/10.43, allocations: 35.97 kB / 4.136 GB, free: 116.3 MB / 0.8778 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007874/10.43, allocations: 256.7 kB / 4.137 GB, free: 116 MB / 0.8778 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.771e-05/10.43, allocations: 16 kB / 4.137 GB, free: 116 MB / 0.8778 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001829/10.43, allocations: 1.138 MB / 4.138 GB, free: 114.8 MB / 0.8778 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.079e-06/10.43, allocations: 4 kB / 4.138 GB, free: 114.8 MB / 0.8778 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001957/10.43, allocations: 0.9675 MB / 4.139 GB, free: 113.8 MB / 0.8778 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00221/10.44, allocations: 1.408 MB / 4.14 GB, free: 112.3 MB / 0.8778 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000731/10.44, allocations: 231.7 kB / 4.14 GB, free: 112.1 MB / 0.8778 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002159/10.44, allocations: 7.938 kB / 4.14 GB, free: 112.1 MB / 0.8778 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001438/10.44, allocations: 75.75 kB / 4.14 GB, free: 112 MB / 0.8778 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001231/10.44, allocations: 47.83 kB / 4.141 GB, free: 111.9 MB / 0.8778 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.045e-05/10.44, allocations: 8 kB / 4.141 GB, free: 111.9 MB / 0.8778 GB Notification: Performance of sort global known variables: time 0.00136/10.44, allocations: 0.718 MB / 4.141 GB, free: 111.2 MB / 0.8778 GB Notification: Performance of remove unused functions: time 0.005073/10.45, allocations: 0.7883 MB / 4.142 GB, free: 110.4 MB / 0.8778 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,pulse_m_flow.T_start,pulse_m_flow.count) * Number of discrete states: 1 (pulse_m_flow.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {11 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.002094/10.45, allocations: 1.285 MB / 4.143 GB, free: 109.2 MB / 0.8778 GB Notification: Performance of simCode: created initialization part: time 0.00393/10.45, allocations: 1.145 MB / 4.144 GB, free: 108.1 MB / 0.8778 GB Notification: Performance of simCode: created event and clocks part: time 7.063e-06/10.45, allocations: 0 / 4.144 GB, free: 108.1 MB / 0.8778 GB Notification: Performance of simCode: created simulation system equations: time 0.0009688/10.45, allocations: 316 kB / 4.145 GB, free: 107.8 MB / 0.8778 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005954/10.46, allocations: 0.5726 MB / 4.145 GB, free: 107.2 MB / 0.8778 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004075/10.46, allocations: 1.485 MB / 4.147 GB, free: 105.7 MB / 0.8778 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001139/10.46, allocations: 1.3 MB / 4.148 GB, free: 104.3 MB / 0.8778 GB Notification: Performance of SimCode: time 1.362e-06/10.46, allocations: 0 / 4.148 GB, free: 104.3 MB / 0.8778 GB