Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Movers.Examples.PumpsSeries.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.PumpsSeries,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Movers_Examples_PumpsSeries",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.267/2.267, allocations: 248.6 MB / 255.9 MB, free: 7.148 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.001759/0.001759, allocations: 195.4 kB / 315.1 MB, free: 4.281 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.955/1.955, allocations: 205.2 MB / 0.5658 GB, free: 368 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.001357/0.001357, allocations: 89.52 kB / 0.67 GB, free: 5.586 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4624/0.4638, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2223/0.6861, allocations: 106.3 MB / 0.8835 GB, free: 13.36 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.478/2.164, allocations: 429.1 MB / 1.302 GB, free: 240.9 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003169/2.164, allocations: 86.3 kB / 1.303 GB, free: 240.9 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: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 3.099/5.264, allocations: 0.6679 GB / 1.971 GB, free: 151.4 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.342e-05/5.264, allocations: 10.22 kB / 1.971 GB, free: 151.4 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005968/5.27, allocations: 0.5903 MB / 1.971 GB, free: 151.3 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04985/5.32, allocations: 13.79 MB / 1.985 GB, free: 150.5 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001088/5.32, allocations: 36.41 kB / 1.985 GB, free: 150.5 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005105/5.32, allocations: 65.47 kB / 1.985 GB, free: 150.5 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00303/5.323, allocations: 0.8638 MB / 1.986 GB, free: 150.5 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003123/5.326, allocations: 1.113 MB / 1.987 GB, free: 150.3 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.529e-05/5.327, allocations: 1.969 kB / 1.987 GB, free: 150.3 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001845/5.327, allocations: 2.844 kB / 1.987 GB, free: 150.3 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.58e-05/5.327, allocations: 24.38 kB / 1.987 GB, free: 150.3 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01348/5.34, allocations: 5.548 MB / 1.992 GB, free: 147.6 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002235/5.343, allocations: 0.8161 MB / 1.993 GB, free: 147.5 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008828/5.343, allocations: 369.6 kB / 1.993 GB, free: 147.5 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005151/5.349, allocations: 2.187 MB / 1.995 GB, free: 146.2 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.545e-05/5.349, allocations: 45.53 kB / 1.995 GB, free: 146.2 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=62): time 3.707e-06/5.349, allocations: 0 / 1.995 GB, free: 146.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=62): time 0.006615/5.355, allocations: 1.181 MB / 1.997 GB, free: 146.1 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.661e-05/5.355, allocations: 209.8 kB / 1.997 GB, free: 145.8 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002989/5.359, allocations: 1.195 MB / 1.998 GB, free: 145.6 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003376/5.359, allocations: 31.86 kB / 1.998 GB, free: 145.6 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004635/5.359, allocations: 0.5091 MB / 1.998 GB, free: 145.3 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003405/5.36, allocations: 205.9 kB / 1.999 GB, free: 145.2 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.404e-05/5.36, allocations: 0 / 1.999 GB, free: 145.2 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001125/5.36, allocations: 354.2 kB / 1.999 GB, free: 144.9 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009629/5.361, allocations: 362.3 kB / 1.999 GB, free: 144.9 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001219/5.362, allocations: 0.7334 MB / 2 GB, free: 144.4 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002973/5.365, allocations: 0.5842 MB / 2.001 GB, free: 144.4 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.596e-05/5.365, allocations: 0 / 2.001 GB, free: 144.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.005912/5.371, allocations: 1.408 MB / 2.002 GB, free: 144.3 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008619/5.372, allocations: 3.337 MB / 2.005 GB, free: 140.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.541e-05/5.372, allocations: 13.06 kB / 2.005 GB, free: 140.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001616/5.374, allocations: 298.6 kB / 2.006 GB, free: 140.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001778/5.376, allocations: 201 kB / 2.006 GB, free: 140.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002582/5.378, allocations: 1.559 MB / 2.007 GB, free: 139.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002508/5.381, allocations: 135 kB / 2.007 GB, free: 139.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003599/5.381, allocations: 70.95 kB / 2.007 GB, free: 139.7 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/5.381, allocations: 7.188 kB / 2.007 GB, free: 139.7 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00515/5.386, allocations: 1.148 MB / 2.009 GB, free: 139.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.184e-05/5.386, allocations: 14.25 kB / 2.009 GB, free: 139.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001626/5.388, allocations: 314.5 kB / 2.009 GB, free: 139.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00148/5.39, allocations: 192.4 kB / 2.009 GB, free: 139.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01023/5.4, allocations: 3.9 MB / 2.013 GB, free: 137.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0022/5.402, allocations: 105.4 kB / 2.013 GB, free: 137.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002798/5.402, allocations: 64.19 kB / 2.013 GB, free: 137.4 MB / 0.8698 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: floMac1.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real floMac2.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 88 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 9,1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0004874/5.403, allocations: 137.6 kB / 2.013 GB, free: 137.3 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004716/5.403, allocations: 161.4 kB / 2.013 GB, free: 137.2 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006201/5.41, allocations: 1.41 MB / 2.015 GB, free: 137.1 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.782e-05/5.41, allocations: 15.69 kB / 2.015 GB, free: 137.1 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/5.41, allocations: 0 / 2.015 GB, free: 137.1 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.226e-05/5.41, allocations: 3.656 kB / 2.015 GB, free: 137.1 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007837/5.418, allocations: 2.346 MB / 2.017 GB, free: 136.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.04e-05/5.418, allocations: 0 / 2.017 GB, free: 136.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001203/5.419, allocations: 117.9 kB / 2.017 GB, free: 136.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009879/5.42, allocations: 234.6 kB / 2.017 GB, free: 136.7 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001274/5.42, allocations: 19.75 kB / 2.017 GB, free: 136.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001897/5.422, allocations: 1.444 MB / 2.019 GB, free: 135.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.638e-06/5.422, allocations: 9.922 kB / 2.019 GB, free: 135.7 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005167/5.427, allocations: 1.731 MB / 2.02 GB, free: 135.3 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.006604/5.434, allocations: 2.643 MB / 2.023 GB, free: 134.5 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001235/5.435, allocations: 341.3 kB / 2.023 GB, free: 134.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004785/5.436, allocations: 3.844 kB / 2.023 GB, free: 134.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002017/5.438, allocations: 68.83 kB / 2.023 GB, free: 134.3 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001711/5.438, allocations: 44.69 kB / 2.023 GB, free: 134.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001515/5.438, allocations: 45.77 kB / 2.024 GB, free: 134.3 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.002087/5.44, allocations: 0.902 MB / 2.024 GB, free: 134.2 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.007985/5.448, allocations: 1.308 MB / 2.026 GB, free: 134 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (floMac1.filter.x[1],floMac1.filter.x[2],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 (58): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 9,1 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.003498/5.452, allocations: 1.302 MB / 2.027 GB, free: 133.7 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.00533/5.457, allocations: 1.791 MB / 2.029 GB, free: 133.5 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.079e-05/5.457, allocations: 3.219 kB / 2.029 GB, free: 133.5 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001356/5.458, allocations: 437.5 kB / 2.029 GB, free: 133.5 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005568/5.464, allocations: 0.629 MB / 2.03 GB, free: 133.4 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00858/5.473, allocations: 2.25 MB / 2.032 GB, free: 132.8 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002044/5.475, allocations: 1.575 MB / 2.033 GB, free: 132.1 MB / 0.8698 GB Notification: Performance of SimCode: time 1.693e-06/5.475, allocations: 0 / 2.033 GB, free: 132.1 MB / 0.8698 GB