Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestAllProperties.DryAirNasa.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.TestAllProperties.DryAirNasa,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Media_TestAllProperties_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.149/2.149, allocations: 209.2 MB / 224.8 MB, free: 0.6211 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005035/0.0005037, allocations: 16 kB / 282.6 MB, free: 9.598 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3491/0.3497, allocations: 48.7 MB / 331.3 MB, free: 6.52 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.DryAirNasa): time 0.2218/0.5716, allocations: 126.1 MB / 457.4 MB, free: 96 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01285/0.5845, allocations: 6.824 MB / 464.2 MB, free: 9.262 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002197/0.5848, allocations: 3.938 kB / 464.2 MB, free: 9.258 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003201/0.5851, allocations: 43.72 kB / 464.2 MB, free: 9.215 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005044/0.5902, allocations: 1.173 MB / 465.4 MB, free: 8.039 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005927/0.5908, allocations: 135.7 kB / 465.5 MB, free: 7.906 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006831/0.5915, allocations: 267.3 kB / 465.8 MB, free: 7.645 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.982e-05/0.5916, allocations: 17.67 kB / 465.8 MB, free: 7.629 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005028/0.5921, allocations: 163.5 kB / 466 MB, free: 7.469 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004801/0.5926, allocations: 151.6 kB / 466.1 MB, free: 7.32 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 5.207e-05/0.5927, allocations: 8 kB / 466.1 MB, free: 7.312 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00401/0.5967, allocations: 1.116 MB / 467.3 MB, free: 6.195 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001466/0.5969, allocations: 47.81 kB / 467.3 MB, free: 6.148 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001302/0.597, allocations: 57.64 kB / 467.4 MB, free: 6.086 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002169/0.5992, allocations: 0.6322 MB / 468 MB, free: 5.461 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.5993, allocations: 0 / 468 MB, free: 5.461 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.815e-06/0.5993, allocations: 0 / 468 MB, free: 5.461 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.692e-06/0.5993, allocations: 0 / 468 MB, free: 5.461 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001985/0.6013, allocations: 0.6671 MB / 468.7 MB, free: 4.742 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.694e-05/0.6014, allocations: 8.031 kB / 468.7 MB, free: 4.734 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001135/0.6015, allocations: 58.5 kB / 468.7 MB, free: 4.668 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01336/0.6149, allocations: 0.597 MB / 469.3 MB, free: 4.07 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005965/0.6155, allocations: 254.7 kB / 469.6 MB, free: 3.781 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002134/0.6157, allocations: 127.4 kB / 469.7 MB, free: 3.633 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001519/0.6159, allocations: 16 kB / 469.7 MB, free: 3.617 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002103/0.618, allocations: 0.5634 MB / 470.3 MB, free: 3.02 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.742e-05/0.6181, allocations: 4 kB / 470.3 MB, free: 3.016 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001339/0.6182, allocations: 15.95 kB / 470.3 MB, free: 3 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.047e-05/0.6183, allocations: 8 kB / 470.3 MB, free: 2.992 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002546/0.6208, allocations: 0.626 MB / 470.9 MB, free: 2.363 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.003287/0.6241, allocations: 1.618 MB / 472.5 MB, free: 0.6172 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000572/0.6247, allocations: 154.5 kB / 472.7 MB, free: 468 kB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.316/0.9408, allocations: 0.6603 MB / 473.4 MB, free: 130.9 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.54e-05/0.9409, allocations: 38.97 kB / 473.4 MB, free: 130.8 MB / 394.7 MB Notification: Performance of pre-optimization done (n=18): time 3.096e-06/0.9409, allocations: 0.5312 kB / 473.4 MB, free: 130.8 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=18): time 0.00165/0.9425, allocations: 333.5 kB / 473.7 MB, free: 130.8 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.035e-05/0.9426, allocations: 55.48 kB / 473.8 MB, free: 130.7 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002181/0.9428, allocations: 187.5 kB / 474 MB, free: 130.6 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.814e-05/0.9429, allocations: 31.95 kB / 474 MB, free: 130.6 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001121/0.943, allocations: 258.3 kB / 474.2 MB, free: 130.4 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.527e-05/0.9431, allocations: 63.73 kB / 474.3 MB, free: 130.3 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.878e-05/0.9431, allocations: 9 kB / 474.3 MB, free: 130.3 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.144e-05/0.9432, allocations: 329.9 kB / 474.6 MB, free: 130 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002219/0.9434, allocations: 64.55 kB / 474.7 MB, free: 130 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003165/0.9438, allocations: 262.6 kB / 474.9 MB, free: 129.8 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003083/0.9441, allocations: 102.3 kB / 475 MB, free: 129.7 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.962e-06/0.9441, allocations: 1.219 kB / 475.1 MB, free: 129.7 MB / 394.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009153/0.945, allocations: 365.1 kB / 475.4 MB, free: 129.6 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.374e-05/0.9451, allocations: 12.16 kB / 475.4 MB, free: 129.6 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.515e-05/0.9451, allocations: 6.938 kB / 475.4 MB, free: 129.6 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.856e-05/0.9451, allocations: 11.12 kB / 475.4 MB, free: 129.6 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007083/0.9458, allocations: 124.3 kB / 475.6 MB, free: 129.6 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003256/0.9462, allocations: 0.6055 MB / 476.2 MB, free: 129 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003943/0.9466, allocations: 47.67 kB / 476.2 MB, free: 128.9 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.26e-05/0.9467, allocations: 42.53 kB / 476.3 MB, free: 128.9 MB / 394.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * 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.0001739/0.9469, allocations: 150.5 kB / 476.4 MB, free: 128.8 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.438e-05/0.947, allocations: 21.69 kB / 476.4 MB, free: 128.8 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001171/0.9481, allocations: 303.3 kB / 476.7 MB, free: 128.7 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.64e-06/0.9482, allocations: 3.281 kB / 476.7 MB, free: 128.7 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.9482, allocations: 0.7969 kB / 476.7 MB, free: 128.7 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.551e-06/0.9482, allocations: 1.641 kB / 476.7 MB, free: 128.7 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009091/0.9491, allocations: 0.5105 MB / 477.2 MB, free: 128.3 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.9491, allocations: 5.766 kB / 477.2 MB, free: 128.3 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003812/0.9495, allocations: 57.06 kB / 477.3 MB, free: 128.2 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.834e-06/0.9495, allocations: 2.719 kB / 477.3 MB, free: 128.2 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.557e-05/0.9496, allocations: 5.766 kB / 477.3 MB, free: 128.2 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002729/0.9499, allocations: 0.6013 MB / 477.9 MB, free: 127.7 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.037e-06/0.9499, allocations: 5.453 kB / 477.9 MB, free: 127.6 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004564/0.9503, allocations: 261.2 kB / 478.2 MB, free: 127.4 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001376/0.9505, allocations: 122 kB / 478.3 MB, free: 127.3 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.513e-05/0.9506, allocations: 6.766 kB / 478.3 MB, free: 127.3 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004404/0.951, allocations: 15.64 kB / 478.3 MB, free: 127.3 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.962e-05/0.9511, allocations: 16.19 kB / 478.3 MB, free: 127.3 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.737e-05/0.9512, allocations: 16.52 kB / 478.3 MB, free: 127.3 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001574/0.9513, allocations: 138.3 kB / 478.5 MB, free: 127.2 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.9513, allocations: 0 / 478.5 MB, free: 127.2 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001003/0.9523, allocations: 191.1 kB / 478.7 MB, free: 127.2 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 simulation (15): * Single equations (assignments): 14 * 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.001651/0.954, allocations: 1.018 MB / 479.7 MB, free: 126.4 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0008443/0.9549, allocations: 215.4 kB / 479.9 MB, free: 126.4 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.9549, allocations: 448 / 479.9 MB, free: 126.4 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003207/0.9552, allocations: 88.98 kB / 480 MB, free: 126.4 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006145/0.9559, allocations: 47.03 kB / 480 MB, free: 126.4 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002834/0.9587, allocations: 1.405 MB / 481.4 MB, free: 125.4 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002084/0.959, allocations: 0.7273 MB / 482.2 MB, free: 124.7 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000407/0.9594, allocations: 96.48 kB / 482.2 MB, free: 124.6 MB / 394.7 MB Notification: Performance of SimCode: time 2.715e-06/0.9594, allocations: 0 / 482.2 MB, free: 124.6 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.937/3.896, allocations: 6.56 MB / 488.8 MB, free: 121.8 MB / 394.7 MB