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.008/1.008, allocations: 111.1 MB / 126.7 MB, free: 6.137 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002911/0.0002911, allocations: 8 kB / 158.4 MB, free: 15.09 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05731/0.05764, allocations: 25.17 MB / 183.6 MB, free: 5.887 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8081/0.8658, allocations: 208.8 MB / 392.4 MB, free: 69.3 MB / 234.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001995/0.866, allocations: 62.44 kB / 392.5 MB, free: 69.3 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05214/0.9182, allocations: 9.935 MB / 402.4 MB, free: 68.4 MB / 234.7 MB Notification: Performance of FrontEnd: time 3.737e-06/0.9182, allocations: 0 / 402.4 MB, free: 68.4 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.497e-05/0.9183, allocations: 7.875 kB / 402.4 MB, free: 68.39 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.001358/0.9196, allocations: 467.3 kB / 402.9 MB, free: 68 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.502e-05/0.9197, allocations: 7.812 kB / 402.9 MB, free: 68 MB / 234.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.904e-05/0.9198, allocations: 53.52 kB / 402.9 MB, free: 67.95 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.577e-05/0.9199, allocations: 11.72 kB / 403 MB, free: 67.95 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003078/0.9202, allocations: 216.7 kB / 403.2 MB, free: 67.74 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.981e-05/0.9203, allocations: 7.812 kB / 403.2 MB, free: 67.74 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.261e-05/0.9203, allocations: 15.44 kB / 403.2 MB, free: 67.74 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007755/0.9211, allocations: 213 kB / 403.4 MB, free: 67.65 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.52e-05/0.9212, allocations: 0 / 403.4 MB, free: 67.65 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.364e-05/0.9213, allocations: 10.91 kB / 403.4 MB, free: 67.65 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.226e-05/0.9213, allocations: 7.797 kB / 403.4 MB, free: 67.64 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007458/0.922, allocations: 145.5 kB / 403.6 MB, free: 67.64 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002464/0.9245, allocations: 1.153 MB / 404.7 MB, free: 66.64 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007629/0.9253, allocations: 139.3 kB / 404.8 MB, free: 66.61 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001035/0.9264, allocations: 0.6613 MB / 405.5 MB, free: 65.93 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.87e-05/0.9265, allocations: 34.38 kB / 405.5 MB, free: 65.89 MB / 234.7 MB Notification: Performance of pre-optimization done (n=14): time 2.956e-06/0.9265, allocations: 0 / 405.5 MB, free: 65.89 MB / 234.7 MB Notification: Performance of matching and sorting (n=20): time 0.005682/0.9322, allocations: 0.7644 MB / 406.3 MB, free: 65.49 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.122e-05/0.9323, allocations: 55.39 kB / 406.4 MB, free: 65.42 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002059/0.9325, allocations: 142.2 kB / 406.5 MB, free: 65.31 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 4.562e-05/0.9326, allocations: 33.27 kB / 406.5 MB, free: 65.28 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001073/0.9327, allocations: 211.1 kB / 406.7 MB, free: 65.09 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001039/0.9328, allocations: 71.66 kB / 406.8 MB, free: 65.03 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.503e-05/0.9329, allocations: 7.781 kB / 406.8 MB, free: 65.03 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 8.306e-05/0.933, allocations: 326.6 kB / 407.1 MB, free: 64.71 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005663/0.9335, allocations: 84.06 kB / 407.2 MB, free: 64.69 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006625/0.9342, allocations: 190.3 kB / 407.4 MB, free: 64.54 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006242/0.9349, allocations: 102.4 kB / 407.5 MB, free: 64.52 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.982e-06/0.9349, allocations: 3.875 kB / 407.5 MB, free: 64.52 MB / 234.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001585/0.9365, allocations: 315.6 kB / 407.8 MB, free: 64.42 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.835e-05/0.9366, allocations: 7.812 kB / 407.8 MB, free: 64.42 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.319e-05/0.9366, allocations: 3.969 kB / 407.8 MB, free: 64.42 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.808e-05/0.9366, allocations: 7.828 kB / 407.8 MB, free: 64.42 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000927/0.9376, allocations: 74.83 kB / 407.9 MB, free: 64.4 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.898e-05/0.9376, allocations: 7.906 kB / 407.9 MB, free: 64.4 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000526/0.9382, allocations: 22.39 kB / 407.9 MB, free: 64.39 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.686e-05/0.9382, allocations: 19.22 kB / 408 MB, free: 64.39 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 () * Number of clocked 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.0001643/0.9384, allocations: 132.7 kB / 408.1 MB, free: 64.27 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.238e-05/0.9385, allocations: 15.62 kB / 408.1 MB, free: 64.26 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001039/0.9395, allocations: 253.8 kB / 408.3 MB, free: 64.16 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.773e-06/0.9396, allocations: 3.812 kB / 408.4 MB, free: 64.16 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.9396, allocations: 3.938 kB / 408.4 MB, free: 64.15 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-06/0.9396, allocations: 0 / 408.4 MB, free: 64.15 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002284/0.9419, allocations: 0.603 MB / 409 MB, free: 63.72 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.011e-06/0.9419, allocations: 0 / 409 MB, free: 63.72 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006184/0.9426, allocations: 47.28 kB / 409 MB, free: 63.71 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.068e-05/0.9426, allocations: 3.812 kB / 409 MB, free: 63.71 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.988e-05/0.9426, allocations: 11.02 kB / 409 MB, free: 63.7 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.442e-06/0.9427, allocations: 0 / 409 MB, free: 63.7 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.721e-06/0.9427, allocations: 7.844 kB / 409 MB, free: 63.7 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001652/0.9443, allocations: 448 kB / 409.5 MB, free: 63.41 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001089/0.9445, allocations: 91.67 kB / 409.6 MB, free: 63.31 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.501e-05/0.9446, allocations: 3.906 kB / 409.6 MB, free: 63.31 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005491/0.9451, allocations: 20.98 kB / 409.6 MB, free: 63.3 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.002e-05/0.9452, allocations: 15.73 kB / 409.6 MB, free: 63.29 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.659e-05/0.9453, allocations: 10.98 kB / 409.6 MB, free: 63.29 MB / 234.7 MB Notification: Performance of sorting global known variables: time 0.0001445/0.9454, allocations: 110.1 kB / 409.7 MB, free: 63.21 MB / 234.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.9455, allocations: 4 kB / 409.7 MB, free: 63.21 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0009487/0.9464, allocations: 71.14 kB / 409.8 MB, free: 63.2 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 () * Number of clocked 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.002402/0.9489, allocations: 1.321 MB / 411.1 MB, free: 62.08 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.001255/0.9502, allocations: 209.2 kB / 411.3 MB, free: 62.04 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 7.274e-06/0.9502, allocations: 0 / 411.3 MB, free: 62.04 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004977/0.9507, allocations: 96 kB / 411.4 MB, free: 62.01 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006456/0.9514, allocations: 32.98 kB / 411.4 MB, free: 62 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004764/0.9562, allocations: 3.528 MB / 415 MB, free: 58.86 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000249/0.9565, allocations: 0.7153 MB / 415.7 MB, free: 58.15 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002979/0.9568, allocations: 55.62 kB / 415.7 MB, free: 58.14 MB / 234.7 MB Notification: Performance of SimCode: time 1.573e-06/0.9568, allocations: 0 / 415.7 MB, free: 58.14 MB / 234.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.605/3.562, allocations: 3.434 MB / 419.2 MB, free: 56.39 MB / 234.7 MB