Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_ConstantPropertyLiquidWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.945/1.945, allocations: 209.2 MB / 224.8 MB, free: 0.6133 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004466/0.0004465, allocations: 12 kB / 282.7 MB, free: 9.539 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.341/0.3414, allocations: 48.7 MB / 331.4 MB, free: 6.41 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.063/1.405, allocations: 341.5 MB / 0.6571 GB, free: 102.8 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003601/1.405, allocations: 96.42 kB / 0.6572 GB, free: 102.8 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7198/2.125, allocations: 129.8 MB / 0.784 GB, free: 94.76 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.164e-06/2.125, allocations: 0 / 0.784 GB, free: 94.76 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.422e-05/2.125, allocations: 23.77 kB / 0.784 GB, free: 94.76 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.00289/2.128, allocations: 0.9654 MB / 0.785 GB, free: 94.3 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.297e-05/2.128, allocations: 13.16 kB / 0.785 GB, free: 94.3 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002604/2.128, allocations: 98.89 kB / 0.7851 GB, free: 94.26 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004912/2.129, allocations: 94.73 kB / 0.7852 GB, free: 94.22 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001461/2.13, allocations: 0.5491 MB / 0.7857 GB, free: 93.99 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001184/2.13, allocations: 101.4 kB / 0.7858 GB, free: 93.93 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001298/2.13, allocations: 55.53 kB / 0.7858 GB, free: 93.93 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001959/2.132, allocations: 0.8113 MB / 0.7866 GB, free: 93.68 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.94e-05/2.133, allocations: 5.969 kB / 0.7866 GB, free: 93.68 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001143/2.133, allocations: 21.62 kB / 0.7867 GB, free: 93.68 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.272e-05/2.133, allocations: 37.25 kB / 0.7867 GB, free: 93.68 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001788/2.135, allocations: 0.6234 MB / 0.7873 GB, free: 93.68 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006469/2.141, allocations: 4.017 MB / 0.7912 GB, free: 91.07 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009499/2.142, allocations: 332.1 kB / 0.7916 GB, free: 91.05 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002891/2.145, allocations: 1.774 MB / 0.7933 GB, free: 89.62 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.886e-05/2.145, allocations: 36.09 kB / 0.7933 GB, free: 89.59 MB / 426.7 MB Notification: Performance of pre-optimization done (n=23): time 2.976e-06/2.145, allocations: 3 kB / 0.7933 GB, free: 89.59 MB / 426.7 MB Notification: Performance of matching and sorting (n=33): time 0.004561/2.15, allocations: 1.206 MB / 0.7945 GB, free: 89.21 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.282e-05/2.15, allocations: 132.4 kB / 0.7946 GB, free: 89.05 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001062/2.151, allocations: 0.5525 MB / 0.7952 GB, free: 88.93 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 9.676e-05/2.151, allocations: 32.14 kB / 0.7952 GB, free: 88.89 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002701/2.151, allocations: 450.8 kB / 0.7956 GB, free: 88.59 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000117/2.151, allocations: 117.7 kB / 0.7957 GB, free: 88.53 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.159e-05/2.151, allocations: 17.12 kB / 0.7958 GB, free: 88.53 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.669e-05/2.152, allocations: 341.7 kB / 0.7961 GB, free: 88.21 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004299/2.152, allocations: 176.7 kB / 0.7962 GB, free: 88.21 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006504/2.153, allocations: 0.5713 MB / 0.7968 GB, free: 87.7 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006499/2.153, allocations: 297.8 kB / 0.7971 GB, free: 87.7 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.011e-05/2.153, allocations: 7.078 kB / 0.7971 GB, free: 87.7 MB / 426.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001835/2.155, allocations: 0.7493 MB / 0.7978 GB, free: 87.64 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.594e-05/2.155, allocations: 10.09 kB / 0.7978 GB, free: 87.64 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.667e-05/2.155, allocations: 17.44 kB / 0.7979 GB, free: 87.64 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.141e-05/2.155, allocations: 19.5 kB / 0.7979 GB, free: 87.64 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001534/2.157, allocations: 208.8 kB / 0.7981 GB, free: 87.64 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.068e-05/2.157, allocations: 27.94 kB / 0.7981 GB, free: 87.64 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001122/2.158, allocations: 53.27 kB / 0.7981 GB, free: 87.63 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.912e-05/2.158, allocations: 46.77 kB / 0.7982 GB, free: 87.63 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 61 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 95 * 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.0005161/2.159, allocations: 257.4 kB / 0.7984 GB, free: 87.51 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001623/2.159, allocations: 77.89 kB / 0.7985 GB, free: 87.47 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001038/2.16, allocations: 424.4 kB / 0.7989 GB, free: 87.39 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.144e-06/2.16, allocations: 2.375 kB / 0.7989 GB, free: 87.39 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/2.16, allocations: 0 / 0.7989 GB, free: 87.39 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.458e-06/2.16, allocations: 7.797 kB / 0.7989 GB, free: 87.39 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002418/2.162, allocations: 1.211 MB / 0.8001 GB, free: 86.88 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.995e-06/2.162, allocations: 3.438 kB / 0.8001 GB, free: 86.88 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004956/2.163, allocations: 67.69 kB / 0.8002 GB, free: 86.88 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002867/2.163, allocations: 45.5 kB / 0.8002 GB, free: 86.87 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.368e-05/2.163, allocations: 14.44 kB / 0.8002 GB, free: 86.87 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004038/2.164, allocations: 0.5599 MB / 0.8008 GB, free: 86.35 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.853e-06/2.164, allocations: 6.938 kB / 0.8008 GB, free: 86.35 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001352/2.165, allocations: 0.83 MB / 0.8016 GB, free: 85.84 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003803/2.166, allocations: 187.7 kB / 0.8018 GB, free: 85.71 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001444/2.166, allocations: 10.72 kB / 0.8018 GB, free: 85.71 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006633/2.166, allocations: 25.88 kB / 0.8018 GB, free: 85.71 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.712e-05/2.166, allocations: 43.64 kB / 0.8019 GB, free: 85.71 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.13e-05/2.166, allocations: 16.77 kB / 0.8019 GB, free: 85.71 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0007336/2.167, allocations: 427.4 kB / 0.8023 GB, free: 85.62 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.4e-07/2.167, allocations: 0 / 0.8023 GB, free: 85.62 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001374/2.169, allocations: 214 kB / 0.8025 GB, free: 85.61 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 1 (volume.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 (35): * Single equations (assignments): 34 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.002322/2.171, allocations: 2.489 MB / 0.8049 GB, free: 83.7 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001216/2.172, allocations: 456.9 kB / 0.8053 GB, free: 83.7 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.889e-06/2.172, allocations: 4.75 kB / 0.8054 GB, free: 83.7 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005755/2.173, allocations: 165.6 kB / 0.8055 GB, free: 83.7 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002419/2.175, allocations: 280.1 kB / 0.8058 GB, free: 83.7 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009562/2.185, allocations: 13.01 MB / 0.8185 GB, free: 72.97 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005092/2.185, allocations: 0.9529 MB / 0.8194 GB, free: 72.26 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004859/2.186, allocations: 239.8 kB / 0.8196 GB, free: 72.25 MB / 426.7 MB Notification: Performance of SimCode: time 1.082e-06/2.186, allocations: 0 / 0.8196 GB, free: 72.25 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.202/5.388, allocations: 15.43 MB / 0.8347 GB, free: 71.52 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater_res.mat does not exist to compare? outputFormat=mat