Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.1_cpp_Modelica.Media.Examples.MixtureGases.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.MixtureGases,fileNamePrefix="Modelica_3_1_cpp_Modelica_Media_Examples_MixtureGases",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 0.9912/0.9912, allocations: 111.2 MB / 124.2 MB, free: 11.21 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.958e-05/2.966e-05, allocations: 4 kB / 154.4 MB, free: 13.11 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.171/0.1711, allocations: 25.15 MB / 179.5 MB, free: 0.8125 MB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.807/1.978, allocations: 0.667 GB / 0.8423 GB, free: 13.34 MB / 234.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002189/1.978, allocations: 65.34 kB / 0.8423 GB, free: 13.3 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5518/2.53, allocations: 94.3 MB / 0.9344 GB, free: 14.54 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.763e-06/2.53, allocations: 4 kB / 0.9344 GB, free: 14.54 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.181e-05/2.53, allocations: 8 kB / 0.9344 GB, free: 14.53 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: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.003345/2.533, allocations: 0.7556 MB / 0.9352 GB, free: 13.73 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.455e-05/2.533, allocations: 12.03 kB / 0.9352 GB, free: 13.71 MB / 234.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.179e-05/2.533, allocations: 66.53 kB / 0.9353 GB, free: 13.64 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001143/2.534, allocations: 35.72 kB / 0.9353 GB, free: 13.61 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000398/2.534, allocations: 262.6 kB / 0.9355 GB, free: 13.31 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.536e-05/2.534, allocations: 28.5 kB / 0.9356 GB, free: 13.28 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.57e-05/2.534, allocations: 24 kB / 0.9356 GB, free: 13.26 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001079/2.535, allocations: 0.5363 MB / 0.9361 GB, free: 12.71 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.178e-05/2.535, allocations: 0 / 0.9361 GB, free: 12.71 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.279e-05/2.535, allocations: 16 kB / 0.9361 GB, free: 12.7 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.465e-05/2.535, allocations: 16.42 kB / 0.9361 GB, free: 12.68 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0011/2.537, allocations: 0.58 MB / 0.9367 GB, free: 12.11 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.003704/2.54, allocations: 1.431 MB / 0.9381 GB, free: 10.57 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000838/2.541, allocations: 353.3 kB / 0.9384 GB, free: 10.2 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002883/2.541, allocations: 121.7 kB / 0.9386 GB, free: 10.08 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003689/2.545, allocations: 2.088 MB / 0.9406 GB, free: 7.703 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.489e-05/2.545, allocations: 38.56 kB / 0.9406 GB, free: 7.656 MB / 234.7 MB Notification: Performance of pre-optimization done (n=35): time 3.257e-06/2.545, allocations: 0 / 0.9406 GB, free: 7.656 MB / 234.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium2.T Please use -d=bltdump for more information. Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium1.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=48): time 0.01428/2.559, allocations: 2.373 MB / 0.943 GB, free: 5.113 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.282e-05/2.56, allocations: 81.11 kB / 0.943 GB, free: 5.016 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001695/2.56, allocations: 170.3 kB / 0.9432 GB, free: 4.844 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 5.487e-05/2.56, allocations: 29.7 kB / 0.9432 GB, free: 4.809 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.807e-05/2.56, allocations: 246.5 kB / 0.9435 GB, free: 4.566 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001366/2.56, allocations: 173.5 kB / 0.9436 GB, free: 4.395 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.041e-05/2.56, allocations: 16 kB / 0.9436 GB, free: 4.379 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 6.759e-05/2.56, allocations: 334.8 kB / 0.944 GB, free: 4.043 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000393/2.561, allocations: 149.3 kB / 0.9441 GB, free: 3.898 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004716/2.561, allocations: 306.3 kB / 0.9444 GB, free: 3.531 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004647/2.562, allocations: 196.6 kB / 0.9446 GB, free: 3.34 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/2.562, allocations: 0 / 0.9446 GB, free: 3.34 MB / 234.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.00137/2.563, allocations: 0.563 MB / 0.9451 GB, free: 2.766 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.046e-05/2.563, allocations: 8 kB / 0.9451 GB, free: 2.758 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/2.563, allocations: 4 kB / 0.9451 GB, free: 2.754 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002542/2.563, allocations: 58.28 kB / 0.9452 GB, free: 2.691 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001407/2.565, allocations: 167.8 kB / 0.9454 GB, free: 2.527 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005781/2.565, allocations: 1.085 MB / 0.9464 GB, free: 1.391 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007718/2.566, allocations: 39.88 kB / 0.9465 GB, free: 1.352 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.07e-05/2.566, allocations: 39.98 kB / 0.9465 GB, free: 1.312 MB / 234.7 MB Warning: Assuming fixed start value for the following 4 variables: medium2.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 medium2.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 medium1.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 medium1.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: 22 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 68 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003008/2.566, allocations: 179 kB / 0.9467 GB, free: 1.137 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001182/2.567, allocations: 27.72 kB / 0.9467 GB, free: 1.109 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001787/2.568, allocations: 0.5539 MB / 0.9472 GB, free: 0.543 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.056e-06/2.568, allocations: 4 kB / 0.9472 GB, free: 0.5391 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.134e-06/2.568, allocations: 8 kB / 0.9472 GB, free: 0.5312 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.188e-06/2.568, allocations: 0 / 0.9472 GB, free: 0.5312 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1611/2.73, allocations: 1.121 MB / 0.9483 GB, free: 48.21 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.277e-06/2.73, allocations: 2.094 kB / 0.9483 GB, free: 48.21 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001447/2.731, allocations: 141.9 kB / 0.9485 GB, free: 48.21 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002093/2.731, allocations: 42.34 kB / 0.9485 GB, free: 48.2 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.612e-05/2.731, allocations: 24.64 kB / 0.9485 GB, free: 48.2 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001637/2.733, allocations: 2.534 MB / 0.951 GB, free: 45.72 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/2.733, allocations: 2.219 kB / 0.951 GB, free: 45.72 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00178/2.735, allocations: 0.884 MB / 0.9519 GB, free: 45.29 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002331/2.735, allocations: 144.1 kB / 0.952 GB, free: 45.2 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.653e-05/2.735, allocations: 11.06 kB / 0.952 GB, free: 45.2 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008586/2.736, allocations: 36.38 kB / 0.9521 GB, free: 45.2 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001032/2.736, allocations: 42.12 kB / 0.9521 GB, free: 45.2 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.556e-05/2.736, allocations: 32.8 kB / 0.9521 GB, free: 45.2 MB / 234.7 MB Notification: Performance of sorting global known variables: time 0.0001109/2.736, allocations: 127.4 kB / 0.9523 GB, free: 45.12 MB / 234.7 MB Notification: Performance of sort global known variables: time 4.21e-07/2.736, allocations: 0 / 0.9523 GB, free: 45.12 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.001859/2.738, allocations: 428.3 kB / 0.9527 GB, free: 45.12 MB / 234.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (medium1.p,medium1.T,medium2.p,medium2.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * 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): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006156/2.745, allocations: 3.077 MB / 0.9557 GB, free: 43.6 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.001354/2.746, allocations: 441.8 kB / 0.9561 GB, free: 43.59 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 6.001e-06/2.746, allocations: 3.062 kB / 0.9561 GB, free: 43.59 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000724/2.747, allocations: 425.6 kB / 0.9565 GB, free: 43.37 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000953/2.748, allocations: 91.69 kB / 0.9566 GB, free: 43.37 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003402/2.751, allocations: 0.9908 MB / 0.9576 GB, free: 43.08 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002712/2.751, allocations: 0.7865 MB / 0.9583 GB, free: 42.38 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005461/2.752, allocations: 140.2 kB / 0.9585 GB, free: 42.38 MB / 234.7 MB Notification: Performance of SimCode: time 1.162e-06/2.752, allocations: 3.562 kB / 0.9585 GB, free: 42.38 MB / 234.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.458/6.21, allocations: 18.14 MB / 0.9762 GB, free: 41.25 MB / 234.7 MB