Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestAllProperties.CO2.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.CO2,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Media_TestAllProperties_CO2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.745/2.745, allocations: 235.1 MB / 243 MB, free: 9.578 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.903e-05/1.92e-05, allocations: 0 / 303.3 MB, free: 13.2 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4169/0.417, allocations: 54.85 MB / 358.1 MB, free: 14.94 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.308/1.725, allocations: 492.1 MB / 0.8303 GB, free: 4.742 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002567/1.725, allocations: 71.58 kB / 0.8303 GB, free: 4.703 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5216/2.247, allocations: 56.52 MB / 0.8855 GB, free: 158.8 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.774e-06/2.247, allocations: 0 / 0.8855 GB, free: 158.8 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.539e-05/2.247, allocations: 0 / 0.8855 GB, free: 158.8 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.00193/2.249, allocations: 0.6994 MB / 0.8862 GB, free: 158 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.025e-05/2.249, allocations: 12.03 kB / 0.8862 GB, free: 158 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01183/2.261, allocations: 0.5848 MB / 0.8868 GB, free: 157.4 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005391/2.261, allocations: 262.7 kB / 0.8871 GB, free: 157.1 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00016/2.261, allocations: 115.4 kB / 0.8872 GB, free: 157 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001328/2.262, allocations: 15.95 kB / 0.8872 GB, free: 157 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001468/2.263, allocations: 0.5437 MB / 0.8877 GB, free: 156.4 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006254/2.264, allocations: 316.2 kB / 0.888 GB, free: 156.1 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.559e-05/2.264, allocations: 3.938 kB / 0.888 GB, free: 156.1 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.854e-05/2.264, allocations: 4 kB / 0.888 GB, free: 156.1 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.03e-05/2.264, allocations: 4 kB / 0.888 GB, free: 156.1 MB / 490.7 MB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003637/2.268, allocations: 2.544 MB / 0.8905 GB, free: 153.2 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001632/2.269, allocations: 118.5 kB / 0.8906 GB, free: 153.1 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.44e-05/2.269, allocations: 41 kB / 0.8907 GB, free: 153.1 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.616e-05/2.269, allocations: 24.72 kB / 0.8907 GB, free: 153.1 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.868e-05/2.269, allocations: 34.56 kB / 0.8907 GB, free: 153 MB / 490.7 MB Notification: Performance of pre-optimization done (n=10): time 2.926e-06/2.269, allocations: 0 / 0.8907 GB, free: 153 MB / 490.7 MB Notification: Performance of matching and sorting (n=11): time 0.005448/2.275, allocations: 0.5026 MB / 0.8912 GB, free: 152.5 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.773e-05/2.275, allocations: 51.41 kB / 0.8913 GB, free: 152.4 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002059/2.275, allocations: 187 kB / 0.8914 GB, free: 152.2 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.067e-05/2.275, allocations: 29.7 kB / 0.8915 GB, free: 152.2 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000114/2.275, allocations: 285.2 kB / 0.8917 GB, free: 151.9 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.515e-05/2.275, allocations: 43.39 kB / 0.8918 GB, free: 151.9 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.051e-05/2.275, allocations: 0 / 0.8918 GB, free: 151.9 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.378e-05/2.276, allocations: 326.8 kB / 0.8921 GB, free: 151.5 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001398/2.276, allocations: 56.86 kB / 0.8921 GB, free: 151.5 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002298/2.276, allocations: 254 kB / 0.8924 GB, free: 151.1 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001748/2.278, allocations: 285 kB / 0.8927 GB, free: 150.9 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.01e-06/2.278, allocations: 0 / 0.8927 GB, free: 150.9 MB / 490.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.002167/2.28, allocations: 0.5109 MB / 0.8932 GB, free: 150.3 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.685e-05/2.28, allocations: 11.95 kB / 0.8932 GB, free: 150.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.42e-05/2.28, allocations: 4 kB / 0.8932 GB, free: 150.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.74e-05/2.28, allocations: 12.78 kB / 0.8932 GB, free: 150.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009377/2.281, allocations: 167.8 kB / 0.8933 GB, free: 150.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003445/2.281, allocations: 0.6055 MB / 0.8939 GB, free: 149.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004607/2.282, allocations: 8 kB / 0.8939 GB, free: 149.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.324e-05/2.282, allocations: 55.98 kB / 0.894 GB, free: 149.5 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001509/2.282, allocations: 124.8 kB / 0.8941 GB, free: 149.3 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004102/2.283, allocations: 149.4 kB / 0.8943 GB, free: 149.2 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.985e-05/2.283, allocations: 23.81 kB / 0.8943 GB, free: 149.2 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008724/2.283, allocations: 240.5 kB / 0.8945 GB, free: 148.9 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.501e-06/2.283, allocations: 4 kB / 0.8945 GB, free: 148.9 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/2.284, allocations: 3.938 kB / 0.8945 GB, free: 148.9 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/2.284, allocations: 0 / 0.8945 GB, free: 148.9 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007896/2.284, allocations: 464.5 kB / 0.895 GB, free: 148.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/2.284, allocations: 4.062 kB / 0.895 GB, free: 148.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004748/2.285, allocations: 67.95 kB / 0.895 GB, free: 148.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.135e-06/2.285, allocations: 4 kB / 0.895 GB, free: 148.3 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.597e-05/2.285, allocations: 7.984 kB / 0.895 GB, free: 148.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002594/2.285, allocations: 0.5938 MB / 0.8956 GB, free: 147.7 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.821e-06/2.285, allocations: 7.969 kB / 0.8956 GB, free: 147.7 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003338/2.286, allocations: 272.6 kB / 0.8959 GB, free: 147.4 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001294/2.286, allocations: 112.8 kB / 0.896 GB, free: 147.3 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.548e-05/2.286, allocations: 4 kB / 0.896 GB, free: 147.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003979/2.286, allocations: 7.984 kB / 0.896 GB, free: 147.3 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.162e-05/2.286, allocations: 15.98 kB / 0.896 GB, free: 147.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.318e-05/2.286, allocations: 27.98 kB / 0.8961 GB, free: 147.2 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001287/2.286, allocations: 139.2 kB / 0.8962 GB, free: 147.1 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.21e-07/2.286, allocations: 0 / 0.8962 GB, free: 147.1 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001339/2.288, allocations: 283.6 kB / 0.8965 GB, free: 146.8 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002498/2.29, allocations: 1.681 MB / 0.8981 GB, free: 145.1 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0007848/2.291, allocations: 212.5 kB / 0.8983 GB, free: 144.9 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.55e-06/2.291, allocations: 4 kB / 0.8983 GB, free: 144.9 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003195/2.291, allocations: 71.91 kB / 0.8984 GB, free: 144.8 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000435/2.292, allocations: 31.89 kB / 0.8984 GB, free: 144.8 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1117/2.404, allocations: 30.1 MB / 0.9278 GB, free: 114.5 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000188/2.404, allocations: 0.7287 MB / 0.9285 GB, free: 113.7 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005577/2.404, allocations: 123.4 kB / 0.9286 GB, free: 113.6 MB / 490.7 MB Notification: Performance of SimCode: time 1.452e-06/2.405, allocations: 0 / 0.9286 GB, free: 113.6 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.027/5.431, allocations: 10.46 MB / 0.9388 GB, free: 103.1 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestAllProperties.CO2_res.mat does not exist to compare? outputFormat=mat