Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Movers.Examples.PumpsParallel.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.Movers.Examples.PumpsParallel,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Movers_Examples_PumpsParallel",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.132/2.132, allocations: 248.6 MB / 255.9 MB, free: 280 kB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001709/0.001709, allocations: 181.3 kB / 315.1 MB, free: 7.668 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.12/2.12, allocations: 205.1 MB / 0.5658 GB, free: 25.41 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001271/0.001271, allocations: 94.53 kB / 0.67 GB, free: 2.941 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 0.3036/0.3049, allocations: 112.4 MB / 0.7797 GB, free: 2.473 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4848/0.7898, allocations: 106.2 MB / 0.8835 GB, free: 77.29 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.977/1.767, allocations: 429.8 MB / 1.303 GB, free: 10.35 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003319/1.767, allocations: 93.56 kB / 1.303 GB, free: 10.3 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 329 * Number of variables: 329 Notification: Performance of Generate backend data structure: time 4.125/5.892, allocations: 0.843 GB / 2.146 GB, free: 115 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.198e-05/5.892, allocations: 9.375 kB / 2.146 GB, free: 115 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004535/5.897, allocations: 437.9 kB / 2.147 GB, free: 114.9 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05459/5.952, allocations: 14.23 MB / 2.161 GB, free: 114 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001144/5.952, allocations: 41.09 kB / 2.161 GB, free: 114 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006065/5.952, allocations: 102 kB / 2.161 GB, free: 114 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003792/5.956, allocations: 1.078 MB / 2.162 GB, free: 113.9 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003754/5.96, allocations: 1.363 MB / 2.163 GB, free: 113.7 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.207e-05/5.96, allocations: 0 / 2.163 GB, free: 113.7 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002109/5.96, allocations: 0 / 2.163 GB, free: 113.7 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.093e-05/5.96, allocations: 35.97 kB / 2.163 GB, free: 113.7 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01656/5.977, allocations: 7.54 MB / 2.171 GB, free: 109.7 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002765/5.98, allocations: 0.9522 MB / 2.171 GB, free: 109.7 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001502/5.981, allocations: 0.5449 MB / 2.172 GB, free: 109.7 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006547/5.988, allocations: 2.54 MB / 2.174 GB, free: 108.4 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.635e-05/5.988, allocations: 44.81 kB / 2.175 GB, free: 108.4 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=87): time 3.937e-06/5.988, allocations: 1.781 kB / 2.175 GB, free: 108.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=87): time 0.00521/5.993, allocations: 1.293 MB / 2.176 GB, free: 108.2 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.914e-05/5.993, allocations: 213.6 kB / 2.176 GB, free: 107.9 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003311/5.997, allocations: 1.464 MB / 2.177 GB, free: 107.7 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003705/5.997, allocations: 29.61 kB / 2.177 GB, free: 107.7 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006/5.998, allocations: 0.624 MB / 2.178 GB, free: 107.4 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004405/5.998, allocations: 297.2 kB / 2.178 GB, free: 107.2 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001103/5.998, allocations: 2.531 kB / 2.178 GB, free: 107.2 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001241/5.998, allocations: 352 kB / 2.179 GB, free: 106.9 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001123/6, allocations: 433.6 kB / 2.179 GB, free: 106.9 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001386/6.001, allocations: 0.9065 MB / 2.18 GB, free: 106.3 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003114/6.004, allocations: 0.6593 MB / 2.181 GB, free: 106.3 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.247e-05/6.004, allocations: 3.875 kB / 2.181 GB, free: 106.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=152) (initialization): time 0.006076/6.01, allocations: 1.622 MB / 2.182 GB, free: 106.1 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009147/6.011, allocations: 3.787 MB / 2.186 GB, free: 102 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.749e-05/6.011, allocations: 14.64 kB / 2.186 GB, free: 102 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001052/6.012, allocations: 222.7 kB / 2.186 GB, free: 102 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002379/6.015, allocations: 265.3 kB / 2.186 GB, free: 102 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00169/6.016, allocations: 0.9566 MB / 2.187 GB, free: 101.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003041/6.019, allocations: 161.7 kB / 2.187 GB, free: 101.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002908/6.02, allocations: 86.8 kB / 2.188 GB, free: 101.4 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/6.02, allocations: 3.469 kB / 2.188 GB, free: 101.4 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00547/6.025, allocations: 1.331 MB / 2.189 GB, free: 101.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.279e-05/6.025, allocations: 17.3 kB / 2.189 GB, free: 101.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001161/6.027, allocations: 237.7 kB / 2.189 GB, free: 101.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002071/6.029, allocations: 253.5 kB / 2.189 GB, free: 101.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01122/6.04, allocations: 3.843 MB / 2.193 GB, free: 99.72 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004395/6.044, allocations: 144.5 kB / 2.193 GB, free: 99.67 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007016/6.045, allocations: 71.19 kB / 2.193 GB, free: 99.67 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (126): * Single equations (assignments): 119 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 2 * 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 {2 19} Notification: Performance of prepare postOptimizeDAE: time 0.0008142/6.046, allocations: 135.7 kB / 2.193 GB, free: 99.56 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001026/6.047, allocations: 207.5 kB / 2.194 GB, free: 99.45 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009862/6.057, allocations: 1.582 MB / 2.195 GB, free: 99.34 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.176e-05/6.057, allocations: 14.36 kB / 2.195 GB, free: 99.34 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.024e-06/6.057, allocations: 0 / 2.195 GB, free: 99.34 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006098/6.063, allocations: 1.146 MB / 2.196 GB, free: 99.14 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009847/6.073, allocations: 3.007 MB / 2.199 GB, free: 98.58 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-05/6.073, allocations: 0 / 2.199 GB, free: 98.58 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001838/6.075, allocations: 174.5 kB / 2.199 GB, free: 98.58 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006049/6.076, allocations: 141.6 kB / 2.2 GB, free: 98.57 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000166/6.076, allocations: 27.89 kB / 2.2 GB, free: 98.56 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001053/6.077, allocations: 0.7981 MB / 2.2 GB, free: 98.04 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.681e-06/6.077, allocations: 0 / 2.2 GB, free: 98.04 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005684/6.083, allocations: 1.958 MB / 2.202 GB, free: 97.66 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00744/6.09, allocations: 2.973 MB / 2.205 GB, free: 96.91 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001648/6.092, allocations: 411 kB / 2.206 GB, free: 96.68 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005197/6.092, allocations: 7.062 kB / 2.206 GB, free: 96.68 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002325/6.095, allocations: 79.48 kB / 2.206 GB, free: 96.68 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001767/6.095, allocations: 60.33 kB / 2.206 GB, free: 96.68 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001507/6.095, allocations: 46.3 kB / 2.206 GB, free: 96.68 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.00259/6.098, allocations: 1.095 MB / 2.207 GB, free: 96.53 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.01102/6.109, allocations: 1.686 MB / 2.208 GB, free: 96.31 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (floMac1.vol.dynBal.U,floMac1.filter.x[1],floMac1.filter.x[2],floMac2.vol.dynBal.U,floMac2.filter.x[1],floMac2.filter.x[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (87): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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 {2 18} Notification: Performance of Backend phase and start with SimCode phase: time 0.005177/6.114, allocations: 1.533 MB / 2.21 GB, free: 95.9 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.006071/6.12, allocations: 2.115 MB / 2.212 GB, free: 95.63 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 8.215e-06/6.12, allocations: 0.5625 kB / 2.212 GB, free: 95.63 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.00162/6.122, allocations: 0.5114 MB / 2.213 GB, free: 95.62 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007416/6.129, allocations: 0.8369 MB / 2.213 GB, free: 95.59 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009643/6.139, allocations: 2.851 MB / 2.216 GB, free: 94.84 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002651/6.142, allocations: 1.808 MB / 2.218 GB, free: 94.11 MB / 0.8698 GB Notification: Performance of SimCode: time 1.413e-06/6.142, allocations: 2.969 kB / 2.218 GB, free: 94.11 MB / 0.8698 GB