Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.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.Validation.PumpCurveDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives") [: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.098/2.098, allocations: 253.1 MB / 260.4 MB, free: 7.48 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.001623/0.001623, allocations: 185.2 kB / 319.6 MB, free: 3.293 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.805/1.805, allocations: 205.4 MB / 0.5704 GB, free: 15.04 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.001314/0.001314, allocations: 91.31 kB / 0.6746 GB, free: 4.391 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.046e-05/1.064e-05, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1942/0.1942, allocations: 106.2 MB / 0.888 GB, free: 12.2 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.413/1.607, allocations: 398.9 MB / 1.278 GB, free: 254 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004426/1.608, allocations: 92.45 kB / 1.278 GB, free: 254 MB / 0.8698 GB Notification: Performance of FrontEnd: time 4.076/5.684, allocations: 0.9285 GB / 2.206 GB, free: 37.59 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0008056/5.685, allocations: 83.92 kB / 2.206 GB, free: 37.51 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: 397 * Number of variables: 397 Notification: Performance of Generate backend data structure: time 0.0113/5.696, allocations: 3.185 MB / 2.209 GB, free: 34.27 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.728e-05/5.697, allocations: 8.031 kB / 2.209 GB, free: 34.26 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009423/5.706, allocations: 0.963 MB / 2.21 GB, free: 33.29 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07226/5.778, allocations: 19.81 MB / 2.23 GB, free: 13.25 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001805/5.779, allocations: 55.91 kB / 2.23 GB, free: 13.2 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009425/5.779, allocations: 116 kB / 2.23 GB, free: 13.08 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006299/5.786, allocations: 1.627 MB / 2.231 GB, free: 11.45 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007378/5.793, allocations: 1.861 MB / 2.233 GB, free: 9.492 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.092e-05/5.793, allocations: 4 kB / 2.233 GB, free: 9.488 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003563/5.794, allocations: 0 / 2.233 GB, free: 9.488 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.316e-05/5.794, allocations: 40 kB / 2.233 GB, free: 9.449 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02971/5.824, allocations: 10.14 MB / 2.243 GB, free: 14.86 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004875/5.828, allocations: 1.62 MB / 2.245 GB, free: 13.23 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002232/5.831, allocations: 0.7404 MB / 2.245 GB, free: 12.49 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01252/5.843, allocations: 3.986 MB / 2.249 GB, free: 8.23 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.798e-05/5.843, allocations: 43.34 kB / 2.249 GB, free: 8.18 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=84): time 3.227e-06/5.843, allocations: 3.938 kB / 2.249 GB, free: 8.176 MB / 0.8855 GB Notification: Performance of matching and sorting (n=84): time 0.01228/5.856, allocations: 2.265 MB / 2.252 GB, free: 5.891 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.982e-05/5.856, allocations: 64.12 kB / 2.252 GB, free: 5.816 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01268/5.868, allocations: 3.515 MB / 2.255 GB, free: 2.324 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0006002/5.869, allocations: 29.7 kB / 2.255 GB, free: 2.289 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.001891/5.871, allocations: 0.8809 MB / 2.256 GB, free: 1.387 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008664/5.872, allocations: 287.7 kB / 2.256 GB, free: 1.102 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000202/5.872, allocations: 0 / 2.256 GB, free: 1.102 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0002865/5.872, allocations: 365.9 kB / 2.257 GB, free: 0.7383 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002393/5.875, allocations: 0.7772 MB / 2.257 GB, free: 15.96 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003485/5.878, allocations: 1.537 MB / 2.259 GB, free: 14.06 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005425/5.884, allocations: 1.117 MB / 2.26 GB, free: 12.94 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.859e-05/5.884, allocations: 4 kB / 2.26 GB, free: 12.93 MB / 0.9011 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.01296/5.897, allocations: 2.879 MB / 2.263 GB, free: 10.04 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.5086/6.406, allocations: 9.333 MB / 2.272 GB, free: 203.3 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.253e-05/6.406, allocations: 21.56 kB / 2.272 GB, free: 203.3 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002102/6.408, allocations: 460.6 kB / 2.272 GB, free: 203.2 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003146/6.411, allocations: 379.7 kB / 2.273 GB, free: 203.2 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003649/6.415, allocations: 2.433 MB / 2.275 GB, free: 201.7 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00479/6.42, allocations: 262.8 kB / 2.275 GB, free: 201.7 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007065/6.42, allocations: 157.5 kB / 2.275 GB, free: 201.7 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/6.42, allocations: 3.969 kB / 2.275 GB, free: 201.7 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009444/6.43, allocations: 2.227 MB / 2.278 GB, free: 201.7 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.437e-05/6.43, allocations: 23.78 kB / 2.278 GB, free: 201.7 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002534/6.433, allocations: 0.498 MB / 2.278 GB, free: 201.6 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002728/6.435, allocations: 348.5 kB / 2.278 GB, free: 201.6 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01235/6.448, allocations: 5.239 MB / 2.284 GB, free: 199 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004294/6.452, allocations: 205 kB / 2.284 GB, free: 199 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005787/6.453, allocations: 135.4 kB / 2.284 GB, free: 199 MB / 0.9011 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pump2.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pump1.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real forcedPump1.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: 95 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (167): * Single equations (assignments): 161 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 9,1 4,1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0007066/6.453, allocations: 184.3 kB / 2.284 GB, free: 198.9 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001078/6.454, allocations: 309.3 kB / 2.284 GB, free: 198.9 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01012/6.465, allocations: 2.265 MB / 2.287 GB, free: 198.8 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.656e-05/6.465, allocations: 15.38 kB / 2.287 GB, free: 198.8 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/6.465, allocations: 0 / 2.287 GB, free: 198.8 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.736e-05/6.465, allocations: 6.891 kB / 2.287 GB, free: 198.8 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.015/6.48, allocations: 4.412 MB / 2.291 GB, free: 198.4 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.338e-05/6.48, allocations: 1.781 kB / 2.291 GB, free: 198.4 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002035/6.482, allocations: 195.3 kB / 2.291 GB, free: 198.4 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001304/6.483, allocations: 301.2 kB / 2.291 GB, free: 198.4 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002445/6.483, allocations: 29.94 kB / 2.291 GB, free: 198.4 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00258/6.486, allocations: 2.12 MB / 2.294 GB, free: 196.8 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.807e-06/6.486, allocations: 4.828 kB / 2.294 GB, free: 196.8 MB / 0.9011 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01051/6.497, allocations: 2.867 MB / 2.296 GB, free: 196.3 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002761/6.499, allocations: 0.7068 MB / 2.297 GB, free: 196 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001277/6.501, allocations: 8.125 kB / 2.297 GB, free: 196 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003867/6.505, allocations: 134.8 kB / 2.297 GB, free: 196 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003388/6.505, allocations: 67.56 kB / 2.297 GB, free: 196 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002392/6.505, allocations: 63.61 kB / 2.297 GB, free: 196 MB / 0.9011 GB Notification: Performance of sort global known variables: time 0.007191/6.512, allocations: 2.628 MB / 2.3 GB, free: 195.9 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.009018/6.522, allocations: 1.59 MB / 2.301 GB, free: 195.8 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (ddp_dm_flow.x,ddp_dNrpm.x,dm_flow_dNrpm.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (85): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 9,1 4,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.004139/6.526, allocations: 1.671 MB / 2.303 GB, free: 195.5 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.007843/6.534, allocations: 3.01 MB / 2.306 GB, free: 195.4 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 8.446e-06/6.534, allocations: 0 / 2.306 GB, free: 195.4 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.001919/6.536, allocations: 0.6485 MB / 2.307 GB, free: 195.3 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01143/6.547, allocations: 1.436 MB / 2.308 GB, free: 195.3 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01556/6.563, allocations: 4.368 MB / 2.312 GB, free: 194.3 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005149/6.568, allocations: 2.495 MB / 2.315 GB, free: 193.5 MB / 0.9011 GB Notification: Performance of SimCode: time 1.613e-06/6.568, allocations: 2.953 kB / 2.315 GB, free: 193.5 MB / 0.9011 GB Notification: Performance of Templates: time 0.2285/6.796, allocations: 84.03 MB / 2.397 GB, free: 190.4 MB / 0.9011 GB