Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Examples.Tutorial.Boiler.System1.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.Tutorial.Boiler.System1,fileNamePrefix="Buildings_6_0_0_Buildings_Examples_Tutorial_Boiler_System1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.939/3.939, allocations: 432.6 MB / 445.2 MB, free: 15.82 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.808e-05/3.828e-05, allocations: 4.031 kB / 0.5383 GB, free: 10.3 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2101/0.2102, allocations: 98.73 MB / 0.6347 GB, free: 1.918 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.976/7.186, allocations: 2.185 GB / 2.82 GB, free: 116.9 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003267/7.187, allocations: 82.39 kB / 2.82 GB, free: 116.8 MB / 0.823 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2331:7-2332:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$timTab.getTableValueNoDer. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2358:7-2359:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$timTab.getTableTimeTmin. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2369:7-2370:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$timTab.getTableTimeTmax. Notification: Performance of FrontEnd - DAE generated: time 1.11/8.296, allocations: 164.3 MB / 2.981 GB, free: 250.2 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.874e-06/8.296, allocations: 0 / 2.981 GB, free: 250.2 MB / 0.823 GB Notification: Performance of Transformations before backend: time 5.054e-05/8.296, allocations: 11.09 kB / 2.981 GB, free: 250.2 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: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.001491/8.298, allocations: 0.764 MB / 2.981 GB, free: 249.6 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.903e-05/8.298, allocations: 7.844 kB / 2.981 GB, free: 249.6 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.16e-05/8.298, allocations: 68.81 kB / 2.981 GB, free: 249.6 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00147/8.3, allocations: 152.2 kB / 2.981 GB, free: 249.6 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001211/8.301, allocations: 461.7 kB / 2.982 GB, free: 249.3 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.629e-05/8.301, allocations: 23.28 kB / 2.982 GB, free: 249.3 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.586e-05/8.301, allocations: 35.38 kB / 2.982 GB, free: 249.3 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007436/8.302, allocations: 310.5 kB / 2.982 GB, free: 249.3 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.322e-05/8.302, allocations: 6.016 kB / 2.982 GB, free: 249.3 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.861e-05/8.302, allocations: 13.19 kB / 2.982 GB, free: 249.3 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.01e-05/8.302, allocations: 14.52 kB / 2.982 GB, free: 249.3 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005517/8.302, allocations: 210.8 kB / 2.983 GB, free: 249.3 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002602/8.305, allocations: 1.432 MB / 2.984 GB, free: 248.5 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004853/8.306, allocations: 215 kB / 2.984 GB, free: 248.4 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002314/8.306, allocations: 103.2 kB / 2.984 GB, free: 248.4 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.177e-05/8.306, allocations: 7.688 kB / 2.984 GB, free: 248.4 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003561/8.306, allocations: 163.4 kB / 2.984 GB, free: 248.4 MB / 0.823 GB Notification: Performance of pre-optimization done (n=26): time 3.066e-06/8.306, allocations: 0 / 2.984 GB, free: 248.4 MB / 0.823 GB Notification: Performance of matching and sorting (n=30): time 0.00417/8.31, allocations: 1.031 MB / 2.985 GB, free: 248.1 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.901e-05/8.311, allocations: 55.09 kB / 2.985 GB, free: 248 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006782/8.311, allocations: 352.2 kB / 2.986 GB, free: 247.9 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001055/8.311, allocations: 38.39 kB / 2.986 GB, free: 247.8 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000188/8.312, allocations: 216.9 kB / 2.986 GB, free: 247.7 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001333/8.312, allocations: 106.1 kB / 2.986 GB, free: 247.7 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.797e-05/8.312, allocations: 3.625 kB / 2.986 GB, free: 247.7 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 9.595e-05/8.312, allocations: 352.3 kB / 2.986 GB, free: 247.4 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003167/8.312, allocations: 117 kB / 2.987 GB, free: 247.4 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003328/8.312, allocations: 180.4 kB / 2.987 GB, free: 247.3 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003711/8.313, allocations: 179.2 kB / 2.987 GB, free: 247.3 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.626e-06/8.313, allocations: 0 / 2.987 GB, free: 247.3 MB / 0.823 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001491/8.314, allocations: 491.6 kB / 2.987 GB, free: 247.2 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 4.915e-05/8.314, allocations: 42.36 kB / 2.987 GB, free: 247.1 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/8.314, allocations: 3.391 kB / 2.987 GB, free: 247.1 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005664/8.315, allocations: 82.72 kB / 2.987 GB, free: 247.1 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004793/8.316, allocations: 58.12 kB / 2.988 GB, free: 247.1 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002096/8.318, allocations: 1.733 MB / 2.989 GB, free: 245.8 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007246/8.318, allocations: 21.5 kB / 2.989 GB, free: 245.8 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.718e-05/8.319, allocations: 20.19 kB / 2.989 GB, free: 245.8 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.timTab.nextTimeEvent,timTab.nextTimeEvent,$PRE.timTab.nextTimeEventScaled,timTab.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001645/8.319, allocations: 127.7 kB / 2.989 GB, free: 245.7 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001264/8.319, allocations: 43.84 kB / 2.989 GB, free: 245.7 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001359/8.32, allocations: 404.5 kB / 2.99 GB, free: 245.6 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.697e-06/8.32, allocations: 6.094 kB / 2.99 GB, free: 245.6 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/8.32, allocations: 3.562 kB / 2.99 GB, free: 245.6 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.295e-06/8.32, allocations: 3.234 kB / 2.99 GB, free: 245.6 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002634/8.323, allocations: 1.01 MB / 2.991 GB, free: 245.3 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.077e-06/8.323, allocations: 2.953 kB / 2.991 GB, free: 245.3 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005715/8.324, allocations: 57.52 kB / 2.991 GB, free: 245.3 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007919/8.324, allocations: 107.8 kB / 2.991 GB, free: 245.3 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.722e-05/8.324, allocations: 14.56 kB / 2.991 GB, free: 245.3 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002273/8.327, allocations: 1.721 MB / 2.993 GB, free: 243.9 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/8.327, allocations: 2.812 kB / 2.993 GB, free: 243.9 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001628/8.328, allocations: 0.6018 MB / 2.993 GB, free: 243.7 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003776/8.329, allocations: 156.1 kB / 2.993 GB, free: 243.6 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.72e-05/8.329, allocations: 10.72 kB / 2.993 GB, free: 243.6 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006522/8.33, allocations: 20.97 kB / 2.993 GB, free: 243.6 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001158/8.33, allocations: 27.86 kB / 2.993 GB, free: 243.6 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.07e-05/8.33, allocations: 10.83 kB / 2.993 GB, free: 243.6 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0004649/8.33, allocations: 278.6 kB / 2.994 GB, free: 243.5 MB / 0.823 GB Notification: Performance of sort global known variables: time 4.71e-07/8.33, allocations: 0 / 2.994 GB, free: 243.5 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.001173/8.331, allocations: 181.2 kB / 2.994 GB, free: 243.5 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (vol.hOut_internal,vol.dynBal.medium.Xi[1],vol.dynBal.m) * Number of discrete variables: 3 ($whenCondition1,timTab.nextTimeEvent,timTab.nextTimeEventScaled) * Number of discrete states: 2 (timTab.nextTimeEvent,timTab.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00394/8.335, allocations: 2.072 MB / 2.996 GB, free: 242.6 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.001186/8.337, allocations: 0.4989 MB / 2.996 GB, free: 242.4 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 5.069e-06/8.337, allocations: 3.25 kB / 2.996 GB, free: 242.4 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0007476/8.338, allocations: 267.2 kB / 2.997 GB, free: 242.3 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001835/8.339, allocations: 202.9 kB / 2.997 GB, free: 242.3 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002428/8.342, allocations: 0.8342 MB / 2.998 GB, free: 242 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003644/8.342, allocations: 0.8589 MB / 2.999 GB, free: 241.3 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0006356/8.343, allocations: 78.08 kB / 2.999 GB, free: 241.3 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002923/8.343, allocations: 143.2 kB / 2.999 GB, free: 241.3 MB / 0.823 GB Notification: Performance of SimCode: time 1.282e-06/8.343, allocations: 0 / 2.999 GB, free: 241.3 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08166/8.425, allocations: 25.28 MB / 3.023 GB, free: 237.8 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002229/8.425, allocations: 212.7 kB / 3.024 GB, free: 237.6 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.461/11.89, allocations: 0 / 3.024 GB, free: 237.6 MB / 0.823 GB