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: translateModel(BuildingSystems.Fluid.Movers.Validation.PumpCurveDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Movers.Validation.PumpCurveDerivatives") translateModel(BuildingSystems.Fluid.Movers.Validation.PumpCurveDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Movers.Validation.PumpCurveDerivatives") [: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.8419/0.8419, allocations: 141.8 MB / 149.1 MB, free: 4.488 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.001252/0.001252, allocations: 184.1 kB / 181.9 MB, free: 156 kB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.616/1.616, allocations: 221.3 MB / 436 MB, free: 9.332 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.001182/0.001182, allocations: 96.12 kB / 0.507 GB, free: 24.18 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001887/0.001887, allocations: 271.9 kB / 0.5884 GB, free: 12.32 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 1.065e-05/1.079e-05, allocations: 4 kB / 0.6759 GB, free: 2.691 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.514/0.5141, allocations: 82.77 MB / 0.7567 GB, free: 112.9 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7344/1.248, allocations: 362 MB / 1.11 GB, free: 3.477 MB / 0.6357 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002723/1.249, allocations: 86.89 kB / 1.11 GB, free: 3.434 MB / 0.6357 GB Notification: Performance of FrontEnd: time 3.789/5.038, allocations: 0.947 GB / 2.057 GB, free: 74.37 MB / 0.745 GB Notification: Performance of Transformations before backend: time 0.0008356/5.039, allocations: 79.2 kB / 2.057 GB, free: 74.36 MB / 0.745 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 0.01209/5.051, allocations: 3.198 MB / 2.061 GB, free: 73.03 MB / 0.745 GB Notification: Performance of prepare preOptimizeDAE: time 4.852e-05/5.051, allocations: 12.91 kB / 2.061 GB, free: 73.03 MB / 0.745 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006828/5.058, allocations: 0.9647 MB / 2.061 GB, free: 72.82 MB / 0.745 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05502/5.113, allocations: 20.1 MB / 2.081 GB, free: 71.52 MB / 0.745 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000194/5.113, allocations: 54.66 kB / 2.081 GB, free: 71.52 MB / 0.745 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009665/5.114, allocations: 111.8 kB / 2.081 GB, free: 71.52 MB / 0.745 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004771/5.119, allocations: 1.631 MB / 2.083 GB, free: 71.51 MB / 0.745 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005288/5.124, allocations: 1.856 MB / 2.085 GB, free: 71.22 MB / 0.745 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.511e-05/5.124, allocations: 2.969 kB / 2.085 GB, free: 71.22 MB / 0.745 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003622/5.125, allocations: 3.094 kB / 2.085 GB, free: 71.22 MB / 0.745 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.638e-05/5.125, allocations: 39.19 kB / 2.085 GB, free: 71.22 MB / 0.745 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02286/5.148, allocations: 10.16 MB / 2.095 GB, free: 67.21 MB / 0.745 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002636/5.15, allocations: 1.616 MB / 2.096 GB, free: 67.17 MB / 0.745 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001041/5.151, allocations: 0.7298 MB / 2.097 GB, free: 67.16 MB / 0.745 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008939/5.16, allocations: 3.999 MB / 2.101 GB, free: 65.57 MB / 0.745 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.144e-05/5.16, allocations: 38.97 kB / 2.101 GB, free: 65.53 MB / 0.745 GB Notification: Performance of pre-optimization done (n=84): time 4.959e-06/5.16, allocations: 2.906 kB / 2.101 GB, free: 65.53 MB / 0.745 GB Notification: Performance of matching and sorting (n=84): time 0.007436/5.168, allocations: 2.265 MB / 2.103 GB, free: 65.28 MB / 0.745 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.455e-05/5.168, allocations: 63.56 kB / 2.103 GB, free: 65.22 MB / 0.745 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01064/5.179, allocations: 3.525 MB / 2.107 GB, free: 64.97 MB / 0.745 GB Notification: Performance of collectPreVariables (initialization): time 0.0007227/5.179, allocations: 29.39 kB / 2.107 GB, free: 64.94 MB / 0.745 GB Notification: Performance of collectInitialEqns (initialization): time 0.001544/5.181, allocations: 0.8887 MB / 2.107 GB, free: 64.52 MB / 0.745 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009292/5.182, allocations: 280.5 kB / 2.108 GB, free: 64.34 MB / 0.745 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003002/5.182, allocations: 3.062 kB / 2.108 GB, free: 64.34 MB / 0.745 GB Notification: Performance of setup shared object (initialization): time 0.0001979/5.182, allocations: 370.4 kB / 2.108 GB, free: 64.04 MB / 0.745 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001423/5.184, allocations: 0.7796 MB / 2.109 GB, free: 64.03 MB / 0.745 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001811/5.186, allocations: 1.526 MB / 2.11 GB, free: 63.08 MB / 0.745 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003396/5.189, allocations: 1.12 MB / 2.111 GB, free: 63.06 MB / 0.745 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.76e-05/5.189, allocations: 3.281 kB / 2.111 GB, free: 63.06 MB / 0.745 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.007868/5.197, allocations: 2.881 MB / 2.114 GB, free: 62.82 MB / 0.745 GB Notification: Performance of prepare postOptimizeDAE: time 0.002446/5.199, allocations: 9.343 MB / 2.123 GB, free: 53.05 MB / 0.745 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.062e-05/5.2, allocations: 21.12 kB / 2.123 GB, free: 53.05 MB / 0.745 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001297/5.201, allocations: 458.1 kB / 2.124 GB, free: 53.03 MB / 0.745 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001727/5.203, allocations: 376.6 kB / 2.124 GB, free: 53.03 MB / 0.745 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002383/5.205, allocations: 2.435 MB / 2.127 GB, free: 51.46 MB / 0.745 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003759/5.209, allocations: 258.6 kB / 2.127 GB, free: 51.37 MB / 0.745 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005018/5.209, allocations: 160.8 kB / 2.127 GB, free: 51.37 MB / 0.745 GB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/5.209, allocations: 5.844 kB / 2.127 GB, free: 51.37 MB / 0.745 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006223/5.216, allocations: 2.229 MB / 2.129 GB, free: 51.33 MB / 0.745 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000103/5.216, allocations: 24.44 kB / 2.129 GB, free: 51.32 MB / 0.745 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001526/5.217, allocations: 0.5023 MB / 2.13 GB, free: 51.3 MB / 0.745 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001399/5.219, allocations: 351.9 kB / 2.13 GB, free: 51.3 MB / 0.745 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00793/5.227, allocations: 5.248 MB / 2.135 GB, free: 48.62 MB / 0.745 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003681/5.23, allocations: 204 kB / 2.135 GB, free: 48.57 MB / 0.745 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005664/5.231, allocations: 137.6 kB / 2.135 GB, free: 48.57 MB / 0.745 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.001009/5.232, allocations: 172.6 kB / 2.136 GB, free: 48.45 MB / 0.745 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001337/5.233, allocations: 309.8 kB / 2.136 GB, free: 48.27 MB / 0.745 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007367/5.241, allocations: 2.279 MB / 2.138 GB, free: 48.13 MB / 0.745 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.971e-05/5.241, allocations: 14.53 kB / 2.138 GB, free: 48.13 MB / 0.745 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.897e-06/5.241, allocations: 0 / 2.138 GB, free: 48.13 MB / 0.745 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.682e-05/5.241, allocations: 7.547 kB / 2.138 GB, free: 48.13 MB / 0.745 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01354/5.254, allocations: 4.422 MB / 2.142 GB, free: 47.71 MB / 0.745 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.166e-05/5.254, allocations: 0 / 2.142 GB, free: 47.71 MB / 0.745 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0011/5.255, allocations: 193.5 kB / 2.143 GB, free: 47.71 MB / 0.745 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008631/5.256, allocations: 312.2 kB / 2.143 GB, free: 47.69 MB / 0.745 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001358/5.256, allocations: 25.75 kB / 2.143 GB, free: 47.69 MB / 0.745 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002238/5.259, allocations: 2.121 MB / 2.145 GB, free: 46.13 MB / 0.745 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.696e-06/5.259, allocations: 2.344 kB / 2.145 GB, free: 46.13 MB / 0.745 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008764/5.268, allocations: 2.862 MB / 2.148 GB, free: 45.59 MB / 0.745 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002911/5.27, allocations: 0.71 MB / 2.149 GB, free: 45.31 MB / 0.745 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001492/5.272, allocations: 7.469 kB / 2.149 GB, free: 45.31 MB / 0.745 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002978/5.275, allocations: 135.5 kB / 2.149 GB, free: 45.3 MB / 0.745 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001839/5.275, allocations: 71.03 kB / 2.149 GB, free: 45.3 MB / 0.745 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002211/5.275, allocations: 64.95 kB / 2.149 GB, free: 45.3 MB / 0.745 GB Notification: Performance of sort global known variables: time 0.007461/5.283, allocations: 2.633 MB / 2.151 GB, free: 45.16 MB / 0.745 GB Notification: Performance of remove unused functions: time 0.01065/5.294, allocations: 1.619 MB / 2.153 GB, free: 44.92 MB / 0.745 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.004316/5.298, allocations: 1.695 MB / 2.155 GB, free: 44.47 MB / 0.745 GB Notification: Performance of simCode: created initialization part: time 0.006391/5.304, allocations: 3.009 MB / 2.158 GB, free: 44.32 MB / 0.745 GB Notification: Performance of simCode: created event and clocks part: time 8.707e-06/5.304, allocations: 2.812 kB / 2.158 GB, free: 44.32 MB / 0.745 GB Notification: Performance of simCode: created simulation system equations: time 0.001439/5.306, allocations: 0.6415 MB / 2.158 GB, free: 44.31 MB / 0.745 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01004/5.316, allocations: 1.459 MB / 2.16 GB, free: 44.29 MB / 0.745 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01694/5.333, allocations: 4.392 MB / 2.164 GB, free: 43.23 MB / 0.745 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00514/5.338, allocations: 2.48 MB / 2.166 GB, free: 42.48 MB / 0.745 GB Notification: Performance of SimCode: time 1.072e-06/5.338, allocations: 3.531 kB / 2.166 GB, free: 42.48 MB / 0.745 GB Notification: Performance of Templates: time 0.1613/5.499, allocations: 84.45 MB / 2.249 GB, free: 14.11 MB / 0.745 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Movers.Validation.PumpCurveDerivatives.makefile (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 & ./BuildingSystems_BuildingSystems.Fluid.Movers.Validation.PumpCurveDerivatives -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Movers.Validation.PumpCurveDerivatives.pipe 2>&1)