Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.PumpCurveDerivatives,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Movers_Validation_PumpCurveDerivatives",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.PumpCurveDerivatives,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.785/2.785, allocations: 284.8 MB / 292.1 MB, free: 9.844 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.001757/0.001757, allocations: 186.3 kB / 360.3 MB, free: 0.9688 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.076/2.076, allocations: 205.1 MB / 0.6187 GB, free: 3.336 MB / 442.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001822/0.001822, allocations: 95.81 kB / 0.7317 GB, free: 1.805 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.6608/0.6627, allocations: 121.4 MB / 0.8502 GB, free: 149.8 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.226/0.8887, allocations: 115.3 MB / 0.9628 GB, free: 57 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.063/1.952, allocations: 404.2 MB / 1.357 GB, free: 3.742 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002961/1.952, allocations: 85.89 kB / 1.358 GB, free: 3.703 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 4.667/6.618, allocations: 0.9315 GB / 2.289 GB, free: 108.9 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.821e-05/6.619, allocations: 7.062 kB / 2.289 GB, free: 108.9 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00943/6.628, allocations: 0.959 MB / 2.29 GB, free: 108.7 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07241/6.7, allocations: 19.82 MB / 2.309 GB, free: 107.4 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001718/6.701, allocations: 49.81 kB / 2.309 GB, free: 107.4 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008431/6.702, allocations: 109.3 kB / 2.31 GB, free: 107.4 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005818/6.707, allocations: 1.634 MB / 2.311 GB, free: 107.4 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006044/6.713, allocations: 1.861 MB / 2.313 GB, free: 107.1 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.705e-05/6.714, allocations: 6.875 kB / 2.313 GB, free: 107.1 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002897/6.714, allocations: 0 / 2.313 GB, free: 107.1 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.17e-05/6.714, allocations: 38.5 kB / 2.313 GB, free: 107.1 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02538/6.739, allocations: 10.13 MB / 2.323 GB, free: 103.1 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00377/6.743, allocations: 1.624 MB / 2.324 GB, free: 103 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001568/6.745, allocations: 0.7268 MB / 2.325 GB, free: 103 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01082/6.756, allocations: 3.999 MB / 2.329 GB, free: 101.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.653e-05/6.756, allocations: 38.91 kB / 2.329 GB, free: 101.4 MB / 0.948 GB Notification: Performance of pre-optimization done (n=84): time 4.128e-06/6.756, allocations: 0 / 2.329 GB, free: 101.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=84): time 0.01085/6.767, allocations: 2.266 MB / 2.331 GB, free: 101.1 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.783e-05/6.767, allocations: 61.12 kB / 2.331 GB, free: 101.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01059/6.777, allocations: 3.521 MB / 2.335 GB, free: 100.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0006046/6.778, allocations: 28.33 kB / 2.335 GB, free: 100.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001225/6.779, allocations: 0.8839 MB / 2.336 GB, free: 100.4 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000737/6.78, allocations: 286.5 kB / 2.336 GB, free: 100.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00016/6.78, allocations: 0 / 2.336 GB, free: 100.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001495/6.78, allocations: 370.1 kB / 2.336 GB, free: 99.89 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001894/6.782, allocations: 0.7755 MB / 2.337 GB, free: 99.89 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002304/6.785, allocations: 1.528 MB / 2.339 GB, free: 98.94 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004723/6.789, allocations: 1.126 MB / 2.34 GB, free: 98.92 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.158e-05/6.789, allocations: 7.094 kB / 2.34 GB, free: 98.92 MB / 0.948 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.01078/6.8, allocations: 2.877 MB / 2.343 GB, free: 98.67 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.00223/6.802, allocations: 9.33 MB / 2.352 GB, free: 88.92 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.767e-05/6.803, allocations: 26 kB / 2.352 GB, free: 88.92 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002125/6.805, allocations: 469.8 kB / 2.352 GB, free: 88.89 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003076/6.808, allocations: 371.3 kB / 2.352 GB, free: 88.89 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003522/6.811, allocations: 2.447 MB / 2.355 GB, free: 87.33 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004841/6.816, allocations: 255.3 kB / 2.355 GB, free: 87.24 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006665/6.817, allocations: 159.4 kB / 2.355 GB, free: 87.24 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/6.817, allocations: 6.969 kB / 2.355 GB, free: 87.24 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009238/6.826, allocations: 2.223 MB / 2.357 GB, free: 87.19 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.062e-05/6.826, allocations: 19.09 kB / 2.357 GB, free: 87.19 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002459/6.829, allocations: 0.5027 MB / 2.358 GB, free: 87.16 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002609/6.832, allocations: 351.1 kB / 2.358 GB, free: 87.16 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01191/6.843, allocations: 5.252 MB / 2.363 GB, free: 84.47 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004335/6.848, allocations: 200.7 kB / 2.364 GB, free: 84.41 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004305/6.848, allocations: 136.8 kB / 2.364 GB, free: 84.41 MB / 0.948 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.000793/6.849, allocations: 176.7 kB / 2.364 GB, free: 84.3 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008927/6.85, allocations: 314.9 kB / 2.364 GB, free: 84.12 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009795/6.86, allocations: 2.26 MB / 2.366 GB, free: 84 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.073e-05/6.86, allocations: 13.97 kB / 2.366 GB, free: 84 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.974e-06/6.86, allocations: 3.906 kB / 2.366 GB, free: 83.99 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.31e-05/6.86, allocations: 7.688 kB / 2.366 GB, free: 83.99 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01336/6.873, allocations: 4.425 MB / 2.371 GB, free: 83.57 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-05/6.873, allocations: 0 / 2.371 GB, free: 83.57 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001867/6.875, allocations: 194 kB / 2.371 GB, free: 83.57 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001174/6.876, allocations: 306 kB / 2.371 GB, free: 83.55 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001355/6.877, allocations: 29.67 kB / 2.371 GB, free: 83.55 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002564/6.879, allocations: 2.115 MB / 2.373 GB, free: 81.99 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.091e-06/6.879, allocations: 0 / 2.373 GB, free: 81.99 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01009/6.889, allocations: 2.875 MB / 2.376 GB, free: 81.45 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0128/6.902, allocations: 4.148 MB / 2.38 GB, free: 80.49 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002659/6.905, allocations: 0.7092 MB / 2.381 GB, free: 80.04 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001353/6.906, allocations: 6.406 kB / 2.381 GB, free: 80.04 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003939/6.91, allocations: 140.1 kB / 2.381 GB, free: 80.03 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003489/6.911, allocations: 66.06 kB / 2.381 GB, free: 80.02 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000241/6.911, allocations: 61.38 kB / 2.381 GB, free: 80.01 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.006964/6.918, allocations: 2.631 MB / 2.384 GB, free: 78.92 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.01194/6.93, allocations: 2.049 MB / 2.386 GB, free: 78.16 MB / 0.948 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.004136/6.934, allocations: 1.702 MB / 2.387 GB, free: 77.67 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.008763/6.943, allocations: 2.999 MB / 2.39 GB, free: 76.64 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.026e-05/6.943, allocations: 3.312 kB / 2.39 GB, free: 76.64 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.002349/6.945, allocations: 0.6521 MB / 2.391 GB, free: 76.42 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01168/6.957, allocations: 1.447 MB / 2.392 GB, free: 76.16 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01653/6.974, allocations: 4.383 MB / 2.397 GB, free: 74.5 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005503/6.979, allocations: 2.488 MB / 2.399 GB, free: 73.56 MB / 0.948 GB Notification: Performance of SimCode: time 1.242e-06/6.979, allocations: 0 / 2.399 GB, free: 73.56 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Movers_Validation_PumpCurveDerivatives_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Movers_Validation_PumpCurveDerivatives.fmu > Buildings_8.0.0_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.pipe 2>&1)