Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Movers.Validation.PumpCurveDerivatives.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Movers.Validation.PumpCurveDerivatives,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Movers_Validation_PumpCurveDerivatives",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Movers.Validation.PumpCurveDerivatives,fileNamePrefix="BuildingSystems_BuildingSystems_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/BuildingSystems 2.0.0-master/package.mo): time 0.7172/0.7172, allocations: 141.8 MB / 149.1 MB, free: 1.438 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00108/0.00108, allocations: 185.4 kB / 181.9 MB, free: 0.7969 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.249/1.249, allocations: 221.4 MB / 436 MB, free: 5.398 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009556/0.0009556, allocations: 88.64 kB / 0.507 GB, free: 2.086 MB / 410.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001686/0.001686, allocations: 279.7 kB / 0.5884 GB, free: 47.22 MB / 410.9 MB Notification: Performance of FrontEnd - loaded program: time 0.366/0.3677, allocations: 89.64 MB / 0.676 GB, free: 59.55 MB / 442.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1573/0.525, allocations: 82.77 MB / 0.7568 GB, free: 0.582 MB / 442.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6559/1.181, allocations: 362 MB / 1.11 GB, free: 10.73 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002532/1.181, allocations: 94.88 kB / 1.11 GB, free: 10.68 MB / 0.6982 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.139/4.32, allocations: 0.9501 GB / 2.061 GB, free: 57.16 MB / 0.7138 GB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/4.32, allocations: 12.84 kB / 2.061 GB, free: 57.16 MB / 0.7138 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005307/4.326, allocations: 0.957 MB / 2.061 GB, free: 56.95 MB / 0.7138 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04382/4.37, allocations: 20.11 MB / 2.081 GB, free: 55.55 MB / 0.7138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001299/4.37, allocations: 53.19 kB / 2.081 GB, free: 55.55 MB / 0.7138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006457/4.37, allocations: 110.6 kB / 2.081 GB, free: 55.55 MB / 0.7138 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003338/4.374, allocations: 1.628 MB / 2.083 GB, free: 55.54 MB / 0.7138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003274/4.377, allocations: 1.862 MB / 2.085 GB, free: 55.23 MB / 0.7138 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.662e-05/4.377, allocations: 0 / 2.085 GB, free: 55.23 MB / 0.7138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002067/4.377, allocations: 5.688 kB / 2.085 GB, free: 55.23 MB / 0.7138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.613e-05/4.377, allocations: 37 kB / 2.085 GB, free: 55.23 MB / 0.7138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01459/4.392, allocations: 10.14 MB / 2.095 GB, free: 51.13 MB / 0.7138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002186/4.394, allocations: 1.628 MB / 2.096 GB, free: 51.09 MB / 0.7138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009538/4.395, allocations: 0.7309 MB / 2.097 GB, free: 51.08 MB / 0.7138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006296/4.401, allocations: 3.991 MB / 2.101 GB, free: 49.04 MB / 0.7138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.293e-05/4.402, allocations: 45.25 kB / 2.101 GB, free: 48.99 MB / 0.7138 GB Notification: Performance of pre-optimization done (n=84): time 2.345e-06/4.402, allocations: 0 / 2.101 GB, free: 48.99 MB / 0.7138 GB Notification: Performance of matching and sorting (n=84): time 0.005721/4.407, allocations: 2.263 MB / 2.103 GB, free: 48.23 MB / 0.7138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.543e-05/4.407, allocations: 67.73 kB / 2.103 GB, free: 48.16 MB / 0.7138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005079/4.412, allocations: 3.524 MB / 2.107 GB, free: 46.77 MB / 0.7138 GB Notification: Performance of collectPreVariables (initialization): time 0.000332/4.413, allocations: 28.67 kB / 2.107 GB, free: 46.74 MB / 0.7138 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005082/4.413, allocations: 0.8874 MB / 2.107 GB, free: 46.15 MB / 0.7138 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003641/4.414, allocations: 281.1 kB / 2.108 GB, free: 45.93 MB / 0.7138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.201e-05/4.414, allocations: 0 / 2.108 GB, free: 45.93 MB / 0.7138 GB Notification: Performance of setup shared object (initialization): time 9.317e-05/4.414, allocations: 373.2 kB / 2.108 GB, free: 45.6 MB / 0.7138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009662/4.415, allocations: 0.7744 MB / 2.109 GB, free: 45.31 MB / 0.7138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001346/4.416, allocations: 1.537 MB / 2.11 GB, free: 44.01 MB / 0.7138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003056/4.419, allocations: 1.116 MB / 2.111 GB, free: 43.67 MB / 0.7138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.91e-05/4.419, allocations: 6.438 kB / 2.111 GB, free: 43.67 MB / 0.7138 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.007308/4.427, allocations: 2.876 MB / 2.114 GB, free: 42.67 MB / 0.7138 GB Notification: Performance of prepare postOptimizeDAE: time 0.001596/4.428, allocations: 9.339 MB / 2.123 GB, free: 32.75 MB / 0.7138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.295e-05/4.428, allocations: 21.47 kB / 2.123 GB, free: 32.75 MB / 0.7138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001262/4.43, allocations: 461.9 kB / 2.124 GB, free: 32.62 MB / 0.7138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001666/4.431, allocations: 374.8 kB / 2.124 GB, free: 32.59 MB / 0.7138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002169/4.433, allocations: 2.44 MB / 2.127 GB, free: 30.7 MB / 0.7138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002977/4.436, allocations: 257 kB / 2.127 GB, free: 30.6 MB / 0.7138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003051/4.437, allocations: 158.8 kB / 2.127 GB, free: 30.59 MB / 0.7138 GB Notification: Performance of prepare postOptimizeDAE: time 1.086e-05/4.437, allocations: 6.781 kB / 2.127 GB, free: 30.59 MB / 0.7138 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005597/4.442, allocations: 2.23 MB / 2.129 GB, free: 29.89 MB / 0.7138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.033e-05/4.442, allocations: 21.28 kB / 2.129 GB, free: 29.89 MB / 0.7138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001549/4.444, allocations: 0.5005 MB / 2.13 GB, free: 29.75 MB / 0.7138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001531/4.445, allocations: 351.5 kB / 2.13 GB, free: 29.72 MB / 0.7138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007746/4.453, allocations: 5.259 MB / 2.135 GB, free: 26.27 MB / 0.7138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002932/4.456, allocations: 197.8 kB / 2.135 GB, free: 26.21 MB / 0.7138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003324/4.457, allocations: 136.1 kB / 2.135 GB, free: 26.2 MB / 0.7138 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.0005875/4.457, allocations: 179.2 kB / 2.136 GB, free: 26.04 MB / 0.7138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006498/4.458, allocations: 311.1 kB / 2.136 GB, free: 25.87 MB / 0.7138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005927/4.464, allocations: 2.285 MB / 2.138 GB, free: 24.29 MB / 0.7138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-05/4.464, allocations: 19.52 kB / 2.138 GB, free: 24.27 MB / 0.7138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/4.464, allocations: 0 / 2.138 GB, free: 24.27 MB / 0.7138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.323e-05/4.464, allocations: 3.891 kB / 2.138 GB, free: 24.27 MB / 0.7138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0077/4.471, allocations: 4.416 MB / 2.142 GB, free: 20.82 MB / 0.7138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.121e-06/4.472, allocations: 3.469 kB / 2.142 GB, free: 20.82 MB / 0.7138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009846/4.472, allocations: 193.9 kB / 2.143 GB, free: 20.67 MB / 0.7138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006875/4.473, allocations: 306.3 kB / 2.143 GB, free: 20.41 MB / 0.7138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.426e-05/4.473, allocations: 23.5 kB / 2.143 GB, free: 20.39 MB / 0.7138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001422/4.475, allocations: 2.126 MB / 2.145 GB, free: 18.28 MB / 0.7138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/4.475, allocations: 4 kB / 2.145 GB, free: 18.28 MB / 0.7138 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005465/4.48, allocations: 2.864 MB / 2.148 GB, free: 15.69 MB / 0.7138 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.006801/4.487, allocations: 4.15 MB / 2.152 GB, free: 11.86 MB / 0.7138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001787/4.489, allocations: 0.7122 MB / 2.153 GB, free: 11.21 MB / 0.7138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000544/4.489, allocations: 0.7031 kB / 2.153 GB, free: 11.21 MB / 0.7138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001757/4.491, allocations: 138 kB / 2.153 GB, free: 11.12 MB / 0.7138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001531/4.491, allocations: 64.42 kB / 2.153 GB, free: 11.08 MB / 0.7138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001258/4.491, allocations: 66.73 kB / 2.153 GB, free: 11.03 MB / 0.7138 GB Notification: Performance of sort global known variables: time 0.003865/4.495, allocations: 2.636 MB / 2.155 GB, free: 8.684 MB / 0.7138 GB Notification: Performance of remove unused functions: time 0.007599/4.503, allocations: 2.046 MB / 2.157 GB, free: 6.66 MB / 0.7138 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.002641/4.506, allocations: 1.695 MB / 2.159 GB, free: 5.207 MB / 0.7138 GB Notification: Performance of simCode: created initialization part: time 0.004639/4.51, allocations: 2.999 MB / 2.162 GB, free: 2.426 MB / 0.7138 GB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/4.51, allocations: 192 / 2.162 GB, free: 2.426 MB / 0.7138 GB Notification: Performance of simCode: created simulation system equations: time 0.001045/4.511, allocations: 0.6525 MB / 2.163 GB, free: 1.824 MB / 0.7138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006737/4.518, allocations: 1.454 MB / 2.164 GB, free: 0.6875 MB / 0.7138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01042/4.529, allocations: 4.386 MB / 2.168 GB, free: 12.65 MB / 0.7294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003531/4.532, allocations: 2.491 MB / 2.171 GB, free: 10.66 MB / 0.7294 GB Notification: Performance of SimCode: time 9.02e-07/4.532, allocations: 4 kB / 2.171 GB, free: 10.65 MB / 0.7294 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Movers.Validation.PumpCurveDerivatives.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Movers.Validation.PumpCurveDerivatives.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Movers.Validation.PumpCurveDerivatives.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Movers.Validation.PumpCurveDerivatives.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Movers_Validation_PumpCurveDerivatives_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Movers_Validation_PumpCurveDerivatives.fmu > BuildingSystems_BuildingSystems.Fluid.Movers.Validation.PumpCurveDerivatives.pipe 2>&1)