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.IdealGasN2Mix.conf.json Using package ModelicaServices with version 1.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 1.0/package.mo) Using package Modelica with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.1/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.TestOnly.IdealGasN2Mix,fileNamePrefix="Modelica_3_1_cpp_Modelica_Media_Examples_TestOnly_IdealGasN2Mix",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 0.9936/0.9936, allocations: 111.2 MB / 119.1 MB, free: 11.18 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.906e-05/2.93e-05, allocations: 4 kB / 148.2 MB, free: 6.133 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08777/0.08786, allocations: 25.17 MB / 173.4 MB, free: 12.92 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.782/1.87, allocations: 0.6529 GB / 0.8223 GB, free: 22.08 MB / 234.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002373/1.87, allocations: 60.97 kB / 0.8223 GB, free: 22.05 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2804/2.15, allocations: 36.83 MB / 0.8583 GB, free: 67.54 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.823e-06/2.15, allocations: 0 / 0.8583 GB, free: 67.54 MB / 234.7 MB Notification: Performance of Transformations before backend: time 8.396e-06/2.15, allocations: 2.219 kB / 0.8583 GB, free: 67.54 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0006469/2.151, allocations: 412 kB / 0.8587 GB, free: 67.16 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.655e-05/2.151, allocations: 7.344 kB / 0.8587 GB, free: 67.16 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.825e-05/2.151, allocations: 15.17 kB / 0.8587 GB, free: 67.16 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002013/2.151, allocations: 190.8 kB / 0.8589 GB, free: 66.96 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.495e-05/2.151, allocations: 3.969 kB / 0.8589 GB, free: 66.96 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.711e-05/2.151, allocations: 5.25 kB / 0.8589 GB, free: 66.96 MB / 234.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003125/2.152, allocations: 158.5 kB / 0.859 GB, free: 66.96 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002399/2.152, allocations: 124.8 kB / 0.8592 GB, free: 66.93 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/2.152, allocations: 0 / 0.8592 GB, free: 66.93 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.09e-05/2.152, allocations: 2.625 kB / 0.8592 GB, free: 66.93 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/2.152, allocations: 0 / 0.8592 GB, free: 66.93 MB / 234.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.001142/2.153, allocations: 0.5673 MB / 0.8597 GB, free: 66.53 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003673/2.154, allocations: 150 kB / 0.8599 GB, free: 66.5 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.297e-05/2.154, allocations: 41.61 kB / 0.8599 GB, free: 66.5 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001278/2.155, allocations: 1.039 MB / 0.8609 GB, free: 65.47 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.537e-05/2.155, allocations: 39.81 kB / 0.861 GB, free: 65.43 MB / 234.7 MB Notification: Performance of pre-optimization done (n=14): time 2.605e-06/2.155, allocations: 2.656 kB / 0.861 GB, free: 65.43 MB / 234.7 MB Notification: Performance of matching and sorting (n=19): time 0.009752/2.165, allocations: 1.4 MB / 0.8623 GB, free: 64.94 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.736e-05/2.165, allocations: 61.33 kB / 0.8624 GB, free: 64.87 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.768e-05/2.165, allocations: 109.2 kB / 0.8625 GB, free: 64.77 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.494e-05/2.165, allocations: 25.7 kB / 0.8625 GB, free: 64.74 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.681e-05/2.165, allocations: 167.9 kB / 0.8627 GB, free: 64.58 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.48e-05/2.165, allocations: 59.84 kB / 0.8627 GB, free: 64.55 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.23e-05/2.165, allocations: 2.125 kB / 0.8627 GB, free: 64.55 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 5.957e-05/2.165, allocations: 319.1 kB / 0.863 GB, free: 64.24 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.942e-05/2.165, allocations: 45.39 kB / 0.8631 GB, free: 64.24 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001195/2.166, allocations: 74.45 kB / 0.8631 GB, free: 64.21 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001339/2.167, allocations: 228.7 kB / 0.8634 GB, free: 64.2 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/2.167, allocations: 2.062 kB / 0.8634 GB, free: 64.2 MB / 234.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001593/2.169, allocations: 353.8 kB / 0.8637 GB, free: 64.16 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.165e-05/2.169, allocations: 3.969 kB / 0.8637 GB, free: 64.16 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/2.169, allocations: 6.078 kB / 0.8637 GB, free: 64.15 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001464/2.169, allocations: 23.17 kB / 0.8637 GB, free: 64.14 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003665/2.169, allocations: 58.02 kB / 0.8638 GB, free: 64.14 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003389/2.17, allocations: 0.533 MB / 0.8643 GB, free: 63.62 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001462/2.17, allocations: 3.938 kB / 0.8643 GB, free: 63.62 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.769e-05/2.17, allocations: 11.19 kB / 0.8643 GB, free: 63.62 MB / 234.7 MB Warning: Assuming fixed start value for the following 2 variables: medium.T:VARIABLE(min = max(1.0, 1.0) max = min(10000.0, 10000.0) start = 300.0 unit = "K" nominal = 500.0 stateSelect=StateSelect.prefer ) "Temperature of medium" type: Real medium.p:VARIABLE(min = max(0.0, 2000.0) max = min(100000000.0, 1000000000.0) start = 100000.0 unit = "Pa" nominal = 100000.0 stateSelect=StateSelect.prefer ) "Absolute pressure of medium" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 22 * 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 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002091/2.17, allocations: 129.9 kB / 0.8644 GB, free: 63.51 MB / 234.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001603/2.172, allocations: 331.2 kB / 0.8648 GB, free: 63.46 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.683e-05/2.172, allocations: 7.844 kB / 0.8648 GB, free: 63.46 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00175/2.173, allocations: 389.8 kB / 0.8651 GB, free: 63.39 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/2.173, allocations: 3.516 kB / 0.8651 GB, free: 63.39 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.283e-06/2.173, allocations: 3.875 kB / 0.8652 GB, free: 63.39 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/2.173, allocations: 0 / 0.8652 GB, free: 63.39 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00207/2.176, allocations: 0.6517 MB / 0.8658 GB, free: 63.09 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/2.176, allocations: 0 / 0.8658 GB, free: 63.09 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003902/2.176, allocations: 53.41 kB / 0.8658 GB, free: 63.09 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001079/2.176, allocations: 19.44 kB / 0.8659 GB, free: 63.09 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.45e-05/2.176, allocations: 7.656 kB / 0.8659 GB, free: 63.08 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008195/2.177, allocations: 1.216 MB / 0.8671 GB, free: 61.89 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.2e-06/2.177, allocations: 5.281 kB / 0.8671 GB, free: 61.89 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001842/2.179, allocations: 0.5273 MB / 0.8676 GB, free: 61.67 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001183/2.179, allocations: 112.1 kB / 0.8677 GB, free: 61.57 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.137e-05/2.179, allocations: 7.156 kB / 0.8677 GB, free: 61.57 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002182/2.179, allocations: 2.438 kB / 0.8677 GB, free: 61.57 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.23e-05/2.179, allocations: 19.22 kB / 0.8677 GB, free: 61.57 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.549e-05/2.179, allocations: 13 kB / 0.8677 GB, free: 61.57 MB / 234.7 MB Notification: Performance of sorting global known variables: time 4.943e-05/2.179, allocations: 85.69 kB / 0.8678 GB, free: 61.49 MB / 234.7 MB Notification: Performance of sort global known variables: time 4.11e-07/2.18, allocations: 0 / 0.8678 GB, free: 61.49 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0009504/2.18, allocations: 178 kB / 0.868 GB, free: 61.47 MB / 234.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (medium.p,medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 18 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003866/2.184, allocations: 1.953 MB / 0.8699 GB, free: 60.39 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0005013/2.185, allocations: 140.2 kB / 0.87 GB, free: 60.38 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/2.185, allocations: 0 / 0.87 GB, free: 60.38 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002752/2.185, allocations: 174 kB / 0.8702 GB, free: 60.28 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005732/2.186, allocations: 43.53 kB / 0.8702 GB, free: 60.27 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001217/2.187, allocations: 413 kB / 0.8706 GB, free: 60 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001877/2.187, allocations: 0.7162 MB / 0.8713 GB, free: 59.3 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001534/2.187, allocations: 44.27 kB / 0.8714 GB, free: 59.29 MB / 234.7 MB Notification: Performance of SimCode: time 1.052e-06/2.187, allocations: 7.938 kB / 0.8714 GB, free: 59.28 MB / 234.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.1/5.288, allocations: 8.112 MB / 0.8793 GB, free: 58.32 MB / 234.7 MB