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.SpeedControlled_y.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.SpeedControlled_y,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Movers_Validation_SpeedControlled_y",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.907/3.907, allocations: 433 MB / 440.3 MB, free: 4.816 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5624/4.47, allocations: 104.3 MB / 0.5319 GB, free: 13.03 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2416/4.711, allocations: 98.73 MB / 0.6283 GB, free: 9.801 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.642/10.35, allocations: 2.226 GB / 2.854 GB, free: 120 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002895/10.35, allocations: 95.16 kB / 2.854 GB, free: 120 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 351 * Number of variables: 351 Notification: Performance of Generate backend data structure: time 8.069/18.42, allocations: 1.49 GB / 4.344 GB, free: 83.8 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.677e-05/18.42, allocations: 9.344 kB / 4.344 GB, free: 83.8 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01182/18.44, allocations: 0.9793 MB / 4.345 GB, free: 83.66 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01393/18.45, allocations: 3.121 MB / 4.348 GB, free: 83.23 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001133/18.45, allocations: 43.09 kB / 4.348 GB, free: 83.23 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005726/18.45, allocations: 93.53 kB / 4.348 GB, free: 83.23 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004224/18.45, allocations: 1.341 MB / 4.35 GB, free: 83.22 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004256/18.46, allocations: 1.504 MB / 4.351 GB, free: 83.04 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.177e-05/18.46, allocations: 0 / 4.351 GB, free: 83.04 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002399/18.46, allocations: 1.625 kB / 4.351 GB, free: 83.04 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.358e-05/18.46, allocations: 60.47 kB / 4.351 GB, free: 83.03 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02369/18.48, allocations: 7.814 MB / 4.359 GB, free: 79.27 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002665/18.49, allocations: 0.9946 MB / 4.36 GB, free: 79.24 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001603/18.49, allocations: 0.6102 MB / 4.36 GB, free: 79.23 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004287/18.49, allocations: 285 kB / 4.361 GB, free: 78.95 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.164e-05/18.49, allocations: 42.53 kB / 4.361 GB, free: 78.91 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=85): time 3.527e-06/18.49, allocations: 0 / 4.361 GB, free: 78.91 MB / 0.8855 GB Notification: Performance of matching and sorting (n=85): time 0.007184/18.49, allocations: 1.389 MB / 4.362 GB, free: 78.73 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.512e-05/18.49, allocations: 62.81 kB / 4.362 GB, free: 78.66 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003343/18.5, allocations: 1.365 MB / 4.363 GB, free: 78.46 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0004157/18.5, allocations: 29.27 kB / 4.363 GB, free: 78.43 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005573/18.5, allocations: 0.6357 MB / 4.364 GB, free: 78.17 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005465/18.5, allocations: 291.1 kB / 4.364 GB, free: 78.02 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001039/18.5, allocations: 0 / 4.364 GB, free: 78.02 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001189/18.5, allocations: 349.9 kB / 4.365 GB, free: 77.72 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00112/18.5, allocations: 421.4 kB / 4.365 GB, free: 77.72 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001492/18.5, allocations: 0.8397 MB / 4.366 GB, free: 77.2 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002421/18.51, allocations: 0.5906 MB / 4.367 GB, free: 77.19 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.977e-05/18.51, allocations: 0 / 4.367 GB, free: 77.19 MB / 0.8855 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.00703/18.51, allocations: 1.644 MB / 4.368 GB, free: 77.01 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009531/18.51, allocations: 3.858 MB / 4.372 GB, free: 73.02 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.35e-05/18.51, allocations: 10.41 kB / 4.372 GB, free: 73.02 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001902/18.52, allocations: 315.2 kB / 4.372 GB, free: 73 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002429/18.52, allocations: 252.1 kB / 4.372 GB, free: 73 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00592/18.52, allocations: 3.623 MB / 4.376 GB, free: 70.17 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003465/18.53, allocations: 165.7 kB / 4.376 GB, free: 70.14 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004273/18.53, allocations: 85.98 kB / 4.376 GB, free: 70.14 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/18.53, allocations: 3.781 kB / 4.376 GB, free: 70.14 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006229/18.53, allocations: 1.326 MB / 4.378 GB, free: 70.09 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.603e-05/18.53, allocations: 12.39 kB / 4.378 GB, free: 70.09 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002129/18.54, allocations: 318.9 kB / 4.378 GB, free: 70.07 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001938/18.54, allocations: 230.9 kB / 4.378 GB, free: 70.07 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01043/18.55, allocations: 4.913 MB / 4.383 GB, free: 66.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003239/18.55, allocations: 147.6 kB / 4.383 GB, free: 66.67 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004051/18.55, allocations: 68.41 kB / 4.383 GB, free: 66.67 MB / 0.8855 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: floMacSta.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: 42 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (118): * Single equations (assignments): 112 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 4,1 8,1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0005757/18.55, allocations: 148 kB / 4.383 GB, free: 66.55 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007007/18.55, allocations: 194.2 kB / 4.383 GB, free: 66.45 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006893/18.56, allocations: 1.399 MB / 4.385 GB, free: 66.32 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.245e-05/18.56, allocations: 10.25 kB / 4.385 GB, free: 66.32 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/18.56, allocations: 0 / 4.385 GB, free: 66.32 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004831/18.57, allocations: 1.17 MB / 4.386 GB, free: 66.11 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01065/18.58, allocations: 2.897 MB / 4.389 GB, free: 65.64 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.291e-05/18.58, allocations: 3.781 kB / 4.389 GB, free: 65.64 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002008/18.58, allocations: 191.2 kB / 4.389 GB, free: 65.63 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001067/18.58, allocations: 225.8 kB / 4.389 GB, free: 65.61 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001829/18.58, allocations: 26.03 kB / 4.389 GB, free: 65.61 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005768/18.59, allocations: 3.458 MB / 4.393 GB, free: 62.79 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.125e-05/18.59, allocations: 2.906 kB / 4.393 GB, free: 62.79 MB / 0.8855 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.009157/18.59, allocations: 1.983 MB / 4.394 GB, free: 62.35 MB / 0.8855 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01329/18.61, allocations: 3.125 MB / 4.398 GB, free: 61.53 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002323/18.61, allocations: 366.3 kB / 4.398 GB, free: 61.32 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001168/18.61, allocations: 11.48 kB / 4.398 GB, free: 61.32 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004045/18.62, allocations: 103 kB / 4.398 GB, free: 61.31 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000508/18.62, allocations: 53.05 kB / 4.398 GB, free: 61.31 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002875/18.62, allocations: 40.12 kB / 4.398 GB, free: 61.31 MB / 0.8855 GB Notification: Performance of sort global known variables: time 0.002785/18.62, allocations: 1.043 MB / 4.399 GB, free: 61.16 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.02192/18.64, allocations: 2.438 MB / 4.401 GB, free: 60.96 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (floMacDyn.vol.dynBal.U,floMacDyn.vol.dynBal.m,floMacDyn.vol.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (73): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 6,1 4,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.008996/18.65, allocations: 4.672 MB / 4.406 GB, free: 59.17 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.006817/18.66, allocations: 2.071 MB / 4.408 GB, free: 58.84 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.001e-05/18.66, allocations: 7.562 kB / 4.408 GB, free: 58.84 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001977/18.66, allocations: 0.5827 MB / 4.409 GB, free: 58.74 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009394/18.67, allocations: 0.8826 MB / 4.409 GB, free: 58.7 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01193/18.68, allocations: 2.901 MB / 4.412 GB, free: 57.95 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005736/18.69, allocations: 1.827 MB / 4.414 GB, free: 57.22 MB / 0.8855 GB Notification: Performance of SimCode: time 2.094e-06/18.69, allocations: 0 / 4.414 GB, free: 57.22 MB / 0.8855 GB