Running: ./testmodel.py --libraries=/var/lib/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 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Movers.Examples.PumpsSeries,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Movers.Examples.PumpsSeries") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.037/2.037, allocations: 253.1 MB / 260.4 MB, free: 7.492 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002216/0.002215, allocations: 184.7 kB / 319.6 MB, free: 3.305 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.821/1.821, allocations: 205.4 MB / 0.5704 GB, free: 15.03 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001389/0.001388, allocations: 104.6 kB / 0.6746 GB, free: 4.395 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.004e-05/1.02e-05, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2099/0.2099, allocations: 106.2 MB / 0.888 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.533/1.743, allocations: 429.1 MB / 1.307 GB, free: 253.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002992/1.744, allocations: 86.7 kB / 1.307 GB, free: 253.2 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.178/4.922, allocations: 0.666 GB / 1.973 GB, free: 157.3 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0004284/4.922, allocations: 51.11 kB / 1.973 GB, free: 157.3 MB / 0.8698 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 0.007253/4.929, allocations: 1.956 MB / 1.975 GB, free: 156.6 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.809e-05/4.929, allocations: 7.406 kB / 1.975 GB, free: 156.6 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005964/4.935, allocations: 0.5885 MB / 1.976 GB, free: 156.5 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05261/4.988, allocations: 13.79 MB / 1.989 GB, free: 155.7 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001113/4.988, allocations: 37.22 kB / 1.989 GB, free: 155.7 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005261/4.989, allocations: 68.22 kB / 1.989 GB, free: 155.7 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003236/4.992, allocations: 0.8634 MB / 1.99 GB, free: 155.7 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003383/4.996, allocations: 1.122 MB / 1.991 GB, free: 155.5 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.007e-05/4.996, allocations: 0 / 1.991 GB, free: 155.5 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001862/4.996, allocations: 7.375 kB / 1.991 GB, free: 155.4 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.59e-05/4.996, allocations: 23.53 kB / 1.991 GB, free: 155.4 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01404/5.01, allocations: 5.531 MB / 1.997 GB, free: 152.9 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002193/5.012, allocations: 0.8152 MB / 1.997 GB, free: 152.7 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008878/5.013, allocations: 373.1 kB / 1.998 GB, free: 152.7 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005422/5.019, allocations: 2.185 MB / 2 GB, free: 151.5 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.88e-05/5.019, allocations: 51.7 kB / 2 GB, free: 151.4 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=62): time 3.787e-06/5.019, allocations: 0 / 2 GB, free: 151.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=62): time 0.006831/5.025, allocations: 1.182 MB / 2.001 GB, free: 151.3 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.912e-05/5.026, allocations: 212.7 kB / 2.001 GB, free: 151 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002844/5.028, allocations: 1.193 MB / 2.002 GB, free: 150.9 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003722/5.029, allocations: 29.42 kB / 2.002 GB, free: 150.8 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004352/5.029, allocations: 0.5161 MB / 2.003 GB, free: 150.6 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002895/5.03, allocations: 206.2 kB / 2.003 GB, free: 150.4 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.172e-05/5.03, allocations: 0 / 2.003 GB, free: 150.4 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001118/5.03, allocations: 347 kB / 2.004 GB, free: 150.1 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009337/5.031, allocations: 364.2 kB / 2.004 GB, free: 150.1 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001174/5.032, allocations: 0.7397 MB / 2.005 GB, free: 149.7 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003006/5.035, allocations: 0.5717 MB / 2.005 GB, free: 149.7 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.41e-05/5.035, allocations: 3.906 kB / 2.005 GB, free: 149.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.006033/5.041, allocations: 1.415 MB / 2.007 GB, free: 149.5 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.000832/5.042, allocations: 3.333 MB / 2.01 GB, free: 146 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.224e-05/5.042, allocations: 14.72 kB / 2.01 GB, free: 146 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00161/5.044, allocations: 294.3 kB / 2.01 GB, free: 146 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002318/5.046, allocations: 202.5 kB / 2.01 GB, free: 146 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004519/5.051, allocations: 1.564 MB / 2.012 GB, free: 144.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004312/5.055, allocations: 133.5 kB / 2.012 GB, free: 144.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005891/5.056, allocations: 73.41 kB / 2.012 GB, free: 144.9 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/5.056, allocations: 3.938 kB / 2.012 GB, free: 144.9 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00929/5.065, allocations: 1.15 MB / 2.013 GB, free: 144.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.36e-05/5.065, allocations: 10.33 kB / 2.013 GB, free: 144.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002594/5.068, allocations: 317.2 kB / 2.013 GB, free: 144.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002268/5.07, allocations: 194.2 kB / 2.014 GB, free: 144.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01605/5.086, allocations: 3.894 MB / 2.017 GB, free: 142.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003327/5.09, allocations: 106 kB / 2.018 GB, free: 142.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005347/5.09, allocations: 65.95 kB / 2.018 GB, free: 142.6 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.0007035/5.091, allocations: 131.5 kB / 2.018 GB, free: 142.5 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007569/5.092, allocations: 164 kB / 2.018 GB, free: 142.4 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01029/5.102, allocations: 1.409 MB / 2.019 GB, free: 142.3 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.876e-05/5.102, allocations: 15.39 kB / 2.019 GB, free: 142.3 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.717e-06/5.102, allocations: 3 kB / 2.019 GB, free: 142.3 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.923e-05/5.102, allocations: 7.453 kB / 2.019 GB, free: 142.3 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01247/5.115, allocations: 2.349 MB / 2.022 GB, free: 142 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.674e-05/5.115, allocations: 0 / 2.022 GB, free: 142 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001982/5.117, allocations: 116.4 kB / 2.022 GB, free: 142 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001677/5.119, allocations: 234 kB / 2.022 GB, free: 142 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002732/5.119, allocations: 13.97 kB / 2.022 GB, free: 142 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002959/5.122, allocations: 1.452 MB / 2.023 GB, free: 140.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.147e-05/5.122, allocations: 0 / 2.023 GB, free: 140.9 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008316/5.13, allocations: 1.732 MB / 2.025 GB, free: 140.5 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001881/5.132, allocations: 339.2 kB / 2.025 GB, free: 140.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009467/5.133, allocations: 7.062 kB / 2.025 GB, free: 140.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00328/5.137, allocations: 67.14 kB / 2.025 GB, free: 140.3 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000355/5.137, allocations: 41.78 kB / 2.025 GB, free: 140.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002478/5.137, allocations: 39.62 kB / 2.025 GB, free: 140.3 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.003577/5.141, allocations: 0.9 MB / 2.026 GB, free: 140.2 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.008303/5.149, allocations: 1.019 MB / 2.027 GB, free: 140 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.005262/5.155, allocations: 1.299 MB / 2.029 GB, free: 139.7 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.00792/5.163, allocations: 1.797 MB / 2.03 GB, free: 139.5 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.279e-05/5.163, allocations: 0 / 2.03 GB, free: 139.5 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.002001/5.165, allocations: 437.9 kB / 2.031 GB, free: 139.4 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008165/5.173, allocations: 0.6359 MB / 2.031 GB, free: 139.4 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008187/5.181, allocations: 2.241 MB / 2.034 GB, free: 138.8 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002139/5.183, allocations: 1.564 MB / 2.035 GB, free: 138.1 MB / 0.8698 GB Notification: Performance of SimCode: time 2.395e-06/5.184, allocations: 0 / 2.035 GB, free: 138.1 MB / 0.8698 GB Notification: Performance of Templates: time 0.1118/5.295, allocations: 43.33 MB / 2.077 GB, free: 135.8 MB / 0.8698 GB