Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Movers_Examples_SpeedControlled_y_pumpCurves",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 loadModel(Buildings): time 3.846/3.846, allocations: 433 MB / 440.3 MB, free: 4.828 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.578/4.424, allocations: 104.3 MB / 0.5319 GB, free: 13.01 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2539/4.678, allocations: 98.72 MB / 0.6283 GB, free: 9.828 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.022/5.7, allocations: 426 MB / 1.044 GB, free: 11.3 MB / 0.7917 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002906/5.701, allocations: 90.02 kB / 1.044 GB, free: 11.25 MB / 0.7917 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 7.553/13.25, allocations: 1.393 GB / 2.437 GB, free: 72.63 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.293e-05/13.25, allocations: 9.156 kB / 2.437 GB, free: 72.63 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01613/13.27, allocations: 1.4 MB / 2.438 GB, free: 72.39 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1092/13.38, allocations: 27.71 MB / 2.465 GB, free: 70.69 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000218/13.38, allocations: 66 kB / 2.466 GB, free: 70.69 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001255/13.38, allocations: 143 kB / 2.466 GB, free: 70.69 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008219/13.39, allocations: 1.915 MB / 2.468 GB, free: 70.67 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008786/13.4, allocations: 2.276 MB / 2.47 GB, free: 70.31 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.451e-05/13.4, allocations: 3.781 kB / 2.47 GB, free: 70.31 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004196/13.4, allocations: 0 / 2.47 GB, free: 70.31 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.168e-05/13.4, allocations: 58.12 kB / 2.47 GB, free: 70.31 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03039/13.43, allocations: 12.01 MB / 2.482 GB, free: 64.33 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005419/13.43, allocations: 1.966 MB / 2.483 GB, free: 64.3 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002274/13.44, allocations: 0.8188 MB / 2.484 GB, free: 64.3 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0123/13.45, allocations: 3.947 MB / 2.488 GB, free: 62.41 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.709e-05/13.45, allocations: 48.5 kB / 2.488 GB, free: 62.37 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=117): time 6.011e-06/13.45, allocations: 0 / 2.488 GB, free: 62.37 MB / 0.8698 GB Notification: Performance of matching and sorting (n=117): time 0.01396/13.46, allocations: 2.782 MB / 2.491 GB, free: 62.06 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.355e-05/13.46, allocations: 63.69 kB / 2.491 GB, free: 62 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008315/13.47, allocations: 2.602 MB / 2.494 GB, free: 61.7 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.00082/13.47, allocations: 28.83 kB / 2.494 GB, free: 61.66 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001323/13.47, allocations: 1.04 MB / 2.495 GB, free: 61.17 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009558/13.48, allocations: 381.9 kB / 2.495 GB, free: 60.91 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002273/13.48, allocations: 0 / 2.495 GB, free: 60.91 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001723/13.48, allocations: 386.4 kB / 2.495 GB, free: 60.61 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002414/13.48, allocations: 0.837 MB / 2.496 GB, free: 60.61 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003351/13.48, allocations: 1.626 MB / 2.498 GB, free: 59.66 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006466/13.49, allocations: 1.277 MB / 2.499 GB, free: 59.63 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.302e-05/13.49, allocations: 2.906 kB / 2.499 GB, free: 59.63 MB / 0.8698 GB Notification: Performance of matching and sorting (n=247) (initialization): time 0.01513/13.5, allocations: 3.41 MB / 2.502 GB, free: 59.32 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001967/13.51, allocations: 8.066 MB / 2.51 GB, free: 50.97 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.852e-05/13.51, allocations: 18.12 kB / 2.51 GB, free: 50.97 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003646/13.51, allocations: 0.873 MB / 2.511 GB, free: 50.91 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003604/13.51, allocations: 397.3 kB / 2.511 GB, free: 50.91 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007762/13.52, allocations: 5.951 MB / 2.517 GB, free: 46.75 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005775/13.53, allocations: 308.4 kB / 2.518 GB, free: 46.64 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000816/13.53, allocations: 179 kB / 2.518 GB, free: 46.64 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/13.53, allocations: 2.938 kB / 2.518 GB, free: 46.64 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01261/13.54, allocations: 2.82 MB / 2.52 GB, free: 46.53 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.492e-05/13.54, allocations: 18.25 kB / 2.52 GB, free: 46.53 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004828/13.54, allocations: 1.028 MB / 2.521 GB, free: 46.46 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003136/13.55, allocations: 372.7 kB / 2.522 GB, free: 46.46 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03172/13.58, allocations: 13.9 MB / 2.535 GB, free: 38.77 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00554/13.59, allocations: 253.2 kB / 2.536 GB, free: 38.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008507/13.59, allocations: 155.6 kB / 2.536 GB, free: 38.7 MB / 0.8698 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pum3.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: pum2.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: pum1.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: 81 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (191): * Single equations (assignments): 179 * 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.0009899/13.59, allocations: 171.6 kB / 2.536 GB, free: 38.58 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001205/13.59, allocations: 343.6 kB / 2.536 GB, free: 38.39 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01183/13.6, allocations: 2.881 MB / 2.539 GB, free: 38.19 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.962e-05/13.6, allocations: 21.89 kB / 2.539 GB, free: 38.19 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/13.6, allocations: 0 / 2.539 GB, free: 38.19 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.505e-05/13.6, allocations: 11.22 kB / 2.539 GB, free: 38.19 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01773/13.62, allocations: 4.673 MB / 2.544 GB, free: 37.72 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-05/13.62, allocations: 4.5 kB / 2.544 GB, free: 37.72 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002308/13.62, allocations: 214.7 kB / 2.544 GB, free: 37.72 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002242/13.62, allocations: 0.5544 MB / 2.544 GB, free: 37.66 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004215/13.62, allocations: 39.28 kB / 2.544 GB, free: 37.66 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005431/13.63, allocations: 5.191 MB / 2.55 GB, free: 33.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.726e-06/13.63, allocations: 3.516 kB / 2.55 GB, free: 33.5 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0111/13.64, allocations: 2.597 MB / 2.552 GB, free: 32.95 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01163/13.65, allocations: 3.173 MB / 2.555 GB, free: 32.03 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002745/13.65, allocations: 0.599 MB / 2.556 GB, free: 31.73 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001338/13.66, allocations: 0 / 2.556 GB, free: 31.73 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005157/13.66, allocations: 192.1 kB / 2.556 GB, free: 31.72 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000455/13.66, allocations: 82.8 kB / 2.556 GB, free: 31.71 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000377/13.66, allocations: 80.75 kB / 2.556 GB, free: 31.71 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.005845/13.67, allocations: 1.941 MB / 2.558 GB, free: 31.54 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.01534/13.68, allocations: 2.462 MB / 2.56 GB, free: 31.24 MB / 0.8698 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 (107): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * 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.012/13.7, allocations: 2.27 MB / 2.563 GB, free: 30.59 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.01208/13.71, allocations: 3.902 MB / 2.566 GB, free: 30.12 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 9.497e-06/13.71, allocations: 0 / 2.566 GB, free: 30.12 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0029/13.71, allocations: 0.849 MB / 2.567 GB, free: 30.11 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01335/13.72, allocations: 1.524 MB / 2.569 GB, free: 30.07 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01742/13.74, allocations: 4.703 MB / 2.573 GB, free: 28.91 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004657/13.75, allocations: 2.608 MB / 2.576 GB, free: 28.14 MB / 0.8698 GB Notification: Performance of SimCode: time 1.483e-06/13.75, allocations: 0 / 2.576 GB, free: 28.14 MB / 0.8698 GB