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.SimpleAir.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.SimpleAir,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Media_TestAllProperties_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.171/2.171, allocations: 209.2 MB / 224.8 MB, free: 0.6172 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004539/0.0004543, allocations: 19.98 kB / 282.6 MB, free: 9.59 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4344/0.4349, allocations: 48.69 MB / 331.3 MB, free: 6.492 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.216/0.651, allocations: 115.3 MB / 446.6 MB, free: 10.93 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01425/0.6653, allocations: 3.835 MB / 450.4 MB, free: 7.09 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002541/0.6656, allocations: 3.938 kB / 450.4 MB, free: 7.086 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004907/0.6661, allocations: 47.78 kB / 450.4 MB, free: 7.039 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003498/0.6697, allocations: 0.6387 MB / 451.1 MB, free: 6.398 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009224/0.6706, allocations: 144.4 kB / 451.2 MB, free: 6.258 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008225/0.6714, allocations: 267.4 kB / 451.5 MB, free: 5.996 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.362e-05/0.6715, allocations: 13.69 kB / 451.5 MB, free: 5.984 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007964/0.6795, allocations: 143.6 kB / 451.6 MB, free: 5.844 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001262/0.6808, allocations: 179.5 kB / 451.8 MB, free: 5.668 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 6.004e-05/0.6809, allocations: 4 kB / 451.8 MB, free: 5.664 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00329/0.6842, allocations: 0.6672 MB / 452.5 MB, free: 4.996 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000156/0.6844, allocations: 47.8 kB / 452.5 MB, free: 4.949 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000139/0.6846, allocations: 65.58 kB / 452.6 MB, free: 4.879 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001179/0.6858, allocations: 288 kB / 452.9 MB, free: 4.605 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.6858, allocations: 4 kB / 452.9 MB, free: 4.602 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.695e-06/0.6858, allocations: 3.938 kB / 452.9 MB, free: 4.598 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.312e-06/0.6859, allocations: 4 kB / 452.9 MB, free: 4.594 MB / 378.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.00189/0.6878, allocations: 0.5383 MB / 453.4 MB, free: 4.004 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.993e-05/0.6878, allocations: 11.97 kB / 453.4 MB, free: 3.992 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007694/0.6955, allocations: 58.48 kB / 453.5 MB, free: 3.926 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003311/0.6959, allocations: 40.55 kB / 453.5 MB, free: 3.887 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004749/0.6964, allocations: 218.8 kB / 453.7 MB, free: 3.633 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002703/0.6967, allocations: 123.4 kB / 453.9 MB, free: 3.488 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.522e-05/0.6968, allocations: 27.98 kB / 453.9 MB, free: 3.461 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001137/0.6979, allocations: 330.8 kB / 454.2 MB, free: 3.113 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.852e-05/0.698, allocations: 0 / 454.2 MB, free: 3.113 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.199e-05/0.6981, allocations: 12 kB / 454.2 MB, free: 3.102 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-05/0.6981, allocations: 4 kB / 454.2 MB, free: 3.098 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001905/0.7, allocations: 0.7469 MB / 455 MB, free: 2.352 MB / 378.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.00271/0.7028, allocations: 1.272 MB / 456.3 MB, free: 0.9609 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007605/0.7036, allocations: 167.8 kB / 456.4 MB, free: 0.7891 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004569/0.7081, allocations: 2.64 MB / 459.1 MB, free: 13.66 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.636e-05/0.7082, allocations: 38.56 kB / 459.1 MB, free: 13.61 MB / 394.7 MB Notification: Performance of pre-optimization done (n=15): time 5.22e-06/0.7083, allocations: 0 / 459.1 MB, free: 13.61 MB / 394.7 MB Notification: Performance of matching and sorting (n=16): time 0.001181/0.7095, allocations: 239.3 kB / 459.3 MB, free: 13.37 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.276e-05/0.7095, allocations: 51.41 kB / 459.4 MB, free: 13.31 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000343/0.7099, allocations: 214.5 kB / 459.6 MB, free: 13.09 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.6e-05/0.71, allocations: 29.7 kB / 459.6 MB, free: 13.05 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002369/0.7102, allocations: 281.3 kB / 459.9 MB, free: 12.78 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.25e-05/0.7103, allocations: 63.12 kB / 460 MB, free: 12.71 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.793e-05/0.7104, allocations: 8 kB / 460 MB, free: 12.71 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001831/0.7106, allocations: 330.8 kB / 460.3 MB, free: 12.38 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001922/0.7108, allocations: 48.84 kB / 460.3 MB, free: 12.33 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004829/0.7113, allocations: 317.1 kB / 460.6 MB, free: 11.89 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003452/0.7116, allocations: 103.9 kB / 460.7 MB, free: 11.79 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.02e-05/0.7117, allocations: 4 kB / 460.7 MB, free: 11.78 MB / 394.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001202/0.7129, allocations: 373.1 kB / 461.1 MB, free: 11.41 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.597e-05/0.7129, allocations: 11.98 kB / 461.1 MB, free: 11.4 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.676e-05/0.713, allocations: 12 kB / 461.1 MB, free: 11.39 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.513e-05/0.713, allocations: 15.95 kB / 461.1 MB, free: 11.37 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009027/0.7139, allocations: 108.5 kB / 461.3 MB, free: 11.27 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.734e-05/0.714, allocations: 23.92 kB / 461.3 MB, free: 11.24 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005768/0.7146, allocations: 20 kB / 461.3 MB, free: 11.22 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.255e-05/0.7147, allocations: 24 kB / 461.3 MB, free: 11.2 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 (52): * Single equations (assignments): 51 * 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.0002562/0.715, allocations: 149.6 kB / 461.5 MB, free: 11.04 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.88e-05/0.7151, allocations: 23.75 kB / 461.5 MB, free: 11.02 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007434/0.7158, allocations: 184.8 kB / 461.7 MB, free: 10.83 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.312e-05/0.7159, allocations: 7.953 kB / 461.7 MB, free: 10.82 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.7159, allocations: 0 / 461.7 MB, free: 10.82 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.887e-06/0.7159, allocations: 4 kB / 461.7 MB, free: 10.82 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001168/0.7171, allocations: 469.6 kB / 462.1 MB, free: 10.29 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.204e-05/0.7171, allocations: 7.953 kB / 462.1 MB, free: 10.28 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000378/0.7175, allocations: 31.97 kB / 462.2 MB, free: 10.25 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.775e-06/0.7176, allocations: 0 / 462.2 MB, free: 10.25 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.46e-05/0.7176, allocations: 4 kB / 462.2 MB, free: 10.25 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.877e-06/0.7176, allocations: 4.125 kB / 462.2 MB, free: 10.24 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.033e-06/0.7176, allocations: 7.938 kB / 462.2 MB, free: 10.23 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004723/0.7181, allocations: 230.7 kB / 462.4 MB, free: 9.98 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002059/0.7184, allocations: 112.8 kB / 462.5 MB, free: 9.852 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.552e-05/0.7185, allocations: 12 kB / 462.5 MB, free: 9.84 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005971/0.7191, allocations: 7.984 kB / 462.6 MB, free: 9.832 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.924e-05/0.7192, allocations: 19.92 kB / 462.6 MB, free: 9.812 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.923e-05/0.7192, allocations: 11.98 kB / 462.6 MB, free: 9.801 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002448/0.7195, allocations: 144.5 kB / 462.7 MB, free: 9.66 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.41e-07/0.7195, allocations: 0 / 462.7 MB, free: 9.66 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001238/0.7207, allocations: 88 kB / 462.8 MB, free: 9.574 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 (14): * Single equations (assignments): 13 * 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.001213/0.722, allocations: 0.8288 MB / 463.6 MB, free: 8.707 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006645/0.7227, allocations: 176.8 kB / 463.8 MB, free: 8.535 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.7227, allocations: 0 / 463.8 MB, free: 8.535 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001445/0.7228, allocations: 41.59 kB / 463.9 MB, free: 8.496 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008262/0.7237, allocations: 52.73 kB / 463.9 MB, free: 8.441 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003736/0.7274, allocations: 1.4 MB / 465.3 MB, free: 6.844 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005278/0.728, allocations: 0.7326 MB / 466 MB, free: 6.086 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002299/0.7283, allocations: 67.41 kB / 466.1 MB, free: 6.02 MB / 394.7 MB Notification: Performance of SimCode: time 1.262e-06/0.7283, allocations: 4 kB / 466.1 MB, free: 6.016 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.566/3.294, allocations: 3.954 MB / 470.1 MB, free: 2.066 MB / 394.7 MB