Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.PumpCurveDerivatives,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Movers_Validation_PumpCurveDerivatives",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.PumpCurveDerivatives,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Movers_Validation_PumpCurveDerivatives",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 8.0.1-maint.8.0.x/package.mo): time 1.402/1.402, allocations: 285.5 MB / 292.8 MB, free: 10.46 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009871/0.0009869, allocations: 185.2 kB / 361.1 MB, free: 7.113 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.161/1.161, allocations: 205.1 MB / 0.6195 GB, free: 10.33 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000831/0.0008311, allocations: 83.92 kB / 0.7326 GB, free: 44.29 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2182/0.2191, allocations: 121.4 MB / 0.8511 GB, free: 2.934 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.528/0.7471, allocations: 115.3 MB / 0.9637 GB, free: 78.25 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8/1.547, allocations: 404.4 MB / 1.359 GB, free: 161.7 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002019/1.547, allocations: 89.69 kB / 1.359 GB, free: 161.7 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: 397 * Number of variables: 397 Notification: Performance of Generate backend data structure: time 2.577/4.124, allocations: 0.9315 GB / 2.29 GB, free: 6.539 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/4.124, allocations: 12.5 kB / 2.29 GB, free: 6.527 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006046/4.13, allocations: 0.9669 MB / 2.291 GB, free: 5.555 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05152/4.182, allocations: 19.81 MB / 2.311 GB, free: 1.523 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001378/4.182, allocations: 52 kB / 2.311 GB, free: 1.473 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006592/4.183, allocations: 112 kB / 2.311 GB, free: 1.363 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003715/4.186, allocations: 1.631 MB / 2.312 GB, free: 15.73 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003887/4.19, allocations: 1.861 MB / 2.314 GB, free: 13.77 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.785e-05/4.19, allocations: 0 / 2.314 GB, free: 13.77 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002301/4.19, allocations: 11.94 kB / 2.314 GB, free: 13.76 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.294e-05/4.19, allocations: 36 kB / 2.314 GB, free: 13.72 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01911/4.21, allocations: 10.14 MB / 2.324 GB, free: 3.137 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002285/4.212, allocations: 1.619 MB / 2.326 GB, free: 1.5 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009924/4.213, allocations: 0.7352 MB / 2.326 GB, free: 0.7695 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3968/4.61, allocations: 3.982 MB / 2.33 GB, free: 209.4 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.057e-05/4.61, allocations: 47.41 kB / 2.33 GB, free: 209.3 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=84): time 3.867e-06/4.61, allocations: 0 / 2.33 GB, free: 209.3 MB / 0.9636 GB Notification: Performance of matching and sorting (n=84): time 0.006065/4.616, allocations: 2.26 MB / 2.333 GB, free: 209.3 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.486e-05/4.616, allocations: 62.69 kB / 2.333 GB, free: 209.2 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0048/4.621, allocations: 3.52 MB / 2.336 GB, free: 209 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0001559/4.621, allocations: 29.33 kB / 2.336 GB, free: 209 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004694/4.621, allocations: 0.8873 MB / 2.337 GB, free: 208.7 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002967/4.622, allocations: 284.5 kB / 2.337 GB, free: 208.6 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.806e-05/4.622, allocations: 0 / 2.337 GB, free: 208.6 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.769e-05/4.622, allocations: 370.4 kB / 2.338 GB, free: 208.3 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009257/4.623, allocations: 0.7743 MB / 2.338 GB, free: 208.3 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001223/4.624, allocations: 1.537 MB / 2.34 GB, free: 207.4 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002579/4.627, allocations: 1.118 MB / 2.341 GB, free: 207.3 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.06e-05/4.627, allocations: 7.656 kB / 2.341 GB, free: 207.3 MB / 0.9636 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.005612/4.632, allocations: 2.871 MB / 2.344 GB, free: 207.1 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.001405/4.634, allocations: 9.343 MB / 2.353 GB, free: 197.4 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.533e-05/4.634, allocations: 23.34 kB / 2.353 GB, free: 197.4 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001057/4.635, allocations: 467.4 kB / 2.353 GB, free: 197.3 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001408/4.636, allocations: 369.5 kB / 2.354 GB, free: 197.3 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001872/4.638, allocations: 2.438 MB / 2.356 GB, free: 195.8 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002591/4.641, allocations: 255.5 kB / 2.356 GB, free: 195.7 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002056/4.641, allocations: 155 kB / 2.356 GB, free: 195.7 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 7.524e-06/4.641, allocations: 11.25 kB / 2.356 GB, free: 195.7 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004625/4.646, allocations: 2.229 MB / 2.359 GB, free: 195.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.049e-05/4.646, allocations: 22.12 kB / 2.359 GB, free: 195.7 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001293/4.647, allocations: 0.5074 MB / 2.359 GB, free: 195.6 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001147/4.648, allocations: 351.1 kB / 2.359 GB, free: 195.6 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006518/4.655, allocations: 5.235 MB / 2.365 GB, free: 193 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002515/4.657, allocations: 205.6 kB / 2.365 GB, free: 192.9 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001864/4.657, allocations: 140.3 kB / 2.365 GB, free: 192.9 MB / 0.9636 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.0005073/4.658, allocations: 173.8 kB / 2.365 GB, free: 192.8 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005713/4.658, allocations: 310 kB / 2.365 GB, free: 192.7 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006064/4.665, allocations: 2.27 MB / 2.368 GB, free: 192.5 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.2e-05/4.665, allocations: 19.09 kB / 2.368 GB, free: 192.5 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/4.665, allocations: 0 / 2.368 GB, free: 192.5 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.359e-05/4.665, allocations: 8.766 kB / 2.368 GB, free: 192.5 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00838/4.673, allocations: 4.408 MB / 2.372 GB, free: 192.1 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/4.673, allocations: 0 / 2.372 GB, free: 192.1 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000944/4.674, allocations: 191.3 kB / 2.372 GB, free: 192.1 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006707/4.675, allocations: 320.8 kB / 2.372 GB, free: 192.1 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.799e-05/4.675, allocations: 21.38 kB / 2.372 GB, free: 192.1 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00142/4.676, allocations: 2.117 MB / 2.374 GB, free: 190.5 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/4.676, allocations: 3.938 kB / 2.374 GB, free: 190.5 MB / 0.9636 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005224/4.681, allocations: 2.863 MB / 2.377 GB, free: 190 MB / 0.9636 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.006727/4.688, allocations: 4.152 MB / 2.381 GB, free: 189.1 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001561/4.69, allocations: 0.7084 MB / 2.382 GB, free: 188.8 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000811/4.691, allocations: 7.594 kB / 2.382 GB, free: 188.8 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001936/4.693, allocations: 137.3 kB / 2.382 GB, free: 188.8 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001236/4.693, allocations: 71.88 kB / 2.382 GB, free: 188.8 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000121/4.693, allocations: 65.05 kB / 2.382 GB, free: 188.8 MB / 0.9636 GB Notification: Performance of sort global known variables: time 0.004089/4.697, allocations: 2.626 MB / 2.385 GB, free: 188.7 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.00689/4.704, allocations: 2.05 MB / 2.387 GB, free: 188.6 MB / 0.9636 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.002276/4.706, allocations: 1.694 MB / 2.389 GB, free: 188.3 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.004064/4.71, allocations: 3.01 MB / 2.391 GB, free: 188.1 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/4.71, allocations: 3.828 kB / 2.391 GB, free: 188.1 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0008989/4.711, allocations: 0.6463 MB / 2.392 GB, free: 188.1 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005155/4.716, allocations: 1.44 MB / 2.393 GB, free: 188.1 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007408/4.724, allocations: 4.38 MB / 2.398 GB, free: 187.1 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002232/4.726, allocations: 2.5 MB / 2.4 GB, free: 186.3 MB / 0.9636 GB Notification: Performance of SimCode: time 7.92e-07/4.726, allocations: 0 / 2.4 GB, free: 186.3 MB / 0.9636 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Movers_Validation_PumpCurveDerivatives_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Movers_Validation_PumpCurveDerivatives.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.pipe 2>&1)