Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.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.PumpCurveConstruction,fileNamePrefix="Buildings_9_Buildings_Fluid_Movers_Validation_PumpCurveConstruction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.PumpCurveConstruction,fileNamePrefix="Buildings_9_Buildings_Fluid_Movers_Validation_PumpCurveConstruction",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.146/2.146, allocations: 387.2 MB / 394.5 MB, free: 13.61 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.001151/0.001151, allocations: 180.1 kB / 487 MB, free: 5.309 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.427/1.427, allocations: 221.3 MB / 0.7819 GB, free: 1.312 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.001011/0.001011, allocations: 97.12 kB / 0.9213 GB, free: 2.559 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.6098/0.6109, allocations: 148.4 MB / 1.066 GB, free: 168.1 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2678/0.8787, allocations: 142.3 MB / 1.205 GB, free: 26.09 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9587/1.838, allocations: 439.3 MB / 1.634 GB, free: 144 kB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002618/1.838, allocations: 90.81 kB / 1.634 GB, free: 96 kB / 1.057 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 525 * Number of variables: 525 Notification: Performance of Generate backend data structure: time 5.24/7.078, allocations: 1.518 GB / 3.153 GB, free: 134 MB / 1.182 GB Notification: Performance of prepare preOptimizeDAE: time 4.595e-05/7.078, allocations: 7.781 kB / 3.153 GB, free: 134 MB / 1.182 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01049/7.089, allocations: 1.578 MB / 3.154 GB, free: 133.8 MB / 1.182 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07075/7.16, allocations: 28.35 MB / 3.182 GB, free: 132.1 MB / 1.182 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001691/7.16, allocations: 72.62 kB / 3.182 GB, free: 132.1 MB / 1.182 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009366/7.161, allocations: 141.8 kB / 3.182 GB, free: 132.1 MB / 1.182 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004718/7.165, allocations: 1.85 MB / 3.184 GB, free: 132.1 MB / 1.182 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005264/7.171, allocations: 2.213 MB / 3.186 GB, free: 131.8 MB / 1.182 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.169e-05/7.171, allocations: 0.75 kB / 3.186 GB, free: 131.8 MB / 1.182 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004053/7.171, allocations: 3.25 kB / 3.186 GB, free: 131.8 MB / 1.182 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.047e-05/7.171, allocations: 50.19 kB / 3.186 GB, free: 131.8 MB / 1.182 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01701/7.188, allocations: 12.04 MB / 3.198 GB, free: 125.7 MB / 1.182 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002137/7.191, allocations: 1.68 MB / 3.199 GB, free: 125.6 MB / 1.182 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009445/7.191, allocations: 0.7515 MB / 3.2 GB, free: 125.6 MB / 1.182 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006295/7.198, allocations: 3.706 MB / 3.204 GB, free: 123.9 MB / 1.182 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.642e-05/7.198, allocations: 46.69 kB / 3.204 GB, free: 123.9 MB / 1.182 GB Notification: Performance of pre-optimization done (n=116): time 3.497e-06/7.198, allocations: 3.219 kB / 3.204 GB, free: 123.9 MB / 1.182 GB Notification: Performance of matching and sorting (n=116): time 0.008354/7.206, allocations: 2.543 MB / 3.206 GB, free: 123.6 MB / 1.182 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.315e-05/7.206, allocations: 62.94 kB / 3.206 GB, free: 123.5 MB / 1.182 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005597/7.212, allocations: 2.454 MB / 3.209 GB, free: 123.2 MB / 1.182 GB Notification: Performance of collectPreVariables (initialization): time 0.0006654/7.213, allocations: 28.52 kB / 3.209 GB, free: 123.2 MB / 1.182 GB Notification: Performance of collectInitialEqns (initialization): time 0.00065/7.213, allocations: 1 MB / 3.21 GB, free: 122.7 MB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005198/7.214, allocations: 384.5 kB / 3.21 GB, free: 122.5 MB / 1.182 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001289/7.214, allocations: 0 / 3.21 GB, free: 122.5 MB / 1.182 GB Notification: Performance of setup shared object (initialization): time 0.0001014/7.214, allocations: 384.4 kB / 3.211 GB, free: 122.1 MB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001089/7.215, allocations: 0.7285 MB / 3.211 GB, free: 122.1 MB / 1.182 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001281/7.216, allocations: 1.465 MB / 3.213 GB, free: 121.2 MB / 1.182 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003337/7.22, allocations: 1.133 MB / 3.214 GB, free: 121.2 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.688e-06/7.22, allocations: 10.48 kB / 3.214 GB, free: 121.2 MB / 1.182 GB Notification: Performance of matching and sorting (n=232) (initialization): time 0.007797/7.228, allocations: 3.059 MB / 3.217 GB, free: 120.9 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 0.001173/7.229, allocations: 7.605 MB / 3.224 GB, free: 113 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.331e-05/7.229, allocations: 21.44 kB / 3.224 GB, free: 113 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001696/7.231, allocations: 0.7219 MB / 3.225 GB, free: 112.9 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001914/7.232, allocations: 419.8 kB / 3.225 GB, free: 112.9 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003708/7.236, allocations: 5.507 MB / 3.231 GB, free: 108.8 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003375/7.24, allocations: 325.3 kB / 3.231 GB, free: 108.7 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002794/7.24, allocations: 157.7 kB / 3.231 GB, free: 108.7 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 9.218e-06/7.24, allocations: 5.188 kB / 3.231 GB, free: 108.7 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006705/7.247, allocations: 2.464 MB / 3.234 GB, free: 108.6 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.156e-05/7.247, allocations: 19.16 kB / 3.234 GB, free: 108.6 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002164/7.249, allocations: 0.8359 MB / 3.234 GB, free: 108.5 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001575/7.25, allocations: 390.2 kB / 3.235 GB, free: 108.5 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01427/7.265, allocations: 12.2 MB / 3.247 GB, free: 100.9 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003364/7.268, allocations: 276.6 kB / 3.247 GB, free: 100.8 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002982/7.268, allocations: 133.9 kB / 3.247 GB, free: 100.8 MB / 1.182 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pum_no.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: pum_m_flow.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: pum_dp.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: pum.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: 77 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (184): * Single equations (assignments): 172 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 8 {1 4,1 5,1 4,1 5,1 4,1 5,1 4,1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0006519/7.269, allocations: 170.9 kB / 3.247 GB, free: 100.7 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005928/7.27, allocations: 329 kB / 3.248 GB, free: 100.5 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007912/7.278, allocations: 2.964 MB / 3.25 GB, free: 100.3 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.163e-05/7.278, allocations: 13.25 kB / 3.25 GB, free: 100.3 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/7.278, allocations: 2.875 kB / 3.25 GB, free: 100.3 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.622e-05/7.278, allocations: 7.078 kB / 3.25 GB, free: 100.3 MB / 1.182 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01076/7.288, allocations: 4.666 MB / 3.255 GB, free: 99.8 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.446e-06/7.288, allocations: 0 / 3.255 GB, free: 99.8 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001385/7.29, allocations: 254.5 kB / 3.255 GB, free: 99.8 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001226/7.291, allocations: 0.5178 MB / 3.256 GB, free: 99.73 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001517/7.291, allocations: 34.31 kB / 3.256 GB, free: 99.73 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003133/7.294, allocations: 5.068 MB / 3.261 GB, free: 95.58 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.774e-06/7.294, allocations: 6.594 kB / 3.261 GB, free: 95.58 MB / 1.182 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006406/7.301, allocations: 2.525 MB / 3.263 GB, free: 95.04 MB / 1.182 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.006688/7.308, allocations: 3.096 MB / 3.266 GB, free: 94.12 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001915/7.31, allocations: 0.5946 MB / 3.267 GB, free: 93.83 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00056/7.31, allocations: 7.359 kB / 3.267 GB, free: 93.83 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002225/7.312, allocations: 200.7 kB / 3.267 GB, free: 93.82 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001677/7.313, allocations: 89.03 kB / 3.267 GB, free: 93.82 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001727/7.313, allocations: 79.28 kB / 3.267 GB, free: 93.82 MB / 1.182 GB Notification: Performance of sort global known variables: time 0.002853/7.316, allocations: 1.835 MB / 3.269 GB, free: 93.64 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.01018/7.326, allocations: 2.409 MB / 3.271 GB, free: 93.35 MB / 1.182 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (105): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 8 {1 4,1 4,1 4,1 4,1 6,1 6,1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.003255/7.329, allocations: 2.262 MB / 3.274 GB, free: 92.72 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.006105/7.335, allocations: 3.595 MB / 3.277 GB, free: 92.26 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 5.441e-06/7.335, allocations: 0 / 3.277 GB, free: 92.26 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.001492/7.337, allocations: 0.8344 MB / 3.278 GB, free: 92.25 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006642/7.343, allocations: 1.356 MB / 3.279 GB, free: 92.23 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01024/7.354, allocations: 4.513 MB / 3.284 GB, free: 91.09 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00266/7.356, allocations: 2.531 MB / 3.286 GB, free: 90.33 MB / 1.182 GB Notification: Performance of SimCode: time 1.273e-06/7.356, allocations: 0 / 3.286 GB, free: 90.33 MB / 1.182 GB (rm -f Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.pipe ; mkfifo Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.pipe >> ../files/Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveConstruction_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Movers_Validation_PumpCurveConstruction_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Movers_Validation_PumpCurveConstruction.fmu > Buildings_9_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.pipe 2>&1)