Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Movers.Validation.PumpCurveConstruction.conf.json 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/IDEAS 3.0.0-master/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Fluid.Movers.Validation.PumpCurveConstruction,fileNamePrefix="IDEAS_IDEAS_Fluid_Movers_Validation_PumpCurveConstruction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Movers.Validation.PumpCurveConstruction,fileNamePrefix="IDEAS_IDEAS_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/Complex 4.0.0+maint.om/package.mo): time 0.005398/0.005398, allocations: 183 kB / 7.459 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7547/0.7547, allocations: 133.5 MB / 141.4 MB, free: 15.65 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.597/1.597, allocations: 221.3 MB / 395 MB, free: 10.04 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001194/0.001193, allocations: 102.1 kB / 477.8 MB, free: 10.64 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5085/0.5098, allocations: 88.43 MB / 0.5529 GB, free: 89.35 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2425/0.7523, allocations: 82.3 MB / 0.6333 GB, free: 13.85 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.334/2.086, allocations: 401.2 MB / 1.025 GB, free: 232.4 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000337/2.086, allocations: 89.2 kB / 1.025 GB, free: 232.4 MB / 0.6823 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.415/7.501, allocations: 1.524 GB / 2.549 GB, free: 10.45 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.879e-05/7.501, allocations: 15.92 kB / 2.549 GB, free: 10.44 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007718/7.509, allocations: 1.201 MB / 2.551 GB, free: 9.23 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5872/8.096, allocations: 28.18 MB / 2.578 GB, free: 82.27 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001767/8.096, allocations: 64.56 kB / 2.578 GB, free: 82.27 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00102/8.097, allocations: 142 kB / 2.578 GB, free: 82.27 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004453/8.102, allocations: 1.799 MB / 2.58 GB, free: 82.25 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003824/8.105, allocations: 2.171 MB / 2.582 GB, free: 81.9 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.832e-05/8.106, allocations: 9.812 kB / 2.582 GB, free: 81.9 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002061/8.106, allocations: 3.25 kB / 2.582 GB, free: 81.9 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.668e-05/8.106, allocations: 53.03 kB / 2.582 GB, free: 81.9 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02171/8.128, allocations: 11.86 MB / 2.594 GB, free: 76.03 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003076/8.131, allocations: 1.647 MB / 2.595 GB, free: 76 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001067/8.132, allocations: 0.7313 MB / 2.596 GB, free: 75.98 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00708/8.139, allocations: 3.61 MB / 2.6 GB, free: 74.34 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.844e-05/8.139, allocations: 53.61 kB / 2.6 GB, free: 74.3 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=116): time 3.827e-06/8.139, allocations: 0 / 2.6 GB, free: 74.3 MB / 0.7292 GB Notification: Performance of matching and sorting (n=116): time 0.007765/8.147, allocations: 2.494 MB / 2.602 GB, free: 74 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.3e-05/8.147, allocations: 63.47 kB / 2.602 GB, free: 73.94 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004246/8.151, allocations: 2.459 MB / 2.605 GB, free: 73.67 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0004672/8.152, allocations: 28.73 kB / 2.605 GB, free: 73.64 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006868/8.152, allocations: 1.007 MB / 2.606 GB, free: 73.27 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005984/8.153, allocations: 381.8 kB / 2.606 GB, free: 73.07 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000115/8.153, allocations: 0 / 2.606 GB, free: 73.07 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.000136/8.153, allocations: 379.3 kB / 2.606 GB, free: 72.76 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001144/8.154, allocations: 0.7045 MB / 2.607 GB, free: 72.76 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001631/8.156, allocations: 1.443 MB / 2.608 GB, free: 71.87 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003943/8.16, allocations: 1.118 MB / 2.61 GB, free: 71.85 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-05/8.16, allocations: 6.719 kB / 2.61 GB, free: 71.85 MB / 0.7292 GB Notification: Performance of matching and sorting (n=232) (initialization): time 0.009975/8.17, allocations: 3.039 MB / 2.613 GB, free: 71.54 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.002304/8.172, allocations: 7.594 MB / 2.62 GB, free: 63.63 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.343e-05/8.172, allocations: 21.5 kB / 2.62 GB, free: 63.63 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00182/8.174, allocations: 0.7156 MB / 2.621 GB, free: 63.57 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001908/8.176, allocations: 387.2 kB / 2.621 GB, free: 63.57 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004199/8.18, allocations: 5.505 MB / 2.626 GB, free: 59.41 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003889/8.184, allocations: 294.2 kB / 2.627 GB, free: 59.36 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003733/8.185, allocations: 154.8 kB / 2.627 GB, free: 59.36 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.101e-05/8.185, allocations: 4.781 kB / 2.627 GB, free: 59.36 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006621/8.191, allocations: 2.434 MB / 2.629 GB, free: 59.25 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.245e-05/8.191, allocations: 15.88 kB / 2.629 GB, free: 59.25 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002351/8.194, allocations: 0.8283 MB / 2.63 GB, free: 59.19 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00142/8.195, allocations: 355.5 kB / 2.63 GB, free: 59.19 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01597/8.211, allocations: 12.2 MB / 2.642 GB, free: 67.55 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003877/8.215, allocations: 238.2 kB / 2.643 GB, free: 67.52 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005707/8.216, allocations: 136.6 kB / 2.643 GB, free: 67.52 MB / 0.7448 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.0007719/8.216, allocations: 177.9 kB / 2.643 GB, free: 67.41 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001007/8.217, allocations: 329.3 kB / 2.643 GB, free: 67.23 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008402/8.226, allocations: 2.9 MB / 2.646 GB, free: 67.02 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.869e-05/8.226, allocations: 18.47 kB / 2.646 GB, free: 67.02 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/8.226, allocations: 0 / 2.646 GB, free: 67.02 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.756e-05/8.226, allocations: 7.406 kB / 2.646 GB, free: 67.02 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01168/8.238, allocations: 4.577 MB / 2.65 GB, free: 66.54 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.07e-05/8.238, allocations: 6.438 kB / 2.65 GB, free: 66.54 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001226/8.239, allocations: 210.4 kB / 2.651 GB, free: 66.54 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001246/8.24, allocations: 0.5219 MB / 2.651 GB, free: 66.48 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000146/8.24, allocations: 31.61 kB / 2.651 GB, free: 66.48 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003965/8.244, allocations: 5.069 MB / 2.656 GB, free: 62.32 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.071e-06/8.244, allocations: 3.656 kB / 2.656 GB, free: 62.32 MB / 0.7448 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006425/8.251, allocations: 2.481 MB / 2.659 GB, free: 61.79 MB / 0.7448 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.007254/8.258, allocations: 3.063 MB / 2.662 GB, free: 60.88 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002113/8.26, allocations: 0.5877 MB / 2.662 GB, free: 60.6 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006271/8.261, allocations: 7.5 kB / 2.662 GB, free: 60.6 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002164/8.263, allocations: 170.5 kB / 2.662 GB, free: 60.59 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001602/8.263, allocations: 85.44 kB / 2.662 GB, free: 60.59 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001652/8.263, allocations: 77.19 kB / 2.662 GB, free: 60.59 MB / 0.7448 GB Notification: Performance of sort global known variables: time 0.002922/8.266, allocations: 1.834 MB / 2.664 GB, free: 60.41 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.01036/8.277, allocations: 2.405 MB / 2.667 GB, free: 60.32 MB / 0.7448 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.00495/8.282, allocations: 2.253 MB / 2.669 GB, free: 59.82 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.007737/8.289, allocations: 3.518 MB / 2.672 GB, free: 59.36 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 7.064e-06/8.289, allocations: 3.391 kB / 2.672 GB, free: 59.36 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.001665/8.291, allocations: 0.8186 MB / 2.673 GB, free: 59.34 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007077/8.298, allocations: 1.356 MB / 2.674 GB, free: 59.32 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01248/8.311, allocations: 4.502 MB / 2.679 GB, free: 58.2 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00334/8.314, allocations: 2.523 MB / 2.681 GB, free: 57.43 MB / 0.7448 GB Notification: Performance of SimCode: time 2.404e-06/8.314, allocations: 0 / 2.681 GB, free: 57.43 MB / 0.7448 GB (rm -f IDEAS_IDEAS.Fluid.Movers.Validation.PumpCurveConstruction.pipe ; mkfifo IDEAS_IDEAS.Fluid.Movers.Validation.PumpCurveConstruction.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Movers.Validation.PumpCurveConstruction.pipe >> ../files/IDEAS_IDEAS.Fluid.Movers.Validation.PumpCurveConstruction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Movers_Validation_PumpCurveConstruction_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Movers_Validation_PumpCurveConstruction.fmu > IDEAS_IDEAS.Fluid.Movers.Validation.PumpCurveConstruction.pipe 2>&1)