Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Movers.Validation.PumpCurveConstruction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Movers.Validation.PumpCurveConstruction") translateModel(Buildings.Fluid.Movers.Validation.PumpCurveConstruction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Movers.Validation.PumpCurveConstruction") [: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 8.1.4-maint.8.1.x/package.mo): time 1.673/1.673, allocations: 289.8 MB / 297.1 MB, free: 9.027 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001157/0.001156, allocations: 187.9 kB / 366.3 MB, free: 11.33 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.523/1.523, allocations: 205.1 MB / 0.6256 GB, free: 11.41 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009098/0.0009098, allocations: 83.66 kB / 0.7396 GB, free: 6.609 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 7.614e-06/7.654e-06, allocations: 0 / 0.859 GB, free: 148.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.233/0.233, allocations: 116.3 MB / 0.9726 GB, free: 31.76 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9265/1.16, allocations: 441.9 MB / 1.404 GB, free: 6.211 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002692/1.16, allocations: 90.08 kB / 1.404 GB, free: 6.168 MB / 0.9323 GB Notification: Performance of FrontEnd: time 5.257/6.417, allocations: 1.492 GB / 2.896 GB, free: 6.914 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0008198/6.418, allocations: 95.97 kB / 2.896 GB, free: 6.82 MB / 0.9948 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 0.01205/6.43, allocations: 3.585 MB / 2.9 GB, free: 3.172 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.638e-05/6.43, allocations: 8.031 kB / 2.9 GB, free: 3.164 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007467/6.437, allocations: 1.197 MB / 2.901 GB, free: 1.961 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07532/6.513, allocations: 27.7 MB / 2.928 GB, free: 5.926 MB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002438/6.513, allocations: 68 kB / 2.928 GB, free: 5.859 MB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001262/6.514, allocations: 140 kB / 2.928 GB, free: 5.723 MB / 1.026 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006103/6.52, allocations: 1.8 MB / 2.93 GB, free: 3.914 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006568/6.527, allocations: 2.169 MB / 2.932 GB, free: 1.609 MB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.776e-05/6.527, allocations: 4 kB / 2.932 GB, free: 1.605 MB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003997/6.527, allocations: 0 / 2.932 GB, free: 1.605 MB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.499e-05/6.527, allocations: 52 kB / 2.932 GB, free: 1.555 MB / 1.026 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5861/7.113, allocations: 11.84 MB / 2.943 GB, free: 202.8 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002133/7.116, allocations: 1.635 MB / 2.945 GB, free: 202.8 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000903/7.117, allocations: 0.7312 MB / 2.946 GB, free: 202.8 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006101/7.123, allocations: 3.628 MB / 2.949 GB, free: 201.2 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.521e-05/7.123, allocations: 49.77 kB / 2.949 GB, free: 201.1 MB / 1.026 GB Notification: Performance of pre-optimization done (n=116): time 3.026e-06/7.123, allocations: 3.812 kB / 2.949 GB, free: 201.1 MB / 1.026 GB Notification: Performance of matching and sorting (n=116): time 0.007103/7.13, allocations: 2.497 MB / 2.952 GB, free: 200.8 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.765e-05/7.13, allocations: 70.69 kB / 2.952 GB, free: 200.8 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003713/7.134, allocations: 2.423 MB / 2.954 GB, free: 200.5 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 0.000313/7.134, allocations: 29.42 kB / 2.954 GB, free: 200.5 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006091/7.135, allocations: 1.001 MB / 2.955 GB, free: 200.1 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004237/7.135, allocations: 385.2 kB / 2.956 GB, free: 199.9 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001043/7.135, allocations: 3.875 kB / 2.956 GB, free: 199.9 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 0.0001035/7.135, allocations: 374.2 kB / 2.956 GB, free: 199.6 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001004/7.136, allocations: 0.7058 MB / 2.957 GB, free: 199.6 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001266/7.138, allocations: 1.438 MB / 2.958 GB, free: 198.7 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003275/7.141, allocations: 1.12 MB / 2.959 GB, free: 198.7 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.179e-05/7.141, allocations: 7.25 kB / 2.959 GB, free: 198.7 MB / 1.026 GB Notification: Performance of matching and sorting (n=232) (initialization): time 0.008131/7.149, allocations: 3.022 MB / 2.962 GB, free: 198.4 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 0.001634/7.151, allocations: 7.587 MB / 2.97 GB, free: 190.5 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.461e-05/7.151, allocations: 18.22 kB / 2.97 GB, free: 190.5 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001751/7.152, allocations: 0.7223 MB / 2.97 GB, free: 190.4 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001825/7.154, allocations: 387.1 kB / 2.971 GB, free: 190.4 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003901/7.158, allocations: 5.51 MB / 2.976 GB, free: 186.3 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003619/7.162, allocations: 295.4 kB / 2.976 GB, free: 186.2 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003669/7.162, allocations: 152.4 kB / 2.976 GB, free: 186.2 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 1.127e-05/7.162, allocations: 6.281 kB / 2.976 GB, free: 186.2 MB / 1.026 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006676/7.169, allocations: 2.432 MB / 2.979 GB, free: 186.1 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.084e-05/7.169, allocations: 15.53 kB / 2.979 GB, free: 186.1 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00222/7.171, allocations: 0.822 MB / 2.98 GB, free: 186 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001531/7.173, allocations: 363.7 kB / 2.98 GB, free: 186 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01499/7.188, allocations: 12.2 MB / 2.992 GB, free: 178.4 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003469/7.191, allocations: 241.1 kB / 2.992 GB, free: 178.4 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006332/7.192, allocations: 140.1 kB / 2.992 GB, free: 178.4 MB / 1.026 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.00103/7.193, allocations: 172.3 kB / 2.992 GB, free: 178.3 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001126/7.194, allocations: 329.2 kB / 2.993 GB, free: 178.1 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008348/7.203, allocations: 2.898 MB / 2.996 GB, free: 177.9 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-05/7.203, allocations: 17.12 kB / 2.996 GB, free: 177.9 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.586e-06/7.203, allocations: 0 / 2.996 GB, free: 177.9 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.675e-05/7.203, allocations: 9 kB / 2.996 GB, free: 177.9 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01434/7.217, allocations: 4.552 MB / 3 GB, free: 177.4 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-05/7.217, allocations: 3.906 kB / 3 GB, free: 177.4 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00124/7.218, allocations: 219.4 kB / 3 GB, free: 177.4 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001192/7.22, allocations: 0.5133 MB / 3.001 GB, free: 177.4 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001971/7.22, allocations: 31.39 kB / 3.001 GB, free: 177.4 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003814/7.224, allocations: 5.073 MB / 3.006 GB, free: 173.2 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.004e-06/7.224, allocations: 2.969 kB / 3.006 GB, free: 173.2 MB / 1.026 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006989/7.231, allocations: 2.479 MB / 3.008 GB, free: 172.7 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002494/7.233, allocations: 0.5773 MB / 3.009 GB, free: 172.4 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001222/7.234, allocations: 8.172 kB / 3.009 GB, free: 172.4 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002962/7.237, allocations: 178.6 kB / 3.009 GB, free: 172.4 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001951/7.238, allocations: 77.55 kB / 3.009 GB, free: 172.4 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002235/7.238, allocations: 80.73 kB / 3.009 GB, free: 172.4 MB / 1.026 GB Notification: Performance of sort global known variables: time 0.004256/7.242, allocations: 1.809 MB / 3.011 GB, free: 172.2 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.008253/7.25, allocations: 1.828 MB / 3.013 GB, free: 172.1 MB / 1.026 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.004064/7.254, allocations: 2.26 MB / 3.015 GB, free: 171.6 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.006731/7.261, allocations: 3.519 MB / 3.018 GB, free: 171.2 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 6.713e-06/7.261, allocations: 0 / 3.018 GB, free: 171.2 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.001526/7.263, allocations: 0.8088 MB / 3.019 GB, free: 171.2 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00698/7.27, allocations: 1.362 MB / 3.02 GB, free: 171.2 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01329/7.283, allocations: 4.451 MB / 3.025 GB, free: 170 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00253/7.286, allocations: 2.509 MB / 3.027 GB, free: 169.3 MB / 1.026 GB Notification: Performance of SimCode: time 1.032e-06/7.286, allocations: 0 / 3.027 GB, free: 169.3 MB / 1.026 GB Notification: Performance of Templates: time 0.1426/7.428, allocations: 85.19 MB / 3.11 GB, free: 165.4 MB / 1.026 GB make -j1 -f Buildings_8_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.makefile (rm -f Buildings_8_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.pipe ; mkfifo Buildings_8_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.pipe >> ../files/Buildings_8_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.sim & ./Buildings_8_Buildings.Fluid.Movers.Validation.PumpCurveConstruction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Movers.Validation.PumpCurveConstruction.pipe 2>&1)