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/OMCompiler/build/lib/omlibrary/ModelicaServices 1.0/package.mo) Using package Modelica with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.193/1.193, allocations: 111.2 MB / 119.1 MB, free: 11.18 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.162e-05/2.179e-05, allocations: 4 kB / 148.2 MB, free: 6.137 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05627/0.05633, allocations: 25.18 MB / 173.4 MB, free: 12.92 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5904/0.6468, allocations: 208.1 MB / 381.5 MB, free: 9.895 MB / 234.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002222/0.6471, allocations: 60.03 kB / 381.5 MB, free: 9.867 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03438/0.6815, allocations: 9.825 MB / 391.3 MB, free: 364 kB / 234.7 MB Notification: Performance of FrontEnd: time 2.685e-06/0.6816, allocations: 4 kB / 391.3 MB, free: 360 kB / 234.7 MB Notification: Performance of Transformations before backend: time 1.224e-05/0.6816, allocations: 0 / 391.3 MB, free: 360 kB / 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.1454/0.827, allocations: 450.1 kB / 391.8 MB, free: 85.47 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.565e-05/0.8271, allocations: 9.156 kB / 391.8 MB, free: 85.47 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001301/0.8272, allocations: 21.92 kB / 391.8 MB, free: 85.46 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002849/0.8275, allocations: 202.6 kB / 392 MB, free: 85.26 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.847e-05/0.8275, allocations: 9.844 kB / 392 MB, free: 85.26 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.43e-05/0.8276, allocations: 10.34 kB / 392 MB, free: 85.26 MB / 234.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003667/0.828, allocations: 113 kB / 392.1 MB, free: 85.26 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003852/0.8284, allocations: 184.9 kB / 392.3 MB, free: 85.18 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.273e-05/0.8284, allocations: 7.469 kB / 392.3 MB, free: 85.18 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.378e-05/0.8284, allocations: 5.172 kB / 392.3 MB, free: 85.17 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.438e-06/0.8285, allocations: 4.625 kB / 392.3 MB, free: 85.17 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001849/0.8303, allocations: 1.112 MB / 393.5 MB, free: 84.23 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003245/0.8307, allocations: 115.9 kB / 393.6 MB, free: 84.21 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001111/0.8308, allocations: 44.77 kB / 393.6 MB, free: 84.2 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007838/0.8316, allocations: 0.6647 MB / 394.3 MB, free: 83.55 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.831e-05/0.8317, allocations: 36.78 kB / 394.3 MB, free: 83.51 MB / 234.7 MB Notification: Performance of pre-optimization done (n=14): time 2.835e-06/0.8317, allocations: 2.031 kB / 394.3 MB, free: 83.51 MB / 234.7 MB Notification: Performance of matching and sorting (n=20): time 0.003165/0.8349, allocations: 0.5984 MB / 394.9 MB, free: 83.23 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.728e-05/0.8349, allocations: 56.94 kB / 395 MB, free: 83.17 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000152/0.8351, allocations: 137.1 kB / 395.1 MB, free: 83.07 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.973e-05/0.8351, allocations: 27.17 kB / 395.1 MB, free: 83.04 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.997e-05/0.8352, allocations: 207.8 kB / 395.3 MB, free: 82.85 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.255e-05/0.8353, allocations: 70.45 kB / 395.4 MB, free: 82.81 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.312e-05/0.8354, allocations: 1.406 kB / 395.4 MB, free: 82.81 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 7.559e-05/0.8354, allocations: 328.3 kB / 395.7 MB, free: 82.5 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001711/0.8356, allocations: 61.16 kB / 395.8 MB, free: 82.49 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002442/0.8359, allocations: 165.1 kB / 395.9 MB, free: 82.37 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003181/0.8362, allocations: 82.5 kB / 396 MB, free: 82.37 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.8362, allocations: 1.094 kB / 396 MB, free: 82.37 MB / 234.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.000725/0.837, allocations: 260.2 kB / 396.3 MB, free: 82.32 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/0.837, allocations: 9.25 kB / 396.3 MB, free: 82.32 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/0.837, allocations: 4.625 kB / 396.3 MB, free: 82.32 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.792e-05/0.8371, allocations: 4.531 kB / 396.3 MB, free: 82.32 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006548/0.8377, allocations: 75.94 kB / 396.4 MB, free: 82.32 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.642e-05/0.8378, allocations: 9.297 kB / 396.4 MB, free: 82.32 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003928/0.8382, allocations: 10.73 kB / 396.4 MB, free: 82.32 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.967e-05/0.8382, allocations: 16.98 kB / 396.4 MB, free: 82.32 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.0001184/0.8383, allocations: 119.4 kB / 396.5 MB, free: 82.21 MB / 234.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000542/0.8389, allocations: 168.3 kB / 396.7 MB, free: 82.16 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.799e-05/0.839, allocations: 14.48 kB / 396.7 MB, free: 82.15 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00069/0.8397, allocations: 205.7 kB / 396.9 MB, free: 82.11 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.703e-06/0.8397, allocations: 2.344 kB / 396.9 MB, free: 82.11 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.8397, allocations: 0.6875 kB / 396.9 MB, free: 82.11 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/0.8397, allocations: 5.953 kB / 396.9 MB, free: 82.11 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001512/0.8413, allocations: 0.5157 MB / 397.4 MB, free: 81.79 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.8413, allocations: 1.281 kB / 397.4 MB, free: 81.79 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005225/0.8418, allocations: 50.48 kB / 397.5 MB, free: 81.79 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.005e-05/0.8418, allocations: 3.094 kB / 397.5 MB, free: 81.79 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.046e-05/0.8419, allocations: 5.859 kB / 397.5 MB, free: 81.79 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.591e-06/0.8419, allocations: 2.203 kB / 397.5 MB, free: 81.79 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.96e-06/0.8419, allocations: 2.438 kB / 397.5 MB, free: 81.79 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007201/0.8426, allocations: 388.2 kB / 397.9 MB, free: 81.55 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.643e-05/0.8427, allocations: 85.58 kB / 398 MB, free: 81.45 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.989e-05/0.8428, allocations: 11.14 kB / 398 MB, free: 81.45 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003894/0.8432, allocations: 16.52 kB / 398 MB, free: 81.45 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.481e-05/0.8432, allocations: 11.94 kB / 398 MB, free: 81.45 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.815e-05/0.8433, allocations: 9.781 kB / 398 MB, free: 81.45 MB / 234.7 MB Notification: Performance of sorting global known variables: time 8.746e-05/0.8434, allocations: 109 kB / 398.1 MB, free: 81.37 MB / 234.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.8434, allocations: 1.375 kB / 398.1 MB, free: 81.37 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0005782/0.844, allocations: 66.94 kB / 398.2 MB, free: 81.37 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.001153/0.8451, allocations: 1.231 MB / 399.4 MB, free: 80.34 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0005615/0.8457, allocations: 176.5 kB / 399.6 MB, free: 80.32 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.8457, allocations: 0.625 kB / 399.6 MB, free: 80.32 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001727/0.8459, allocations: 73.42 kB / 399.7 MB, free: 80.31 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004963/0.8464, allocations: 26.14 kB / 399.7 MB, free: 80.31 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001338/0.8478, allocations: 370.1 kB / 400 MB, free: 80.06 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002069/0.848, allocations: 0.7177 MB / 400.8 MB, free: 79.37 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002134/0.8482, allocations: 54.73 kB / 400.8 MB, free: 79.36 MB / 234.7 MB Notification: Performance of SimCode: time 1.202e-06/0.8483, allocations: 4 kB / 400.8 MB, free: 79.36 MB / 234.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.568/3.417, allocations: 3.437 MB / 404.3 MB, free: 79.1 MB / 234.7 MB