Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.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.Fluid.TestComponents.Sensors.TestSpecificEntropy,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.868/1.868, allocations: 209.2 MB / 224.8 MB, free: 0.6133 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004526/0.0004529, allocations: 16 kB / 282.7 MB, free: 9.551 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3502/0.3507, allocations: 48.69 MB / 331.4 MB, free: 6.543 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.176/7.527, allocations: 2.477 GB / 2.801 GB, free: 45.92 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003204/7.527, allocations: 85.39 kB / 2.801 GB, free: 45.88 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.718/9.245, allocations: 304.9 MB / 3.099 GB, free: 61.64 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.644e-06/9.245, allocations: 0 / 3.099 GB, free: 61.64 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.702e-05/9.245, allocations: 18.19 kB / 3.099 GB, free: 61.64 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.00577/9.251, allocations: 1.329 MB / 3.1 GB, free: 60.88 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.854e-05/9.251, allocations: 11.59 kB / 3.1 GB, free: 60.88 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001162/9.251, allocations: 73.39 kB / 3.1 GB, free: 60.82 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002166/9.253, allocations: 173.2 kB / 3.1 GB, free: 60.8 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007765/9.254, allocations: 359.7 kB / 3.1 GB, free: 60.52 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.371e-05/9.254, allocations: 23.56 kB / 3.1 GB, free: 60.51 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.599e-05/9.254, allocations: 27.47 kB / 3.101 GB, free: 60.5 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001779/9.256, allocations: 0.489 MB / 3.101 GB, free: 60.27 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.731e-05/9.256, allocations: 0 / 3.101 GB, free: 60.27 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.339e-05/9.256, allocations: 11.47 kB / 3.101 GB, free: 60.27 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.372e-05/9.256, allocations: 14.47 kB / 3.101 GB, free: 60.26 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001891/9.258, allocations: 435 kB / 3.101 GB, free: 60.17 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003091/9.261, allocations: 2.283 MB / 3.104 GB, free: 58.19 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001468/9.262, allocations: 303.7 kB / 3.104 GB, free: 58.1 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05846/9.321, allocations: 15.66 MB / 3.119 GB, free: 50.04 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.401e-05/9.321, allocations: 30.56 kB / 3.119 GB, free: 50 MB / 442.7 MB Notification: Performance of pre-optimization done (n=15): time 3.035e-06/9.321, allocations: 0 / 3.119 GB, free: 50 MB / 442.7 MB Notification: Performance of matching and sorting (n=15): time 0.002563/9.324, allocations: 0.4965 MB / 3.12 GB, free: 49.88 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.156e-05/9.324, allocations: 102.8 kB / 3.12 GB, free: 49.75 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000361/9.324, allocations: 249.8 kB / 3.12 GB, free: 49.61 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.863e-05/9.324, allocations: 25.7 kB / 3.12 GB, free: 49.57 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001417/9.324, allocations: 276 kB / 3.12 GB, free: 49.33 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.734e-05/9.324, allocations: 59.95 kB / 3.12 GB, free: 49.29 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.884e-05/9.324, allocations: 4 kB / 3.12 GB, free: 49.29 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.285e-05/9.324, allocations: 322.5 kB / 3.121 GB, free: 48.97 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003733/9.325, allocations: 87.97 kB / 3.121 GB, free: 48.95 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004732/9.325, allocations: 224.9 kB / 3.121 GB, free: 48.75 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004246/9.326, allocations: 117.1 kB / 3.121 GB, free: 48.71 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.142e-06/9.326, allocations: 6.938 kB / 3.121 GB, free: 48.71 MB / 442.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001044/9.327, allocations: 333.1 kB / 3.121 GB, free: 48.59 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.212e-05/9.327, allocations: 6.094 kB / 3.121 GB, free: 48.59 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.141e-05/9.327, allocations: 3.594 kB / 3.121 GB, free: 48.59 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.48e-05/9.327, allocations: 12.78 kB / 3.122 GB, free: 48.59 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004708/9.327, allocations: 81.84 kB / 3.122 GB, free: 48.58 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.363e-05/9.327, allocations: 7.094 kB / 3.122 GB, free: 48.58 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004355/9.328, allocations: 53.31 kB / 3.122 GB, free: 48.55 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.69e-05/9.328, allocations: 18.19 kB / 3.122 GB, free: 48.55 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 2 (boundary_prescriberho_1.medium.phase,boundary_prescriberho_2.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002411/9.328, allocations: 157.8 kB / 3.122 GB, free: 48.41 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.922e-05/9.328, allocations: 29 kB / 3.122 GB, free: 48.39 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001736/9.33, allocations: 0.9556 MB / 3.123 GB, free: 47.95 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.979e-05/9.33, allocations: 11.77 kB / 3.123 GB, free: 47.95 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/9.33, allocations: 0 / 3.123 GB, free: 47.95 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.604e-06/9.33, allocations: 2.391 kB / 3.123 GB, free: 47.95 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007753/9.331, allocations: 0.5611 MB / 3.123 GB, free: 47.57 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/9.331, allocations: 0 / 3.123 GB, free: 47.57 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003536/9.331, allocations: 62.98 kB / 3.123 GB, free: 47.57 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.883e-06/9.331, allocations: 0 / 3.123 GB, free: 47.57 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.99e-05/9.331, allocations: 7.672 kB / 3.123 GB, free: 47.56 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.869e-06/9.331, allocations: 0 / 3.123 GB, free: 47.56 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/9.331, allocations: 0 / 3.123 GB, free: 47.56 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001043/9.332, allocations: 0.5318 MB / 3.124 GB, free: 47.27 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001946/9.333, allocations: 167.5 kB / 3.124 GB, free: 47.13 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.724e-05/9.333, allocations: 0 / 3.124 GB, free: 47.13 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003168/9.333, allocations: 34.89 kB / 3.124 GB, free: 47.12 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.502e-05/9.333, allocations: 20.56 kB / 3.124 GB, free: 47.11 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.7e-05/9.333, allocations: 3.906 kB / 3.124 GB, free: 47.11 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0003296/9.333, allocations: 233.1 kB / 3.124 GB, free: 46.99 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.4e-07/9.333, allocations: 3.938 kB / 3.124 GB, free: 46.98 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004522/9.338, allocations: 0.8625 MB / 3.125 GB, free: 46.81 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse5.phase,$cse5.region,boundary_prescriberho_1.medium.phase,boundary_prescriberho_2.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.009942/9.348, allocations: 2.243 MB / 3.127 GB, free: 45.76 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001105/9.349, allocations: 315.9 kB / 3.128 GB, free: 45.66 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.892e-06/9.349, allocations: 4 kB / 3.128 GB, free: 45.66 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004406/9.35, allocations: 211.7 kB / 3.128 GB, free: 45.57 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001175/9.351, allocations: 139.1 kB / 3.128 GB, free: 45.52 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1966/9.547, allocations: 59.59 MB / 3.186 GB, free: 9.539 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003445/9.548, allocations: 0.8476 MB / 3.187 GB, free: 8.668 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000273/9.548, allocations: 151.4 kB / 3.187 GB, free: 8.52 MB / 442.7 MB Notification: Performance of SimCode: time 2.765e-06/9.548, allocations: 0 / 3.187 GB, free: 8.52 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.62/13.17, allocations: 23.9 MB / 3.211 GB, free: 52.06 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy_res.mat does not exist to compare? outputFormat=mat