Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.PumpCurveDerivatives,fileNamePrefix="Buildings_9_Buildings_Fluid_Movers_Validation_PumpCurveDerivatives",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.PumpCurveDerivatives,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.063/2.063, allocations: 387.2 MB / 394.5 MB, free: 13.62 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001136/0.001136, allocations: 185.3 kB / 487 MB, free: 5.344 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.486/1.486, allocations: 221.3 MB / 0.7819 GB, free: 1.328 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001063/0.001062, allocations: 93.94 kB / 0.9213 GB, free: 2.602 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.6409/0.642, allocations: 148.4 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3277/0.9698, allocations: 142.3 MB / 1.205 GB, free: 26.13 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9589/1.929, allocations: 402.9 MB / 1.599 GB, free: 3.469 MB / 1.026 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002374/1.929, allocations: 90.56 kB / 1.599 GB, free: 3.426 MB / 1.026 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 3.005/4.934, allocations: 0.9464 GB / 2.545 GB, free: 21.87 MB / 1.135 GB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/4.934, allocations: 11.98 kB / 2.545 GB, free: 21.86 MB / 1.135 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007929/4.942, allocations: 1.248 MB / 2.546 GB, free: 20.61 MB / 1.135 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04941/4.992, allocations: 20.23 MB / 2.566 GB, free: 164 kB / 1.135 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001033/4.992, allocations: 55.98 kB / 2.566 GB, free: 108 kB / 1.135 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005242/4.992, allocations: 108 kB / 2.566 GB, free: 0 / 1.135 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003286/4.996, allocations: 1.673 MB / 2.568 GB, free: 14.31 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003061/4.999, allocations: 1.885 MB / 2.57 GB, free: 12.32 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.678e-05/4.999, allocations: 7.938 kB / 2.57 GB, free: 12.31 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001644/4.999, allocations: 0 / 2.57 GB, free: 12.31 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.255e-05/4.999, allocations: 40 kB / 2.57 GB, free: 12.27 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01671/5.016, allocations: 10.34 MB / 2.58 GB, free: 1.477 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00226/5.018, allocations: 1.655 MB / 2.582 GB, free: 15.81 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001047/5.019, allocations: 0.7604 MB / 2.582 GB, free: 15.05 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0076/5.027, allocations: 4.037 MB / 2.586 GB, free: 10.74 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.752e-05/5.027, allocations: 43.34 kB / 2.586 GB, free: 10.69 MB / 1.167 GB Notification: Performance of pre-optimization done (n=84): time 3.686e-06/5.027, allocations: 0 / 2.586 GB, free: 10.69 MB / 1.167 GB Notification: Performance of matching and sorting (n=84): time 0.006726/5.034, allocations: 2.293 MB / 2.589 GB, free: 8.371 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.856e-05/5.034, allocations: 68.09 kB / 2.589 GB, free: 8.293 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006693/5.04, allocations: 3.531 MB / 2.592 GB, free: 4.785 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0004563/5.041, allocations: 29.7 kB / 2.592 GB, free: 4.75 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006662/5.042, allocations: 0.8811 MB / 2.593 GB, free: 3.852 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005203/5.042, allocations: 287.7 kB / 2.593 GB, free: 3.566 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.797e-05/5.042, allocations: 0 / 2.593 GB, free: 3.566 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001395/5.042, allocations: 369.9 kB / 2.594 GB, free: 3.199 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001139/5.043, allocations: 0.7887 MB / 2.594 GB, free: 2.41 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001522/5.045, allocations: 1.553 MB / 2.596 GB, free: 0.4961 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.5123/5.557, allocations: 1.134 MB / 2.597 GB, free: 277.7 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.198e-05/5.557, allocations: 3.719 kB / 2.597 GB, free: 277.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.007246/5.565, allocations: 2.906 MB / 2.6 GB, free: 277.7 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.002038/5.567, allocations: 9.346 MB / 2.609 GB, free: 268 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.649e-05/5.567, allocations: 21.97 kB / 2.609 GB, free: 268 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001183/5.568, allocations: 465.8 kB / 2.609 GB, free: 268 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001715/5.57, allocations: 401.1 kB / 2.61 GB, free: 268 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002017/5.572, allocations: 2.437 MB / 2.612 GB, free: 266.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003244/5.575, allocations: 286.4 kB / 2.612 GB, free: 266.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002412/5.575, allocations: 154.5 kB / 2.613 GB, free: 266.4 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.012e-05/5.575, allocations: 11.06 kB / 2.613 GB, free: 266.4 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005001/5.58, allocations: 2.255 MB / 2.615 GB, free: 266.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.369e-05/5.58, allocations: 22.72 kB / 2.615 GB, free: 266.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001328/5.582, allocations: 0.493 MB / 2.615 GB, free: 266.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00137/5.583, allocations: 380.5 kB / 2.616 GB, free: 266.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006752/5.59, allocations: 5.252 MB / 2.621 GB, free: 263.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002962/5.593, allocations: 238.8 kB / 2.621 GB, free: 263.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002502/5.593, allocations: 142.4 kB / 2.621 GB, free: 263.7 MB / 1.167 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.0005434/5.593, allocations: 166 kB / 2.621 GB, free: 263.6 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005758/5.594, allocations: 319.7 kB / 2.622 GB, free: 263.4 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005941/5.6, allocations: 2.311 MB / 2.624 GB, free: 263.3 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.614e-05/5.6, allocations: 8.375 kB / 2.624 GB, free: 263.3 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/5.6, allocations: 3.25 kB / 2.624 GB, free: 263.3 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.411e-05/5.6, allocations: 10.97 kB / 2.624 GB, free: 263.3 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00902/5.609, allocations: 4.49 MB / 2.628 GB, free: 262.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.792e-06/5.609, allocations: 7.469 kB / 2.628 GB, free: 262.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00117/5.61, allocations: 214.6 kB / 2.628 GB, free: 262.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007207/5.611, allocations: 314.5 kB / 2.629 GB, free: 262.9 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.442e-05/5.611, allocations: 24.03 kB / 2.629 GB, free: 262.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001502/5.613, allocations: 2.118 MB / 2.631 GB, free: 261.3 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.676e-06/5.613, allocations: 2.875 kB / 2.631 GB, free: 261.3 MB / 1.167 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005662/5.618, allocations: 2.931 MB / 2.634 GB, free: 260.8 MB / 1.167 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.007185/5.626, allocations: 4.234 MB / 2.638 GB, free: 259.9 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002249/5.628, allocations: 0.7165 MB / 2.639 GB, free: 259.6 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005713/5.628, allocations: 3.906 kB / 2.639 GB, free: 259.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001925/5.63, allocations: 168.1 kB / 2.639 GB, free: 259.6 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001469/5.631, allocations: 63 kB / 2.639 GB, free: 259.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001474/5.631, allocations: 57.58 kB / 2.639 GB, free: 259.6 MB / 1.167 GB Notification: Performance of sort global known variables: time 0.003891/5.635, allocations: 2.645 MB / 2.641 GB, free: 259.5 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.008338/5.643, allocations: 2.056 MB / 2.643 GB, free: 259.4 MB / 1.167 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.002734/5.646, allocations: 1.696 MB / 2.645 GB, free: 259.1 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.004626/5.65, allocations: 3.054 MB / 2.648 GB, free: 258.9 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 5.76e-06/5.65, allocations: 3.5 kB / 2.648 GB, free: 258.9 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001065/5.651, allocations: 0.666 MB / 2.649 GB, free: 258.9 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006494/5.658, allocations: 1.44 MB / 2.65 GB, free: 258.9 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008936/5.667, allocations: 4.429 MB / 2.654 GB, free: 257.8 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002442/5.669, allocations: 2.505 MB / 2.657 GB, free: 257.1 MB / 1.167 GB Notification: Performance of SimCode: time 1.323e-06/5.669, allocations: 0 / 2.657 GB, free: 257.1 MB / 1.167 GB (rm -f Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.pipe ; mkfifo Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.pipe >> ../files/Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Movers_Validation_PumpCurveDerivatives_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Movers_Validation_PumpCurveDerivatives.fmu > Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.pipe 2>&1)