Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestAllProperties.SimpleAir.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.SimpleAir,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Media_TestAllProperties_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.298/2.298, allocations: 234.9 MB / 250.5 MB, free: 9.691 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006552/0.0006554, allocations: 11.98 kB / 314.4 MB, free: 9.648 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3973/0.398, allocations: 54.85 MB / 369.3 MB, free: 12.67 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.1993/0.5974, allocations: 115.3 MB / 484.6 MB, free: 9.059 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.007095/0.6046, allocations: 3.843 MB / 488.4 MB, free: 5.207 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001976/0.6048, allocations: 0 / 488.4 MB, free: 5.207 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000388/0.6052, allocations: 47.72 kB / 488.5 MB, free: 5.16 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0024/0.6076, allocations: 0.6309 MB / 489.1 MB, free: 4.527 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006848/0.6083, allocations: 147.8 kB / 489.2 MB, free: 4.383 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006424/0.609, allocations: 261.2 kB / 489.5 MB, free: 4.129 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.727e-05/0.6091, allocations: 17.67 kB / 489.5 MB, free: 4.113 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000317/0.6094, allocations: 147.6 kB / 489.6 MB, free: 3.969 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004432/0.6099, allocations: 175.5 kB / 489.8 MB, free: 3.797 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.328e-05/0.6099, allocations: 8 kB / 489.8 MB, free: 3.789 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002357/0.6123, allocations: 0.6671 MB / 490.5 MB, free: 3.121 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001113/0.6124, allocations: 47.8 kB / 490.5 MB, free: 3.074 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001006/0.6126, allocations: 57.64 kB / 490.6 MB, free: 3.012 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008782/0.6134, allocations: 284.4 kB / 490.9 MB, free: 2.734 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.6135, allocations: 0 / 490.9 MB, free: 2.734 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.294e-06/0.6135, allocations: 3.938 kB / 490.9 MB, free: 2.73 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.122e-06/0.6135, allocations: 4 kB / 490.9 MB, free: 2.727 MB / 410.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.001396/0.6149, allocations: 0.5538 MB / 491.4 MB, free: 2.125 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.677e-05/0.615, allocations: 8.031 kB / 491.4 MB, free: 2.117 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.805e-05/0.6151, allocations: 62.48 kB / 491.5 MB, free: 2.047 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001932/0.6153, allocations: 31.7 kB / 491.5 MB, free: 2.016 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003456/0.6156, allocations: 230.8 kB / 491.8 MB, free: 1.75 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002001/0.6158, allocations: 119.4 kB / 491.9 MB, free: 1.609 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.813e-05/0.6159, allocations: 27.94 kB / 491.9 MB, free: 1.582 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008368/0.6168, allocations: 326.8 kB / 492.2 MB, free: 1.238 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.206e-05/0.6168, allocations: 4 kB / 492.2 MB, free: 1.234 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.83e-05/0.6169, allocations: 12 kB / 492.2 MB, free: 1.223 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.306e-05/0.6169, allocations: 4 kB / 492.2 MB, free: 1.219 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00134/0.6183, allocations: 0.743 MB / 493 MB, free: 484 kB / 410.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.002096/0.6204, allocations: 1.272 MB / 494.3 MB, free: 15.09 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006002/0.621, allocations: 171.8 kB / 494.4 MB, free: 14.91 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003477/0.6245, allocations: 2.643 MB / 497.1 MB, free: 11.77 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.713e-05/0.6246, allocations: 34.56 kB / 497.1 MB, free: 11.73 MB / 426.7 MB Notification: Performance of pre-optimization done (n=15): time 2.004e-06/0.6246, allocations: 3.938 kB / 497.1 MB, free: 11.73 MB / 426.7 MB Notification: Performance of matching and sorting (n=16): time 0.0009913/0.6256, allocations: 226.7 kB / 497.3 MB, free: 11.5 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.449e-05/0.6257, allocations: 59.41 kB / 497.4 MB, free: 11.43 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002691/0.6259, allocations: 202.8 kB / 497.6 MB, free: 11.22 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.747e-05/0.626, allocations: 29.7 kB / 497.6 MB, free: 11.19 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001938/0.6262, allocations: 281.2 kB / 497.9 MB, free: 10.91 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.136e-05/0.6263, allocations: 63.2 kB / 497.9 MB, free: 10.85 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.002e-05/0.6263, allocations: 8 kB / 498 MB, free: 10.84 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001604/0.6265, allocations: 334.8 kB / 498.3 MB, free: 10.5 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001673/0.6267, allocations: 48.84 kB / 498.3 MB, free: 10.46 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003804/0.6271, allocations: 317.2 kB / 498.6 MB, free: 10.02 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002573/0.6273, allocations: 99.86 kB / 498.7 MB, free: 9.918 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.346e-06/0.6273, allocations: 4 kB / 498.7 MB, free: 9.914 MB / 426.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0008677/0.6282, allocations: 377.2 kB / 499.1 MB, free: 9.539 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.475e-05/0.6283, allocations: 8 kB / 499.1 MB, free: 9.531 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.869e-05/0.6283, allocations: 12 kB / 499.1 MB, free: 9.52 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.247e-05/0.6283, allocations: 12 kB / 499.1 MB, free: 9.508 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006679/0.629, allocations: 111.8 kB / 499.2 MB, free: 9.398 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.783e-05/0.6291, allocations: 19.92 kB / 499.3 MB, free: 9.379 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003597/0.6294, allocations: 24.5 kB / 499.3 MB, free: 9.355 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.365e-05/0.6295, allocations: 28.08 kB / 499.3 MB, free: 9.328 MB / 426.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.0001871/0.6297, allocations: 149.6 kB / 499.5 MB, free: 9.172 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.894e-05/0.6298, allocations: 19.81 kB / 499.5 MB, free: 9.152 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000559/0.6303, allocations: 176.9 kB / 499.7 MB, free: 8.969 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.631e-05/0.6304, allocations: 4 kB / 499.7 MB, free: 8.965 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/0.6304, allocations: 0 / 499.7 MB, free: 8.965 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.6304, allocations: 3.938 kB / 499.7 MB, free: 8.961 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000909/0.6313, allocations: 477.6 kB / 0.4884 GB, free: 8.426 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.676e-06/0.6313, allocations: 4 kB / 0.4884 GB, free: 8.422 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002883/0.6316, allocations: 27.98 kB / 0.4884 GB, free: 8.395 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.042e-06/0.6317, allocations: 0 / 0.4884 GB, free: 8.395 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.242e-05/0.6317, allocations: 8 kB / 0.4884 GB, free: 8.387 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-05/0.6317, allocations: 7.922 kB / 0.4885 GB, free: 8.379 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.6317, allocations: 7.938 kB / 0.4885 GB, free: 8.371 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003675/0.6321, allocations: 242.8 kB / 0.4887 GB, free: 8.105 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001433/0.6323, allocations: 108.8 kB / 0.4888 GB, free: 7.98 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.227e-05/0.6323, allocations: 8 kB / 0.4888 GB, free: 7.973 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003951/0.6327, allocations: 15.98 kB / 0.4888 GB, free: 7.957 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.273e-05/0.6328, allocations: 11.92 kB / 0.4888 GB, free: 7.945 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.987e-05/0.6329, allocations: 19.94 kB / 0.4889 GB, free: 7.926 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001894/0.6331, allocations: 140.5 kB / 0.489 GB, free: 7.789 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.6331, allocations: 0 / 0.489 GB, free: 7.789 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006867/0.6338, allocations: 91.98 kB / 0.4891 GB, free: 7.699 MB / 426.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.0008854/0.6347, allocations: 0.8093 MB / 0.4899 GB, free: 6.848 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005112/0.6352, allocations: 188.9 kB / 0.49 GB, free: 6.664 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.6352, allocations: 96 / 0.49 GB, free: 6.664 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001015/0.6353, allocations: 43.84 kB / 0.4901 GB, free: 6.621 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005793/0.6359, allocations: 46.7 kB / 0.4901 GB, free: 6.574 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002646/0.6386, allocations: 1.423 MB / 0.4915 GB, free: 4.957 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004015/0.639, allocations: 0.7287 MB / 0.4922 GB, free: 4.203 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001663/0.6392, allocations: 67.41 kB / 0.4923 GB, free: 4.137 MB / 426.7 MB Notification: Performance of SimCode: time 1.312e-06/0.6392, allocations: 0 / 0.4923 GB, free: 4.137 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.595/3.234, allocations: 3.961 MB / 0.4962 GB, free: 188 kB / 426.7 MB