Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.1_cpp_Modelica.Media.Examples.TestOnly.FlueGas.conf.json Using package ModelicaServices with version 1.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 1.0/package.mo) Using package Modelica with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.TestOnly.FlueGas,fileNamePrefix="Modelica_3_1_cpp_Modelica_Media_Examples_TestOnly_FlueGas",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.108/1.108, allocations: 111.1 MB / 126.7 MB, free: 6.145 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003458/0.000346, allocations: 4 kB / 158.4 MB, free: 15.1 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05475/0.05514, allocations: 25.18 MB / 183.6 MB, free: 5.883 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.043/2.099, allocations: 0.665 GB / 0.8443 GB, free: 63.32 MB / 234.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001983/2.099, allocations: 66.08 kB / 0.8444 GB, free: 63.31 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1942/2.293, allocations: 57.94 MB / 0.901 GB, free: 11.61 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.693e-06/2.293, allocations: 7.938 kB / 0.901 GB, free: 11.6 MB / 234.7 MB Notification: Performance of Transformations before backend: time 8.766e-06/2.293, allocations: 0 / 0.901 GB, free: 11.6 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.0008147/2.294, allocations: 487.4 kB / 0.9014 GB, free: 11.07 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/2.294, allocations: 12.03 kB / 0.9014 GB, free: 11.06 MB / 234.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.487e-05/2.294, allocations: 58.48 kB / 0.9015 GB, free: 11 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.294e-05/2.294, allocations: 19.77 kB / 0.9015 GB, free: 10.98 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002399/2.294, allocations: 218.8 kB / 0.9017 GB, free: 10.72 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.838e-05/2.295, allocations: 8.328 kB / 0.9017 GB, free: 10.71 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.668e-05/2.295, allocations: 27.98 kB / 0.9018 GB, free: 10.69 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006113/2.295, allocations: 354.7 kB / 0.9021 GB, free: 10.33 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/2.295, allocations: 0 / 0.9021 GB, free: 10.33 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.482e-05/2.295, allocations: 4 kB / 0.9021 GB, free: 10.32 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.189e-05/2.295, allocations: 8 kB / 0.9021 GB, free: 10.32 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000641/2.296, allocations: 456 kB / 0.9025 GB, free: 9.871 MB / 234.7 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.002408/2.298, allocations: 1.181 MB / 0.9037 GB, free: 8.562 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004224/2.299, allocations: 209.1 kB / 0.9039 GB, free: 8.34 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001671/2.301, allocations: 1.059 MB / 0.9049 GB, free: 7.078 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.829e-05/2.301, allocations: 46.5 kB / 0.905 GB, free: 7.023 MB / 234.7 MB Notification: Performance of pre-optimization done (n=28): time 4.228e-06/2.301, allocations: 0 / 0.905 GB, free: 7.023 MB / 234.7 MB Notification: Performance of matching and sorting (n=28): time 0.0009794/2.302, allocations: 474.8 kB / 0.9054 GB, free: 6.535 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.582e-05/2.302, allocations: 81.11 kB / 0.9055 GB, free: 6.438 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001194/2.302, allocations: 124.9 kB / 0.9056 GB, free: 6.309 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 3.803e-05/2.302, allocations: 29.7 kB / 0.9056 GB, free: 6.273 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.361e-05/2.302, allocations: 182.4 kB / 0.9058 GB, free: 6.098 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.987e-05/2.302, allocations: 110.4 kB / 0.9059 GB, free: 5.988 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.096e-05/2.302, allocations: 4 kB / 0.9059 GB, free: 5.984 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 6.633e-05/2.302, allocations: 330.8 kB / 0.9062 GB, free: 5.652 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002179/2.302, allocations: 107.9 kB / 0.9063 GB, free: 5.547 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002673/2.303, allocations: 208.6 kB / 0.9065 GB, free: 5.297 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002852/2.303, allocations: 138.3 kB / 0.9067 GB, free: 5.164 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.469e-06/2.303, allocations: 0 / 0.9067 GB, free: 5.164 MB / 234.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008182/2.304, allocations: 401.3 kB / 0.9071 GB, free: 4.766 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/2.304, allocations: 8.094 kB / 0.9071 GB, free: 4.758 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/2.304, allocations: 4 kB / 0.9071 GB, free: 4.754 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.462e-05/2.304, allocations: 8 kB / 0.9071 GB, free: 4.746 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004258/2.304, allocations: 71.84 kB / 0.9072 GB, free: 4.676 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.348e-05/2.304, allocations: 11.98 kB / 0.9072 GB, free: 4.664 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002813/2.305, allocations: 35.64 kB / 0.9072 GB, free: 4.629 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.335e-05/2.305, allocations: 27.98 kB / 0.9072 GB, free: 4.602 MB / 234.7 MB Warning: Assuming fixed start value for the following 8 variables: state.T:VARIABLE(min = 1.0 max = 10000.0 start = 200.0 unit = "K" fixed = true nominal = 500.0 ) "Temperature of medium" type: Real state.p:VARIABLE(min = 0.0 max = 100000000.0 start = 100000.0 unit = "Pa" fixed = true nominal = 1000000.0 ) "Absolute pressure of medium" type: Real medium2.X[4]:VARIABLE(min = max(0.0, max(0.0, 0.0)) max = min(1.0, min(1.0, 1.0)) start = 0.4 unit = "kg/kg" fixed = true nominal = 0.1 ) "Mass fractions (= (component mass)/total mass m_i/m)" type: Real [4] medium2.X[3]:VARIABLE(min = max(0.0, max(0.0, 0.0)) max = min(1.0, min(1.0, 1.0)) start = 0.3 unit = "kg/kg" fixed = true nominal = 0.1 ) "Mass fractions (= (component mass)/total mass m_i/m)" type: Real [4] medium2.X[2]:VARIABLE(min = max(0.0, max(0.0, 0.0)) max = min(1.0, min(1.0, 1.0)) start = 0.1 unit = "kg/kg" fixed = true nominal = 0.1 ) "Mass fractions (= (component mass)/total mass m_i/m)" type: Real [4] medium2.X[1]:VARIABLE(min = max(0.0, max(0.0, 0.0)) max = min(1.0, min(1.0, 1.0)) start = 0.2 unit = "kg/kg" fixed = true nominal = 0.1 ) "Mass fractions (= (component mass)/total mass m_i/m)" type: Real [4] medium2.T:VARIABLE(min = max(1.0, 1.0) max = min(10000.0, 10000.0) start = 300.0 unit = "K" fixed = true nominal = 500.0 ) "Temperature of medium" type: Real medium2.p:VARIABLE(min = max(0.0, 2000.0) max = min(100000000.0, 1000000000.0) start = 200000.0 unit = "Pa" fixed = true nominal = 100000.0 ) "Absolute pressure of medium" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (38): * Single equations (assignments): 37 * Array equations: 1 * 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.000404/2.305, allocations: 223.9 kB / 0.9074 GB, free: 4.379 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.929e-05/2.305, allocations: 15.81 kB / 0.9075 GB, free: 4.363 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001043/2.306, allocations: 401.8 kB / 0.9078 GB, free: 3.969 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.493e-05/2.306, allocations: 4 kB / 0.9078 GB, free: 3.965 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.203e-06/2.306, allocations: 0 / 0.9078 GB, free: 3.965 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.346e-06/2.306, allocations: 7.984 kB / 0.9078 GB, free: 3.957 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009826/2.307, allocations: 329.3 kB / 0.9082 GB, free: 3.586 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/2.307, allocations: 4 kB / 0.9082 GB, free: 3.582 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004007/2.308, allocations: 55.86 kB / 0.9082 GB, free: 3.527 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.702e-06/2.308, allocations: 0 / 0.9082 GB, free: 3.527 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.675e-05/2.308, allocations: 15.98 kB / 0.9082 GB, free: 3.512 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.598e-06/2.308, allocations: 4 kB / 0.9082 GB, free: 3.508 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.227e-06/2.308, allocations: 4 kB / 0.9082 GB, free: 3.504 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000914/2.309, allocations: 0.5626 MB / 0.9088 GB, free: 2.918 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001731/2.309, allocations: 136.9 kB / 0.9089 GB, free: 2.766 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.51e-05/2.309, allocations: 11.98 kB / 0.9089 GB, free: 2.754 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003752/2.309, allocations: 16 kB / 0.9089 GB, free: 2.738 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.906e-05/2.309, allocations: 15.97 kB / 0.909 GB, free: 2.723 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.902e-05/2.309, allocations: 23.98 kB / 0.909 GB, free: 2.699 MB / 234.7 MB Notification: Performance of sorting global known variables: time 7.306e-05/2.31, allocations: 99.64 kB / 0.9091 GB, free: 2.602 MB / 234.7 MB Notification: Performance of sort global known variables: time 3.91e-07/2.31, allocations: 4 kB / 0.9091 GB, free: 2.598 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.00116/2.311, allocations: 219.8 kB / 0.9093 GB, free: 2.383 MB / 234.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 8 (state.p,state.T,medium2.p,medium2.T,medium2.X[1],medium2.X[2],medium2.X[3],medium2.X[4]) * 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 (25): * Single equations (assignments): 24 * Array equations: 1 * 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.002831/2.314, allocations: 1.898 MB / 0.9111 GB, free: 460 kB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0006879/2.314, allocations: 339.2 kB / 0.9115 GB, free: 124 kB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/2.314, allocations: 4 kB / 0.9115 GB, free: 120 kB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.1562/2.471, allocations: 152.9 kB / 0.9116 GB, free: 48.18 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00111/2.472, allocations: 87.92 kB / 0.9117 GB, free: 48.18 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004708/2.476, allocations: 4.02 MB / 0.9156 GB, free: 45.41 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002601/2.477, allocations: 0.7411 MB / 0.9164 GB, free: 44.71 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002631/2.477, allocations: 73.27 kB / 0.9164 GB, free: 44.71 MB / 234.7 MB Notification: Performance of SimCode: time 8.92e-07/2.477, allocations: 2.812 kB / 0.9164 GB, free: 44.71 MB / 234.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.899/5.376, allocations: 9.872 MB / 0.9261 GB, free: 43.95 MB / 234.7 MB