Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.PumpCurveDerivatives,fileNamePrefix="Buildings_8_Buildings_Fluid_Movers_Validation_PumpCurveDerivatives",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.PumpCurveDerivatives,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.537/1.537, allocations: 289.8 MB / 297.1 MB, free: 6.645 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.001268/0.001268, allocations: 189.2 kB / 366.3 MB, free: 1.973 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.474/1.474, allocations: 205.1 MB / 0.6256 GB, free: 5.812 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.001028/0.001028, allocations: 94.42 kB / 0.7395 GB, free: 39.63 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2992/0.3003, allocations: 122.4 MB / 0.8591 GB, free: 13.26 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8342/1.135, allocations: 116.3 MB / 0.9726 GB, free: 68.45 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8645/1.999, allocations: 405.3 MB / 1.368 GB, free: 78.89 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002242/1.999, allocations: 92.33 kB / 1.369 GB, free: 78.84 MB / 0.823 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.981/4.98, allocations: 0.9315 GB / 2.3 GB, free: 4.156 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/4.98, allocations: 12 kB / 2.3 GB, free: 4.145 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006371/4.986, allocations: 0.9669 MB / 2.301 GB, free: 3.172 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5223/5.509, allocations: 19.81 MB / 2.32 GB, free: 203.7 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.341e-05/5.509, allocations: 58.09 kB / 2.32 GB, free: 203.7 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003666/5.509, allocations: 108.4 kB / 2.321 GB, free: 203.7 MB / 0.9948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002643/5.512, allocations: 1.63 MB / 2.322 GB, free: 203.7 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002553/5.514, allocations: 1.86 MB / 2.324 GB, free: 203.4 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.517e-05/5.515, allocations: 2.031 kB / 2.324 GB, free: 203.4 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001484/5.515, allocations: 3.844 kB / 2.324 GB, free: 203.4 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.782e-05/5.515, allocations: 39.06 kB / 2.324 GB, free: 203.4 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01475/5.529, allocations: 10.13 MB / 2.334 GB, free: 199.7 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001968/5.531, allocations: 1.614 MB / 2.335 GB, free: 199.6 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008166/5.532, allocations: 0.7392 MB / 2.336 GB, free: 199.6 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005835/5.538, allocations: 3.982 MB / 2.34 GB, free: 198.1 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.51e-05/5.538, allocations: 49.81 kB / 2.34 GB, free: 198.1 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=84): time 3.697e-06/5.538, allocations: 0 / 2.34 GB, free: 198.1 MB / 0.9948 GB Notification: Performance of matching and sorting (n=84): time 0.005865/5.544, allocations: 2.264 MB / 2.342 GB, free: 197.8 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.097e-05/5.544, allocations: 64.2 kB / 2.342 GB, free: 197.7 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005486/5.55, allocations: 3.521 MB / 2.346 GB, free: 197.5 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003494/5.55, allocations: 29.17 kB / 2.346 GB, free: 197.5 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006081/5.551, allocations: 0.8828 MB / 2.347 GB, free: 197.2 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003419/5.551, allocations: 284.2 kB / 2.347 GB, free: 197 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.874e-05/5.551, allocations: 0 / 2.347 GB, free: 197 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001019/5.551, allocations: 367.7 kB / 2.347 GB, free: 196.7 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009794/5.552, allocations: 0.7766 MB / 2.348 GB, free: 196.7 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00122/5.553, allocations: 1.535 MB / 2.35 GB, free: 195.8 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002694/5.556, allocations: 1.12 MB / 2.351 GB, free: 195.8 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.859e-06/5.556, allocations: 6.844 kB / 2.351 GB, free: 195.8 MB / 0.9948 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.006182/5.562, allocations: 2.873 MB / 2.354 GB, free: 195.5 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001779/5.564, allocations: 9.341 MB / 2.363 GB, free: 185.8 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.729e-05/5.564, allocations: 24.75 kB / 2.363 GB, free: 185.8 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001127/5.565, allocations: 466.7 kB / 2.363 GB, free: 185.7 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001489/5.567, allocations: 379.5 kB / 2.363 GB, free: 185.7 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001994/5.569, allocations: 2.437 MB / 2.366 GB, free: 184.2 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003064/5.572, allocations: 253.4 kB / 2.366 GB, free: 184.1 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002909/5.572, allocations: 158.5 kB / 2.366 GB, free: 184.1 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.009e-05/5.572, allocations: 3.625 kB / 2.366 GB, free: 184.1 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0051/5.577, allocations: 2.227 MB / 2.368 GB, free: 184.1 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.557e-05/5.577, allocations: 21 kB / 2.368 GB, free: 184.1 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001374/5.579, allocations: 0.5038 MB / 2.369 GB, free: 184 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001223/5.58, allocations: 352.7 kB / 2.369 GB, free: 184 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006902/5.587, allocations: 5.238 MB / 2.374 GB, free: 181.4 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002935/5.59, allocations: 209.8 kB / 2.375 GB, free: 181.3 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003163/5.59, allocations: 136.5 kB / 2.375 GB, free: 181.3 MB / 0.9948 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.0005982/5.591, allocations: 176 kB / 2.375 GB, free: 181.2 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006428/5.591, allocations: 310.6 kB / 2.375 GB, free: 181.1 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005764/5.597, allocations: 2.269 MB / 2.377 GB, free: 180.9 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.905e-05/5.597, allocations: 14.81 kB / 2.377 GB, free: 180.9 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.309e-06/5.597, allocations: 0 / 2.377 GB, free: 180.9 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.381e-05/5.597, allocations: 10.81 kB / 2.377 GB, free: 180.9 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008632/5.606, allocations: 4.418 MB / 2.382 GB, free: 180.5 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.225e-06/5.606, allocations: 3.969 kB / 2.382 GB, free: 180.5 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001012/5.607, allocations: 194 kB / 2.382 GB, free: 180.5 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007131/5.608, allocations: 313 kB / 2.382 GB, free: 180.5 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.995e-05/5.608, allocations: 30.56 kB / 2.382 GB, free: 180.5 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001511/5.609, allocations: 2.127 MB / 2.384 GB, free: 178.9 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.387e-06/5.609, allocations: 0 / 2.384 GB, free: 178.9 MB / 0.9948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005641/5.615, allocations: 2.862 MB / 2.387 GB, free: 178.4 MB / 0.9948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.006916/5.622, allocations: 4.149 MB / 2.391 GB, free: 177.5 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001801/5.624, allocations: 0.7128 MB / 2.392 GB, free: 177.2 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005271/5.624, allocations: 3.797 kB / 2.392 GB, free: 177.2 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001672/5.626, allocations: 137.1 kB / 2.392 GB, free: 177.2 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001403/5.626, allocations: 66.06 kB / 2.392 GB, free: 177.2 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001205/5.626, allocations: 59.64 kB / 2.392 GB, free: 177.2 MB / 0.9948 GB Notification: Performance of sort global known variables: time 0.003689/5.63, allocations: 2.635 MB / 2.395 GB, free: 177.1 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.008232/5.638, allocations: 2.045 MB / 2.397 GB, free: 177 MB / 0.9948 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.002781/5.641, allocations: 1.69 MB / 2.398 GB, free: 176.7 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.004866/5.646, allocations: 3.003 MB / 2.401 GB, free: 176.5 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 6.142e-06/5.646, allocations: 0 / 2.401 GB, free: 176.5 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.001063/5.647, allocations: 0.6532 MB / 2.402 GB, free: 176.5 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007029/5.654, allocations: 1.444 MB / 2.403 GB, free: 176.5 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009687/5.664, allocations: 4.376 MB / 2.408 GB, free: 175.4 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002592/5.666, allocations: 2.492 MB / 2.41 GB, free: 174.7 MB / 0.9948 GB Notification: Performance of SimCode: time 8.41e-07/5.666, allocations: 1.438 kB / 2.41 GB, free: 174.7 MB / 0.9948 GB (rm -f Buildings_8_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.pipe ; mkfifo Buildings_8_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.pipe >> ../files/Buildings_8_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Movers_Validation_PumpCurveDerivatives_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Movers_Validation_PumpCurveDerivatives.fmu > Buildings_8_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.pipe 2>&1)