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/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.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.911/3.911, allocations: 433.2 MB / 440.7 MB, free: 4.586 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.308e-05/2.319e-05, allocations: 2.312 kB / 0.5325 GB, free: 12.73 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2128/0.2128, allocations: 98.73 MB / 0.6289 GB, free: 9.117 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.639/6.852, allocations: 2.185 GB / 2.813 GB, free: 157.2 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002881/6.852, allocations: 78.83 kB / 2.814 GB, free: 157.2 MB / 0.823 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/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/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 0.5236/7.376, allocations: 162.4 MB / 2.972 GB, free: 3.707 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.563e-06/7.376, allocations: 0 / 2.972 GB, free: 3.707 MB / 0.823 GB Notification: Performance of Transformations before backend: time 4.805e-05/7.376, allocations: 12 kB / 2.972 GB, free: 3.695 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.001447/7.378, allocations: 0.7553 MB / 2.973 GB, free: 2.883 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.867e-05/7.378, allocations: 8.031 kB / 2.973 GB, free: 2.875 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001391/7.379, allocations: 151.2 kB / 2.973 GB, free: 2.727 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001092/7.38, allocations: 459.9 kB / 2.973 GB, free: 2.238 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.002e-05/7.38, allocations: 12 kB / 2.973 GB, free: 2.227 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.199e-05/7.38, allocations: 23.91 kB / 2.974 GB, free: 2.203 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005243/7.381, allocations: 193.1 kB / 2.974 GB, free: 2.016 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000587/7.381, allocations: 266.6 kB / 2.974 GB, free: 1.742 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.176e-05/7.382, allocations: 0 / 2.974 GB, free: 1.742 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.366e-05/7.382, allocations: 4 kB / 2.974 GB, free: 1.738 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.175e-05/7.382, allocations: 12.56 kB / 2.974 GB, free: 1.727 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002315/7.384, allocations: 1.384 MB / 2.975 GB, free: 220 kB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004066/7.384, allocations: 204.5 kB / 2.976 GB, free: 8 kB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.5698/7.954, allocations: 92.94 kB / 2.976 GB, free: 252.6 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 6.143e-05/7.954, allocations: 3.688 kB / 2.976 GB, free: 252.6 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004009/7.955, allocations: 152.1 kB / 2.976 GB, free: 252.6 MB / 0.823 GB Notification: Performance of pre-optimization done (n=26): time 3.566e-06/7.955, allocations: 0 / 2.976 GB, free: 252.6 MB / 0.823 GB Notification: Performance of matching and sorting (n=30): time 0.004028/7.959, allocations: 0.9762 MB / 2.977 GB, free: 252.3 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.181e-05/7.959, allocations: 59.36 kB / 2.977 GB, free: 252.2 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000539/7.959, allocations: 318.5 kB / 2.977 GB, free: 252.1 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 4.634e-05/7.959, allocations: 28.52 kB / 2.977 GB, free: 252.1 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001966/7.96, allocations: 220.5 kB / 2.977 GB, free: 252 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001172/7.96, allocations: 98.84 kB / 2.977 GB, free: 251.9 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.668e-05/7.96, allocations: 1.25 kB / 2.977 GB, free: 251.9 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001138/7.96, allocations: 352.5 kB / 2.978 GB, free: 251.6 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002756/7.96, allocations: 111.2 kB / 2.978 GB, free: 251.6 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003191/7.961, allocations: 163.4 kB / 2.978 GB, free: 251.6 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003857/7.961, allocations: 136 kB / 2.978 GB, free: 251.6 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.529e-06/7.961, allocations: 1.094 kB / 2.978 GB, free: 251.6 MB / 0.823 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001697/7.963, allocations: 436.4 kB / 2.979 GB, free: 251.5 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 6.959e-05/7.963, allocations: 34.83 kB / 2.979 GB, free: 251.5 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.289e-05/7.963, allocations: 1.312 kB / 2.979 GB, free: 251.5 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006003/7.963, allocations: 83.19 kB / 2.979 GB, free: 251.5 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005208/7.964, allocations: 59.03 kB / 2.979 GB, free: 251.5 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002218/7.966, allocations: 1.648 MB / 2.98 GB, free: 250.2 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006718/7.967, allocations: 18.53 kB / 2.98 GB, free: 250.2 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.568e-05/7.967, allocations: 13.16 kB / 2.98 GB, free: 250.2 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.0001642/7.967, allocations: 117.3 kB / 2.98 GB, free: 250.1 MB / 0.823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001247/7.968, allocations: 359 kB / 2.981 GB, free: 250 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.078e-05/7.969, allocations: 45.98 kB / 2.981 GB, free: 250 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001282/7.97, allocations: 378.1 kB / 2.981 GB, free: 249.9 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.464e-06/7.97, allocations: 3.812 kB / 2.981 GB, free: 249.9 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.052e-06/7.97, allocations: 5.234 kB / 2.981 GB, free: 249.9 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.666e-06/7.97, allocations: 1.922 kB / 2.981 GB, free: 249.9 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002369/7.972, allocations: 0.9406 MB / 2.982 GB, free: 249.6 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.192e-06/7.972, allocations: 3.562 kB / 2.982 GB, free: 249.6 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005627/7.973, allocations: 58.09 kB / 2.982 GB, free: 249.6 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007814/7.974, allocations: 105 kB / 2.982 GB, free: 249.6 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.123e-05/7.974, allocations: 10.11 kB / 2.982 GB, free: 249.6 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002162/7.976, allocations: 1.656 MB / 2.984 GB, free: 248.3 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/7.976, allocations: 6.484 kB / 2.984 GB, free: 248.3 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001462/7.977, allocations: 0.5662 MB / 2.984 GB, free: 248.2 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002901/7.978, allocations: 154.5 kB / 2.985 GB, free: 248 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.293e-05/7.978, allocations: 6.531 kB / 2.985 GB, free: 248 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006192/7.978, allocations: 18.38 kB / 2.985 GB, free: 248 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.356e-05/7.979, allocations: 21.58 kB / 2.985 GB, free: 248 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.673e-05/7.979, allocations: 14 kB / 2.985 GB, free: 248 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0004252/7.979, allocations: 254.7 kB / 2.985 GB, free: 248 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.694e-06/7.979, allocations: 0 / 2.985 GB, free: 248 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.001065/7.98, allocations: 172.4 kB / 2.985 GB, free: 248 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.003824/7.984, allocations: 2.111 MB / 2.987 GB, free: 247 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.001058/7.985, allocations: 474.8 kB / 2.988 GB, free: 246.9 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/7.985, allocations: 4.656 kB / 2.988 GB, free: 246.9 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0007129/7.986, allocations: 259.2 kB / 2.988 GB, free: 246.8 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001782/7.988, allocations: 199.6 kB / 2.988 GB, free: 246.8 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002298/7.99, allocations: 0.8085 MB / 2.989 GB, free: 246.5 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005019/7.99, allocations: 0.8454 MB / 2.99 GB, free: 245.8 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0006001/7.991, allocations: 77.95 kB / 2.99 GB, free: 245.8 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003024/7.991, allocations: 139.5 kB / 2.99 GB, free: 245.8 MB / 0.823 GB Notification: Performance of SimCode: time 1.653e-06/7.991, allocations: 0 / 2.99 GB, free: 245.8 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0665/8.058, allocations: 16.45 MB / 3.006 GB, free: 245.3 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002624/8.058, allocations: 159.6 kB / 3.006 GB, free: 245.2 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.068/11.13, allocations: 0 / 3.006 GB, free: 245.2 MB / 0.823 GB