Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.Movers.Examples.PumpsSeries.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Movers.Examples.PumpsSeries,fileNamePrefix="Buildings_6_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 loadModel(Buildings): time 3.958/3.958, allocations: 433 MB / 440.3 MB, free: 4.816 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5084/4.466, allocations: 104.3 MB / 0.5319 GB, free: 13.01 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2205/4.687, allocations: 98.72 MB / 0.6283 GB, free: 9.824 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.131/5.818, allocations: 419.9 MB / 1.038 GB, free: 1.234 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003392/5.818, allocations: 97.94 kB / 1.038 GB, free: 1.184 MB / 0.7761 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.196/9.015, allocations: 0.6622 GB / 1.701 GB, free: 35.66 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 6.848e-05/9.015, allocations: 8 kB / 1.701 GB, free: 35.65 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007453/9.022, allocations: 0.6842 MB / 1.701 GB, free: 34.96 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05054/9.073, allocations: 13.68 MB / 1.715 GB, free: 21.09 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001092/9.073, allocations: 32 kB / 1.715 GB, free: 21.06 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005063/9.073, allocations: 72 kB / 1.715 GB, free: 20.99 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0028/9.076, allocations: 0.863 MB / 1.716 GB, free: 20.13 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003169/9.08, allocations: 1.112 MB / 1.717 GB, free: 18.94 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.638e-05/9.08, allocations: 0 / 1.717 GB, free: 18.94 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001847/9.08, allocations: 4 kB / 1.717 GB, free: 18.93 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.708e-05/9.08, allocations: 28 kB / 1.717 GB, free: 18.91 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01337/9.093, allocations: 5.511 MB / 1.722 GB, free: 13.07 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002392/9.096, allocations: 0.8257 MB / 1.723 GB, free: 12.22 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008722/9.097, allocations: 350.7 kB / 1.723 GB, free: 11.88 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005234/9.102, allocations: 2.182 MB / 1.725 GB, free: 9.484 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.057e-05/9.102, allocations: 39.06 kB / 1.725 GB, free: 9.438 MB / 0.823 GB Notification: Performance of pre-optimization done (n=60): time 4.348e-06/9.102, allocations: 8 kB / 1.725 GB, free: 9.43 MB / 0.823 GB Notification: Performance of matching and sorting (n=60): time 0.006826/9.109, allocations: 1.171 MB / 1.727 GB, free: 8.246 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.368e-05/9.109, allocations: 214.1 kB / 1.727 GB, free: 7.988 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002975/9.112, allocations: 1.197 MB / 1.728 GB, free: 6.793 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0003852/9.112, allocations: 25.7 kB / 1.728 GB, free: 6.762 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005853/9.113, allocations: 0.5218 MB / 1.729 GB, free: 6.23 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000376/9.113, allocations: 201 kB / 1.729 GB, free: 6.031 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.8e-05/9.113, allocations: 4 kB / 1.729 GB, free: 6.027 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001058/9.114, allocations: 345.9 kB / 1.729 GB, free: 5.684 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000948/9.115, allocations: 361.9 kB / 1.729 GB, free: 5.332 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001231/9.116, allocations: 0.7457 MB / 1.73 GB, free: 4.414 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003018/9.119, allocations: 0.5598 MB / 1.731 GB, free: 3.852 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-05/9.119, allocations: 0 / 1.731 GB, free: 3.852 MB / 0.823 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.008101/9.127, allocations: 1.408 MB / 1.732 GB, free: 2.426 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.368/9.495, allocations: 3.338 MB / 1.735 GB, free: 208.9 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.53e-05/9.495, allocations: 9.688 kB / 1.735 GB, free: 208.9 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001669/9.497, allocations: 300.5 kB / 1.736 GB, free: 208.9 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001807/9.499, allocations: 203.6 kB / 1.736 GB, free: 208.9 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002571/9.501, allocations: 1.561 MB / 1.737 GB, free: 207.8 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002557/9.504, allocations: 130.4 kB / 1.737 GB, free: 207.8 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003764/9.504, allocations: 75.95 kB / 1.738 GB, free: 207.8 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/9.504, allocations: 4.031 kB / 1.738 GB, free: 207.8 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005263/9.51, allocations: 1.15 MB / 1.739 GB, free: 207.8 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.744e-05/9.51, allocations: 10.19 kB / 1.739 GB, free: 207.8 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00164/9.511, allocations: 313.2 kB / 1.739 GB, free: 207.8 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001534/9.513, allocations: 186.6 kB / 1.739 GB, free: 207.8 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01039/9.523, allocations: 3.894 MB / 1.743 GB, free: 205.7 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002176/9.526, allocations: 108.1 kB / 1.743 GB, free: 205.7 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002503/9.526, allocations: 69.14 kB / 1.743 GB, free: 205.7 MB / 0.823 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.0004815/9.526, allocations: 132.8 kB / 1.743 GB, free: 205.6 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005565/9.527, allocations: 161.6 kB / 1.743 GB, free: 205.6 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006322/9.533, allocations: 1.394 MB / 1.745 GB, free: 205.5 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.84e-05/9.533, allocations: 13.41 kB / 1.745 GB, free: 205.5 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/9.533, allocations: 3.031 kB / 1.745 GB, free: 205.5 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.591e-05/9.533, allocations: 7.094 kB / 1.745 GB, free: 205.5 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008487/9.542, allocations: 2.342 MB / 1.747 GB, free: 205.2 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-05/9.542, allocations: 3.719 kB / 1.747 GB, free: 205.2 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001314/9.543, allocations: 107.4 kB / 1.747 GB, free: 205.2 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001028/9.544, allocations: 235.2 kB / 1.747 GB, free: 205.2 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001175/9.545, allocations: 24.86 kB / 1.747 GB, free: 205.2 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001936/9.546, allocations: 1.451 MB / 1.749 GB, free: 204.1 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.039e-06/9.547, allocations: 0 / 1.749 GB, free: 204.1 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00505/9.552, allocations: 1.661 MB / 1.75 GB, free: 203.8 MB / 0.823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.006301/9.558, allocations: 2.561 MB / 1.753 GB, free: 203.1 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001125/9.559, allocations: 338.6 kB / 1.753 GB, free: 202.9 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003777/9.56, allocations: 3.688 kB / 1.753 GB, free: 202.9 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001755/9.561, allocations: 68.69 kB / 1.753 GB, free: 202.9 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000133/9.561, allocations: 41.95 kB / 1.753 GB, free: 202.9 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001324/9.562, allocations: 38.66 kB / 1.753 GB, free: 202.9 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.002027/9.564, allocations: 0.9065 MB / 1.754 GB, free: 202.8 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.007698/9.571, allocations: 1.304 MB / 1.756 GB, free: 202.8 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (56): * Single equations (assignments): 48 * 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 {3 8,1 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.003654/9.575, allocations: 1.301 MB / 1.757 GB, free: 202.6 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.005391/9.58, allocations: 1.772 MB / 1.759 GB, free: 202.3 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 7.854e-06/9.581, allocations: 8.188 kB / 1.759 GB, free: 202.3 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.001401/9.582, allocations: 440.2 kB / 1.759 GB, free: 202.3 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005716/9.588, allocations: 0.6268 MB / 1.76 GB, free: 202.3 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008156/9.596, allocations: 2.229 MB / 1.762 GB, free: 201.7 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003425/9.599, allocations: 1.566 MB / 1.763 GB, free: 201 MB / 0.823 GB Notification: Performance of SimCode: time 2.074e-06/9.599, allocations: 2.062 kB / 1.763 GB, free: 201 MB / 0.823 GB