Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Media.Examples.SimpleLiquidWater.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) Running command: "" <> buildModelFMU(Modelica.Media.Examples.SimpleLiquidWater,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Media_Examples_SimpleLiquidWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.909/1.909, allocations: 194.9 MB / 211.7 MB, free: 2.996 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004745/0.0004745, allocations: 8 kB / 264 MB, free: 13.49 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1068/0.1073, allocations: 44.51 MB / 308.5 MB, free: 0.918 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9552/1.063, allocations: 268.5 MB / 0.5635 GB, free: 109.9 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002629/1.063, allocations: 71.23 kB / 0.5636 GB, free: 109.9 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03361/1.097, allocations: 9.386 MB / 0.5727 GB, free: 104.2 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.525e-06/1.097, allocations: 0 / 0.5727 GB, free: 104.2 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.255e-05/1.097, allocations: 4 kB / 0.5727 GB, free: 104.2 MB / 410.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.001079/1.098, allocations: 459.1 kB / 0.5732 GB, free: 103.7 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.668e-05/1.098, allocations: 8.031 kB / 0.5732 GB, free: 103.7 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.884e-05/1.098, allocations: 57.05 kB / 0.5732 GB, free: 103.6 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002166/1.098, allocations: 23.8 kB / 0.5733 GB, free: 103.6 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002354/1.098, allocations: 214.3 kB / 0.5735 GB, free: 103.4 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.682e-05/1.098, allocations: 11.41 kB / 0.5735 GB, free: 103.4 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.425e-05/1.098, allocations: 11.75 kB / 0.5735 GB, free: 103.4 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005454/1.099, allocations: 214.5 kB / 0.5737 GB, free: 103.2 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.788e-05/1.099, allocations: 0 / 0.5737 GB, free: 103.2 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.708e-05/1.099, allocations: 10.94 kB / 0.5737 GB, free: 103.2 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/1.099, allocations: 4 kB / 0.5737 GB, free: 103.2 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005252/1.1, allocations: 135.9 kB / 0.5738 GB, free: 103.1 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00154/1.101, allocations: 0.9496 MB / 0.5748 GB, free: 102.1 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005651/1.102, allocations: 152 kB / 0.5749 GB, free: 102 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005722/1.102, allocations: 0.4969 MB / 0.5754 GB, free: 101.5 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.139e-05/1.102, allocations: 38.52 kB / 0.5754 GB, free: 101.4 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 2.575e-06/1.102, allocations: 4 kB / 0.5754 GB, free: 101.4 MB / 410.7 MB Notification: Performance of matching and sorting (n=20): time 0.003939/1.106, allocations: 0.7608 MB / 0.5762 GB, free: 100.7 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.28e-05/1.106, allocations: 55.41 kB / 0.5762 GB, free: 100.7 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001471/1.107, allocations: 142.4 kB / 0.5764 GB, free: 100.5 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.239e-05/1.107, allocations: 33.58 kB / 0.5764 GB, free: 100.5 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.385e-05/1.107, allocations: 206.2 kB / 0.5766 GB, free: 100.3 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.743e-05/1.107, allocations: 81 kB / 0.5767 GB, free: 100.2 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.379e-05/1.107, allocations: 11.12 kB / 0.5767 GB, free: 100.2 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.381e-05/1.107, allocations: 322.3 kB / 0.577 GB, free: 99.9 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003864/1.107, allocations: 78.25 kB / 0.5771 GB, free: 99.84 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004397/1.108, allocations: 187 kB / 0.5772 GB, free: 99.64 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004265/1.108, allocations: 101 kB / 0.5773 GB, free: 99.58 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/1.108, allocations: 4 kB / 0.5773 GB, free: 99.57 MB / 410.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001081/1.109, allocations: 324.2 kB / 0.5776 GB, free: 99.32 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.145e-05/1.109, allocations: 4 kB / 0.5776 GB, free: 99.32 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/1.109, allocations: 4 kB / 0.5776 GB, free: 99.31 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.625e-05/1.109, allocations: 11.95 kB / 0.5777 GB, free: 99.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006357/1.11, allocations: 78.89 kB / 0.5777 GB, free: 99.23 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.174e-05/1.11, allocations: 4 kB / 0.5777 GB, free: 99.22 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003835/1.11, allocations: 19.42 kB / 0.5778 GB, free: 99.21 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.519e-05/1.111, allocations: 19.95 kB / 0.5778 GB, free: 99.19 MB / 410.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.0001494/1.111, allocations: 137.2 kB / 0.5779 GB, free: 99.06 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.027e-05/1.111, allocations: 11.91 kB / 0.5779 GB, free: 99.05 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00102/1.112, allocations: 236.5 kB / 0.5781 GB, free: 98.87 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.049e-06/1.112, allocations: 0 / 0.5781 GB, free: 98.87 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.7e-06/1.112, allocations: 8 kB / 0.5782 GB, free: 98.86 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.181e-06/1.112, allocations: 0 / 0.5782 GB, free: 98.86 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001817/1.114, allocations: 0.595 MB / 0.5787 GB, free: 98.28 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/1.114, allocations: 0 / 0.5787 GB, free: 98.28 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004868/1.114, allocations: 55.89 kB / 0.5788 GB, free: 98.22 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.444e-06/1.114, allocations: 0 / 0.5788 GB, free: 98.22 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.967e-05/1.114, allocations: 11.8 kB / 0.5788 GB, free: 98.21 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.881e-06/1.114, allocations: 4 kB / 0.5788 GB, free: 98.21 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/1.114, allocations: 12 kB / 0.5788 GB, free: 98.2 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001255/1.116, allocations: 450.7 kB / 0.5792 GB, free: 97.78 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.075e-05/1.116, allocations: 85.05 kB / 0.5793 GB, free: 97.68 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.072e-05/1.116, allocations: 11.38 kB / 0.5793 GB, free: 97.67 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003808/1.116, allocations: 19.98 kB / 0.5794 GB, free: 97.66 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.66e-05/1.116, allocations: 15.94 kB / 0.5794 GB, free: 97.64 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.362e-05/1.116, allocations: 11.8 kB / 0.5794 GB, free: 97.63 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.78e-05/1.116, allocations: 105.7 kB / 0.5795 GB, free: 97.54 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.11e-07/1.116, allocations: 0 / 0.5795 GB, free: 97.54 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005773/1.117, allocations: 70.73 kB / 0.5795 GB, free: 97.48 MB / 410.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.00164/1.119, allocations: 1.289 MB / 0.5808 GB, free: 96.21 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0009162/1.119, allocations: 223.1 kB / 0.581 GB, free: 96.04 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/1.119, allocations: 0 / 0.581 GB, free: 96.04 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003824/1.12, allocations: 94.38 kB / 0.5811 GB, free: 95.96 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004649/1.12, allocations: 40.05 kB / 0.5811 GB, free: 95.93 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003499/1.124, allocations: 3.513 MB / 0.5846 GB, free: 92.44 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001894/1.124, allocations: 0.7281 MB / 0.5853 GB, free: 91.69 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002128/1.124, allocations: 56.72 kB / 0.5853 GB, free: 91.66 MB / 410.7 MB Notification: Performance of SimCode: time 1.372e-06/1.124, allocations: 0 / 0.5853 GB, free: 91.66 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.541/3.666, allocations: 3.339 MB / 0.5886 GB, free: 88.33 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Media.Examples.SimpleLiquidWater_res.mat does not exist to compare? outputFormat=mat