Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.Movers.Validation.PumpCurveDerivatives.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.Validation.PumpCurveDerivatives,fileNamePrefix="Buildings_6_0_0_Buildings_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 loadModel(Buildings): time 3.953/3.953, allocations: 433 MB / 440.3 MB, free: 4.812 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5197/4.473, allocations: 104.3 MB / 0.5319 GB, free: 12.96 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2392/4.712, allocations: 98.72 MB / 0.6283 GB, free: 9.82 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9743/5.686, allocations: 390.5 MB / 1.01 GB, free: 12.79 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003246/5.687, allocations: 95.64 kB / 1.01 GB, free: 12.74 MB / 0.7605 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 4.743/10.43, allocations: 0.9315 GB / 1.941 GB, free: 78.11 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.201e-05/10.43, allocations: 8.969 kB / 1.941 GB, free: 78.11 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01225/10.44, allocations: 1.107 MB / 1.942 GB, free: 77.66 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07927/10.52, allocations: 19.83 MB / 1.962 GB, free: 64.72 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001907/10.52, allocations: 52 kB / 1.962 GB, free: 64.67 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009662/10.52, allocations: 108 kB / 1.962 GB, free: 64.57 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005947/10.53, allocations: 1.638 MB / 1.963 GB, free: 62.93 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006813/10.54, allocations: 1.852 MB / 1.965 GB, free: 60.98 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.752e-05/10.54, allocations: 4 kB / 1.965 GB, free: 60.97 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000364/10.54, allocations: 0 / 1.965 GB, free: 60.97 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.17e-05/10.54, allocations: 40 kB / 1.965 GB, free: 60.93 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.033/10.57, allocations: 10.12 MB / 1.975 GB, free: 50.48 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003998/10.57, allocations: 1.616 MB / 1.977 GB, free: 48.86 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001769/10.58, allocations: 0.7215 MB / 1.977 GB, free: 48.14 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01075/10.59, allocations: 3.957 MB / 1.981 GB, free: 43.94 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.241e-05/10.59, allocations: 47.2 kB / 1.981 GB, free: 43.88 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=82): time 3.777e-06/10.59, allocations: 0 / 1.981 GB, free: 43.88 MB / 0.8386 GB Notification: Performance of matching and sorting (n=82): time 0.01075/10.6, allocations: 2.21 MB / 1.983 GB, free: 41.65 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.569e-05/10.6, allocations: 60.06 kB / 1.984 GB, free: 41.58 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01117/10.61, allocations: 3.526 MB / 1.987 GB, free: 38.08 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0005612/10.61, allocations: 25.7 kB / 1.987 GB, free: 38.05 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.00129/10.61, allocations: 0.8926 MB / 1.988 GB, free: 37.14 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.000687/10.61, allocations: 279.9 kB / 1.988 GB, free: 36.86 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001737/10.61, allocations: 0 / 1.988 GB, free: 36.86 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001543/10.61, allocations: 381.8 kB / 1.988 GB, free: 36.48 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001839/10.61, allocations: 0.7654 MB / 1.989 GB, free: 35.71 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002396/10.62, allocations: 1.529 MB / 1.991 GB, free: 33.82 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004815/10.62, allocations: 1.12 MB / 1.992 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.222e-05/10.62, allocations: 8 kB / 1.992 GB, free: 32.69 MB / 0.8386 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.0109/10.63, allocations: 2.829 MB / 1.995 GB, free: 29.85 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.002175/10.63, allocations: 9.348 MB / 2.004 GB, free: 19.8 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.072e-05/10.63, allocations: 20 kB / 2.004 GB, free: 19.78 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002078/10.64, allocations: 462.1 kB / 2.004 GB, free: 19.33 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003091/10.64, allocations: 375.2 kB / 2.005 GB, free: 18.96 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00354/10.64, allocations: 2.445 MB / 2.007 GB, free: 16.44 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005039/10.65, allocations: 261.8 kB / 2.007 GB, free: 16.18 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007971/10.65, allocations: 161 kB / 2.007 GB, free: 16.03 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/10.65, allocations: 4 kB / 2.007 GB, free: 16.02 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009318/10.66, allocations: 2.22 MB / 2.009 GB, free: 13.8 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-05/10.66, allocations: 20 kB / 2.01 GB, free: 13.78 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002565/10.66, allocations: 0.5091 MB / 2.01 GB, free: 13.27 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002734/10.66, allocations: 347.4 kB / 2.01 GB, free: 12.93 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01273/10.68, allocations: 5.247 MB / 2.015 GB, free: 7.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004775/10.68, allocations: 210.8 kB / 2.016 GB, free: 7.293 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007003/10.68, allocations: 136 kB / 2.016 GB, free: 7.16 MB / 0.8386 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.0008431/10.68, allocations: 180.8 kB / 2.016 GB, free: 6.98 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001152/10.68, allocations: 311.9 kB / 2.016 GB, free: 6.672 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00962/10.69, allocations: 2.2 MB / 2.018 GB, free: 4.488 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-05/10.69, allocations: 19.89 kB / 2.018 GB, free: 4.469 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/10.69, allocations: 3.312 kB / 2.018 GB, free: 4.469 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-05/10.69, allocations: 3.984 kB / 2.018 GB, free: 4.465 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.016/10.71, allocations: 4.407 MB / 2.023 GB, free: 32 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.356e-05/10.71, allocations: 7.906 kB / 2.023 GB, free: 24 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002178/10.71, allocations: 183.8 kB / 2.023 GB, free: 15.84 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001578/10.71, allocations: 310 kB / 2.023 GB, free: 15.54 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002652/10.71, allocations: 23.97 kB / 2.023 GB, free: 15.51 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003451/10.72, allocations: 2.121 MB / 2.025 GB, free: 13.32 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.362e-06/10.72, allocations: 0 / 2.025 GB, free: 13.32 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01019/10.73, allocations: 2.678 MB / 2.028 GB, free: 10.6 MB / 0.8542 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01316/10.74, allocations: 3.97 MB / 2.032 GB, free: 6.594 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003245/10.74, allocations: 0.6996 MB / 2.032 GB, free: 5.871 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001493/10.75, allocations: 0 / 2.032 GB, free: 5.871 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0043/10.75, allocations: 135.7 kB / 2.033 GB, free: 5.738 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003767/10.75, allocations: 64.89 kB / 2.033 GB, free: 5.676 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000282/10.75, allocations: 63.95 kB / 2.033 GB, free: 5.613 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.008223/10.76, allocations: 2.634 MB / 2.035 GB, free: 2.996 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.01214/10.77, allocations: 2.008 MB / 2.037 GB, free: 0.9844 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (83): * Single equations (assignments): 72 * 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.004695/10.78, allocations: 1.667 MB / 2.039 GB, free: 15.43 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.009188/10.78, allocations: 2.998 MB / 2.042 GB, free: 12.41 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 8.806e-06/10.78, allocations: 0 / 2.042 GB, free: 12.41 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.002265/10.79, allocations: 0.6415 MB / 2.042 GB, free: 11.77 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01344/10.8, allocations: 1.443 MB / 2.044 GB, free: 10.38 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02583/10.83, allocations: 4.382 MB / 2.048 GB, free: 5.945 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006132/10.83, allocations: 2.481 MB / 2.051 GB, free: 3.449 MB / 0.8698 GB Notification: Performance of SimCode: time 3.947e-06/10.83, allocations: 0 / 2.051 GB, free: 3.449 MB / 0.8698 GB