Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.1_cpp_Modelica.Media.Examples.SimpleLiquidWater.conf.json Using package ModelicaServices with version 1.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 1.0/package.mo) Using package Modelica with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.SimpleLiquidWater,fileNamePrefix="Modelica_3_1_cpp_Modelica_Media_Examples_SimpleLiquidWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.074/1.074, allocations: 111.2 MB / 124.2 MB, free: 11.17 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.399e-05/2.415e-05, allocations: 0 / 154.4 MB, free: 13.07 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1709/0.1709, allocations: 25.15 MB / 179.5 MB, free: 0.8008 MB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5729/0.7439, allocations: 208.8 MB / 388.3 MB, free: 35.83 MB / 234.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002491/0.7442, allocations: 55.86 kB / 388.3 MB, free: 35.8 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03598/0.7802, allocations: 9.893 MB / 398.2 MB, free: 27.66 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.345e-06/0.7803, allocations: 0 / 398.2 MB, free: 27.66 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.411e-05/0.7803, allocations: 7.938 kB / 398.2 MB, free: 27.65 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001039/0.7814, allocations: 457.9 kB / 398.7 MB, free: 27.16 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.863e-05/0.7814, allocations: 8.031 kB / 398.7 MB, free: 27.16 MB / 234.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.583e-05/0.7815, allocations: 53.56 kB / 398.7 MB, free: 27.11 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.548e-05/0.7816, allocations: 15.81 kB / 398.7 MB, free: 27.09 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002482/0.7818, allocations: 206.5 kB / 398.9 MB, free: 26.86 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.797e-05/0.7819, allocations: 15.09 kB / 399 MB, free: 26.85 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.625e-05/0.7819, allocations: 19.59 kB / 399 MB, free: 26.83 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004239/0.7823, allocations: 195.6 kB / 399.2 MB, free: 26.66 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.913e-05/0.7824, allocations: 0 / 399.2 MB, free: 26.66 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.528e-05/0.7824, allocations: 7.688 kB / 399.2 MB, free: 26.66 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.518e-06/0.7824, allocations: 7.953 kB / 399.2 MB, free: 26.65 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003019/0.7828, allocations: 131.8 kB / 399.3 MB, free: 26.55 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001725/0.7845, allocations: 1.153 MB / 400.5 MB, free: 25.36 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003307/0.7849, allocations: 130.9 kB / 400.6 MB, free: 25.26 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001124/0.785, allocations: 46.27 kB / 400.6 MB, free: 25.22 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006872/0.7857, allocations: 0.6733 MB / 401.3 MB, free: 24.48 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.13e-05/0.7857, allocations: 34.56 kB / 401.3 MB, free: 24.43 MB / 234.7 MB Notification: Performance of pre-optimization done (n=14): time 3.006e-06/0.7858, allocations: 0 / 401.3 MB, free: 24.43 MB / 234.7 MB Notification: Performance of matching and sorting (n=20): time 0.002613/0.7884, allocations: 0.6372 MB / 402 MB, free: 23.85 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.12e-05/0.7884, allocations: 55.41 kB / 402 MB, free: 23.78 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001513/0.7886, allocations: 133.4 kB / 402.2 MB, free: 23.65 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 3.094e-05/0.7886, allocations: 33.14 kB / 402.2 MB, free: 23.61 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.558e-05/0.7887, allocations: 205.8 kB / 402.4 MB, free: 23.42 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.522e-05/0.7888, allocations: 81.88 kB / 402.5 MB, free: 23.35 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.365e-05/0.7888, allocations: 3.875 kB / 402.5 MB, free: 23.35 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 6.833e-05/0.7889, allocations: 326.7 kB / 402.8 MB, free: 23.02 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001799/0.7891, allocations: 72.3 kB / 402.9 MB, free: 22.98 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002346/0.7894, allocations: 171.5 kB / 403 MB, free: 22.79 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002236/0.7896, allocations: 88.16 kB / 403.1 MB, free: 22.73 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.7896, allocations: 0 / 403.1 MB, free: 22.73 MB / 234.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006485/0.7903, allocations: 288.3 kB / 403.4 MB, free: 22.5 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.352e-05/0.7903, allocations: 8 kB / 403.4 MB, free: 22.49 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.348e-06/0.7903, allocations: 0 / 403.4 MB, free: 22.49 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.681e-05/0.7904, allocations: 8 kB / 403.4 MB, free: 22.48 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006429/0.791, allocations: 76.36 kB / 403.5 MB, free: 22.41 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.628e-05/0.7911, allocations: 11.98 kB / 403.5 MB, free: 22.4 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003928/0.7915, allocations: 18.11 kB / 403.5 MB, free: 22.39 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.848e-05/0.7915, allocations: 21.92 kB / 403.6 MB, free: 22.37 MB / 234.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001156/0.7916, allocations: 125.9 kB / 403.7 MB, free: 22.25 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.463e-05/0.7917, allocations: 19.75 kB / 403.7 MB, free: 22.23 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006761/0.7924, allocations: 209.8 kB / 403.9 MB, free: 22.07 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.593e-06/0.7924, allocations: 4 kB / 403.9 MB, free: 22.07 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.7924, allocations: 4 kB / 403.9 MB, free: 22.06 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.7925, allocations: 0 / 403.9 MB, free: 22.06 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001456/0.7939, allocations: 0.5577 MB / 404.5 MB, free: 21.51 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.241e-06/0.794, allocations: 8.016 kB / 404.5 MB, free: 21.5 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004799/0.7944, allocations: 47.91 kB / 404.5 MB, free: 21.46 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.576e-06/0.7945, allocations: 0 / 404.5 MB, free: 21.46 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.071e-05/0.7945, allocations: 10.61 kB / 404.5 MB, free: 21.45 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.47e-06/0.7945, allocations: 4 kB / 404.5 MB, free: 21.45 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.7945, allocations: 0 / 404.5 MB, free: 21.45 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006704/0.7952, allocations: 411.2 kB / 404.9 MB, free: 21.06 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.394e-05/0.7953, allocations: 88.92 kB / 405 MB, free: 20.95 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.056e-05/0.7954, allocations: 7.188 kB / 405 MB, free: 20.95 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003909/0.7958, allocations: 14.8 kB / 405 MB, free: 20.94 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.562e-05/0.7958, allocations: 15.92 kB / 405.1 MB, free: 20.92 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.918e-05/0.7959, allocations: 14.23 kB / 405.1 MB, free: 20.91 MB / 234.7 MB Notification: Performance of sorting global known variables: time 9.254e-05/0.796, allocations: 111 kB / 405.2 MB, free: 20.81 MB / 234.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.796, allocations: 0 / 405.2 MB, free: 20.81 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0005213/0.7965, allocations: 68.69 kB / 405.2 MB, free: 20.75 MB / 234.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001049/0.7976, allocations: 1.271 MB / 406.5 MB, free: 19.5 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0004965/0.7981, allocations: 178.8 kB / 406.7 MB, free: 19.37 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.7981, allocations: 0 / 406.7 MB, free: 19.37 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001787/0.7983, allocations: 79.19 kB / 406.8 MB, free: 19.31 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004663/0.7988, allocations: 36.41 kB / 406.8 MB, free: 19.28 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00127/0.8001, allocations: 393.1 kB / 407.2 MB, free: 18.88 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001778/0.8003, allocations: 0.713 MB / 407.9 MB, free: 18.14 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002083/0.8005, allocations: 58.7 kB / 408 MB, free: 18.11 MB / 234.7 MB Notification: Performance of SimCode: time 1.112e-06/0.8005, allocations: 0 / 408 MB, free: 18.11 MB / 234.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.438/3.239, allocations: 3.44 MB / 411.4 MB, free: 14.69 MB / 234.7 MB