Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestOnly.IdealGasN2.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.Media.TestOnly.IdealGasN2,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Media_TestOnly_IdealGasN2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.957/1.958, allocations: 209.2 MB / 224.8 MB, free: 0.625 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004354/0.0004353, allocations: 19.98 kB / 282.6 MB, free: 9.598 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3956/0.3961, allocations: 48.7 MB / 331.3 MB, free: 6.516 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.2123/0.6085, allocations: 125.5 MB / 456.8 MB, free: 0.668 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001706/0.6102, allocations: 0.8146 MB / 457.6 MB, free: 15.85 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.842e-05/0.6103, allocations: 0 / 457.6 MB, free: 15.85 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002648/0.6106, allocations: 27.88 kB / 457.6 MB, free: 15.82 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007939/0.6114, allocations: 211.3 kB / 457.8 MB, free: 15.62 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004652/0.6119, allocations: 87.84 kB / 457.9 MB, free: 15.53 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002397/0.6121, allocations: 111.8 kB / 458 MB, free: 15.42 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.765e-05/0.6122, allocations: 11.98 kB / 458 MB, free: 15.41 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002755/0.6125, allocations: 83.75 kB / 458.1 MB, free: 15.33 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001168/0.6126, allocations: 51.83 kB / 458.2 MB, free: 15.28 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 2.53e-05/0.6126, allocations: 0 / 458.2 MB, free: 15.28 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009154/0.6136, allocations: 283.7 kB / 458.5 MB, free: 15 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 6.545e-05/0.6136, allocations: 19.91 kB / 458.5 MB, free: 14.98 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 5.591e-05/0.6137, allocations: 41.7 kB / 458.5 MB, free: 14.93 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004929/0.6142, allocations: 192.2 kB / 458.7 MB, free: 14.75 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.6142, allocations: 7.938 kB / 458.7 MB, free: 14.75 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.345e-06/0.6143, allocations: 0 / 458.7 MB, free: 14.75 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.813e-06/0.6143, allocations: 0 / 458.7 MB, free: 14.75 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0006227/0.6149, allocations: 387.1 kB / 459.1 MB, free: 14.32 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.697e-05/0.615, allocations: 8.031 kB / 459.1 MB, free: 14.31 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.414e-05/0.615, allocations: 46.55 kB / 459.1 MB, free: 14.26 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003406/0.6185, allocations: 196.1 kB / 459.3 MB, free: 14.07 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004999/0.619, allocations: 203 kB / 459.5 MB, free: 13.83 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.454e-05/0.619, allocations: 7.984 kB / 459.5 MB, free: 13.82 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.554e-05/0.6192, allocations: 8 kB / 459.5 MB, free: 13.81 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009187/0.6201, allocations: 228 kB / 459.8 MB, free: 13.57 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.652e-05/0.6201, allocations: 0 / 459.8 MB, free: 13.57 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.538e-05/0.6202, allocations: 4 kB / 459.8 MB, free: 13.57 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.086e-05/0.6202, allocations: 4 kB / 459.8 MB, free: 13.57 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007723/0.621, allocations: 167.8 kB / 459.9 MB, free: 13.4 MB / 394.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.0016/0.6226, allocations: 0.5795 MB / 460.5 MB, free: 12.77 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005573/0.6232, allocations: 134.5 kB / 460.6 MB, free: 12.62 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.144e-05/0.6233, allocations: 4 kB / 460.7 MB, free: 12.62 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.809e-05/0.6233, allocations: 34.5 kB / 460.7 MB, free: 12.58 MB / 394.7 MB Notification: Performance of pre-optimization done (n=14): time 2.154e-06/0.6233, allocations: 0 / 460.7 MB, free: 12.58 MB / 394.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: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.009279/0.6326, allocations: 1.311 MB / 462 MB, free: 11.18 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.29e-05/0.6327, allocations: 51.41 kB / 462 MB, free: 11.11 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001238/0.6328, allocations: 113.8 kB / 462.2 MB, free: 10.99 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.033e-05/0.6329, allocations: 29.7 kB / 462.2 MB, free: 10.96 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.62e-05/0.633, allocations: 170.4 kB / 462.4 MB, free: 10.79 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.379e-05/0.6331, allocations: 71.02 kB / 462.4 MB, free: 10.72 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.675e-05/0.6331, allocations: 0 / 462.4 MB, free: 10.72 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001394/0.6333, allocations: 322.8 kB / 462.7 MB, free: 10.39 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002634/0.6336, allocations: 67.97 kB / 462.8 MB, free: 10.33 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002973/0.6339, allocations: 103.6 kB / 462.9 MB, free: 10.21 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000312/0.6342, allocations: 80.12 kB / 463 MB, free: 10.14 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.6342, allocations: 0 / 463 MB, free: 10.14 MB / 394.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0008578/0.6351, allocations: 258.9 kB / 463.2 MB, free: 9.879 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/0.6351, allocations: 4 kB / 463.2 MB, free: 9.875 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.6351, allocations: 4 kB / 463.2 MB, free: 9.871 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002652/0.6354, allocations: 48.83 kB / 463.3 MB, free: 9.82 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005789/0.636, allocations: 63.98 kB / 463.4 MB, free: 9.758 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005834/0.6366, allocations: 0.5602 MB / 463.9 MB, free: 9.172 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003016/0.6369, allocations: 8.031 kB / 463.9 MB, free: 9.164 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.018e-05/0.637, allocations: 27.94 kB / 463.9 MB, free: 9.137 MB / 394.7 MB 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 () * Number of clocked 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.0002024/0.6372, allocations: 133.8 kB / 464.1 MB, free: 8.996 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.361e-05/0.6373, allocations: 7.906 kB / 464.1 MB, free: 8.988 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001356/0.6387, allocations: 346.9 kB / 464.4 MB, free: 8.645 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.6387, allocations: 4 kB / 464.4 MB, free: 8.641 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.6387, allocations: 0 / 464.4 MB, free: 8.641 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.355e-06/0.6387, allocations: 4 kB / 464.4 MB, free: 8.637 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001551/0.6403, allocations: 0.6114 MB / 465 MB, free: 7.957 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-06/0.6403, allocations: 0 / 465 MB, free: 7.957 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006203/0.6409, allocations: 63.95 kB / 465.1 MB, free: 7.895 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001199/0.6411, allocations: 20.84 kB / 465.1 MB, free: 7.871 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.708e-05/0.6411, allocations: 11.98 kB / 465.1 MB, free: 7.859 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001253/0.6424, allocations: 1.28 MB / 466.4 MB, free: 6.449 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.6424, allocations: 4.188 kB / 466.4 MB, free: 6.445 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001182/0.6436, allocations: 438.4 kB / 466.9 MB, free: 5.992 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.403e-05/0.6437, allocations: 85.05 kB / 466.9 MB, free: 5.891 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.179e-05/0.6438, allocations: 12.06 kB / 466.9 MB, free: 5.879 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000374/0.6442, allocations: 4 kB / 467 MB, free: 5.875 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.455e-05/0.6443, allocations: 31.86 kB / 467 MB, free: 5.844 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.077e-05/0.6443, allocations: 27.98 kB / 467 MB, free: 5.816 MB / 394.7 MB Notification: Performance of sorting global known variables: time 7.556e-05/0.6444, allocations: 87.27 kB / 467.1 MB, free: 5.73 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.6444, allocations: 0 / 467.1 MB, free: 5.73 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000584/0.645, allocations: 80 kB / 467.2 MB, free: 5.652 MB / 394.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 20 * 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.001938/0.647, allocations: 1.012 MB / 468.2 MB, free: 4.598 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0008002/0.6478, allocations: 199.9 kB / 468.4 MB, free: 4.402 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.6478, allocations: 4 kB / 468.4 MB, free: 4.398 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000529/0.6484, allocations: 226.6 kB / 468.6 MB, free: 4.164 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005888/0.649, allocations: 44.73 kB / 468.6 MB, free: 4.121 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002854/0.6519, allocations: 1.13 MB / 469.8 MB, free: 2.922 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003816/0.6523, allocations: 0.7088 MB / 470.5 MB, free: 2.188 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004488/0.6527, allocations: 79.28 kB / 470.6 MB, free: 2.109 MB / 394.7 MB Notification: Performance of SimCode: time 1.162e-06/0.6528, allocations: 0 / 470.6 MB, free: 2.109 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.166/3.819, allocations: 4.39 MB / 475 MB, free: 129.8 MB / 394.7 MB