Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.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) Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Media_Examples_ReferenceAir_Inverse_sh_TX",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.691/1.691, allocations: 171.2 MB / 186.7 MB, free: 1.133 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003504/0.0003506, allocations: 8 kB / 233.2 MB, free: 2.98 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08414/0.08453, allocations: 38.78 MB / 272 MB, free: 12.12 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.002141/0.08674, allocations: 1.039 MB / 273.1 MB, free: 11.07 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.04214/0.1289, allocations: 20.41 MB / 293.5 MB, free: 6.613 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.143e-05/0.1291, allocations: 0 / 293.5 MB, free: 6.613 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001231/0.1292, allocations: 11.92 kB / 293.5 MB, free: 6.602 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01758/0.1468, allocations: 4.208 MB / 297.7 MB, free: 2.383 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008399/0.1477, allocations: 211.5 kB / 297.9 MB, free: 2.176 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001301/0.1478, allocations: 55.84 kB / 298 MB, free: 2.121 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.286e-05/0.1479, allocations: 4 kB / 298 MB, free: 2.117 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.836e-05/0.148, allocations: 31.89 kB / 298 MB, free: 2.086 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.743e-05/0.1481, allocations: 35.89 kB / 298 MB, free: 2.051 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.083e-05/0.1481, allocations: 8 kB / 298 MB, free: 2.043 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2452/0.3933, allocations: 7.73 MB / 305.8 MB, free: 10.75 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.225e-05/0.3934, allocations: 17.03 kB / 305.8 MB, free: 10.75 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.941e-05/0.3935, allocations: 31.42 kB / 305.8 MB, free: 10.72 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008547/0.402, allocations: 2.756 MB / 308.6 MB, free: 10.61 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.4021, allocations: 0 / 308.6 MB, free: 10.61 MB / 250.7 MB Notification: Performance of FrontEnd: time 3.656e-06/0.4021, allocations: 3.234 kB / 308.6 MB, free: 10.61 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.923e-06/0.4021, allocations: 0 / 308.6 MB, free: 10.61 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.003804/0.406, allocations: 0.8841 MB / 309.4 MB, free: 9.984 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.135e-05/0.406, allocations: 9.344 kB / 309.5 MB, free: 9.984 MB / 250.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.756e-05/0.4061, allocations: 46.72 kB / 309.5 MB, free: 9.941 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.997e-05/0.4061, allocations: 8.203 kB / 309.5 MB, free: 9.938 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001713/0.4063, allocations: 196.9 kB / 309.7 MB, free: 9.734 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.829e-05/0.4063, allocations: 2.156 kB / 309.7 MB, free: 9.734 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.679e-05/0.4064, allocations: 2 kB / 309.7 MB, free: 9.734 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00024/0.4066, allocations: 70.39 kB / 309.8 MB, free: 9.688 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.4066, allocations: 0 / 309.8 MB, free: 9.688 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.575e-05/0.4067, allocations: 1.406 kB / 309.8 MB, free: 9.688 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.4067, allocations: 5.641 kB / 309.8 MB, free: 9.684 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002658/0.4069, allocations: 45.69 kB / 309.8 MB, free: 9.684 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002156/0.4072, allocations: 190.7 kB / 310 MB, free: 9.48 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004323/0.4076, allocations: 102.1 kB / 310.1 MB, free: 9.43 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.007e-05/0.4077, allocations: 10.16 kB / 310.1 MB, free: 9.43 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.553e-05/0.4077, allocations: 36.31 kB / 310.2 MB, free: 9.391 MB / 250.7 MB Notification: Performance of pre-optimization done (n=6): time 2.104e-06/0.4078, allocations: 0 / 310.2 MB, free: 9.391 MB / 250.7 MB Notification: Performance of matching and sorting (n=6): time 0.0005587/0.4083, allocations: 103.1 kB / 310.3 MB, free: 9.359 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.466e-05/0.4084, allocations: 85.92 kB / 310.3 MB, free: 9.262 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001411/0.4085, allocations: 142.8 kB / 310.5 MB, free: 9.164 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.587e-05/0.4086, allocations: 25.7 kB / 310.5 MB, free: 9.133 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.681e-05/0.4086, allocations: 155.4 kB / 310.7 MB, free: 8.984 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.514e-05/0.4086, allocations: 17.91 kB / 310.7 MB, free: 8.973 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.386e-06/0.4087, allocations: 3.812 kB / 310.7 MB, free: 8.973 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 5.905e-05/0.4087, allocations: 317.9 kB / 311 MB, free: 8.656 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001315/0.4089, allocations: 18 kB / 311 MB, free: 8.656 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001381/0.409, allocations: 37.03 kB / 311 MB, free: 8.637 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001396/0.4092, allocations: 22.89 kB / 311.1 MB, free: 8.637 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.4092, allocations: 0 / 311.1 MB, free: 8.637 MB / 250.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003493/0.4095, allocations: 85.12 kB / 311.2 MB, free: 8.605 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.586e-05/0.4096, allocations: 5 kB / 311.2 MB, free: 8.605 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.4096, allocations: 0 / 311.2 MB, free: 8.605 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.785e-05/0.4097, allocations: 1.281 kB / 311.2 MB, free: 8.605 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001406/0.4098, allocations: 20.95 kB / 311.2 MB, free: 8.602 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.737e-06/0.4098, allocations: 4.781 kB / 311.2 MB, free: 8.602 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.661e-05/0.4099, allocations: 7.516 kB / 311.2 MB, free: 8.598 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.208e-05/0.41, allocations: 2.625 kB / 311.2 MB, free: 8.598 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (6): * Single equations (assignments): 6 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.748e-05/0.41, allocations: 116.5 kB / 311.3 MB, free: 8.48 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.561e-05/0.4101, allocations: 10.61 kB / 311.3 MB, free: 8.477 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000432/0.4105, allocations: 105.4 kB / 311.4 MB, free: 8.441 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.4105, allocations: 3.062 kB / 311.4 MB, free: 8.441 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/0.4106, allocations: 0 / 311.4 MB, free: 8.441 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.4106, allocations: 4.906 kB / 311.4 MB, free: 8.441 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001569/0.4107, allocations: 183.9 kB / 311.6 MB, free: 8.246 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.4108, allocations: 0.7812 kB / 311.6 MB, free: 8.246 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001229/0.4109, allocations: 11.47 kB / 311.6 MB, free: 8.246 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.6e-06/0.4109, allocations: 4.281 kB / 311.6 MB, free: 8.246 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.277e-05/0.4109, allocations: 2.922 kB / 311.6 MB, free: 8.246 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/0.4109, allocations: 3.312 kB / 311.6 MB, free: 8.246 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.073e-06/0.4109, allocations: 4 kB / 311.6 MB, free: 8.242 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003512/0.4113, allocations: 111.1 kB / 311.7 MB, free: 8.172 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.032e-05/0.4114, allocations: 100.9 kB / 311.8 MB, free: 8.07 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.558e-05/0.4114, allocations: 3.781 kB / 311.8 MB, free: 8.07 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001432/0.4116, allocations: 5.469 kB / 311.8 MB, free: 8.07 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.875e-05/0.4117, allocations: 14.81 kB / 311.9 MB, free: 8.066 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.29e-05/0.4117, allocations: 2.688 kB / 311.9 MB, free: 8.066 MB / 250.7 MB Notification: Performance of sorting global known variables: time 8.85e-05/0.4118, allocations: 112.2 kB / 312 MB, free: 7.992 MB / 250.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.4118, allocations: 0 / 312 MB, free: 7.992 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.004196/0.416, allocations: 0.9145 MB / 312.9 MB, free: 7.867 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (6): * Single equations (assignments): 6 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008813/0.4249, allocations: 1.795 MB / 314.7 MB, free: 7.094 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.000397/0.4253, allocations: 53.03 kB / 314.7 MB, free: 7.094 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 4.96e-06/0.4253, allocations: 0 / 314.7 MB, free: 7.094 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001493/0.4255, allocations: 25.8 kB / 314.8 MB, free: 7.094 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003243/0.4258, allocations: 18.31 kB / 314.8 MB, free: 7.09 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004039/0.4299, allocations: 0.9791 MB / 315.8 MB, free: 6.57 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001359/0.4301, allocations: 0.6886 MB / 316.4 MB, free: 5.875 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.341e-05/0.4301, allocations: 22.41 kB / 316.5 MB, free: 5.867 MB / 250.7 MB Notification: Performance of SimCode: time 1.593e-06/0.4302, allocations: 0 / 316.5 MB, free: 5.867 MB / 250.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.67/4.1, allocations: 22.51 MB / 339 MB, free: 3.16 MB / 266.7 MB