Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.1_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.conf.json Using package ModelicaServices with version 1.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 1.0/package.mo) Using package Modelica with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T,fileNamePrefix="Modelica_3_1_cpp_Modelica_Media_Examples_SolveOneNonlinearEquation_InverseIncompressible_sh_T",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.057/1.057, allocations: 111.1 MB / 126.7 MB, free: 6.145 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006437/0.0006437, allocations: 4 kB / 158.4 MB, free: 15.11 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07171/0.07241, allocations: 25.18 MB / 183.6 MB, free: 5.891 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2887/0.3612, allocations: 71.55 MB / 255.1 MB, free: 10.96 MB / 202.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002831/0.3616, allocations: 63.97 kB / 255.2 MB, free: 10.89 MB / 202.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1594/0.521, allocations: 37.16 MB / 292.4 MB, free: 5.613 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.254e-06/0.5211, allocations: 3.938 kB / 292.4 MB, free: 5.609 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.121e-05/0.5211, allocations: 4 kB / 292.4 MB, free: 5.605 MB / 234.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.001041/0.5222, allocations: 0.4949 MB / 292.9 MB, free: 5.062 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.947e-05/0.5222, allocations: 8.031 kB / 292.9 MB, free: 5.055 MB / 234.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.598e-05/0.5223, allocations: 34.56 kB / 292.9 MB, free: 5.012 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.465e-05/0.5223, allocations: 8 kB / 292.9 MB, free: 5.004 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000297/0.5226, allocations: 202.8 kB / 293.1 MB, free: 4.766 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.088e-05/0.5226, allocations: 0 / 293.1 MB, free: 4.766 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.932e-05/0.5227, allocations: 4 kB / 293.1 MB, free: 4.762 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002319/0.5229, allocations: 63.33 kB / 293.2 MB, free: 4.688 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.5229, allocations: 0 / 293.2 MB, free: 4.688 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.296e-05/0.523, allocations: 8 kB / 293.2 MB, free: 4.68 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.523, allocations: 0 / 293.2 MB, free: 4.68 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002393/0.5232, allocations: 23.97 kB / 293.2 MB, free: 4.656 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002327/0.5235, allocations: 174.6 kB / 293.4 MB, free: 4.434 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004179/0.5239, allocations: 89.2 kB / 293.5 MB, free: 4.328 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001769/0.5257, allocations: 1.817 MB / 295.3 MB, free: 2.105 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.461e-05/0.5258, allocations: 38.5 kB / 295.3 MB, free: 2.059 MB / 234.7 MB Notification: Performance of pre-optimization done (n=6): time 2.395e-06/0.5258, allocations: 0 / 295.3 MB, free: 2.059 MB / 234.7 MB Notification: Performance of matching and sorting (n=6): time 0.0005487/0.5263, allocations: 81.56 kB / 295.4 MB, free: 1.973 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.783e-05/0.5264, allocations: 89.03 kB / 295.5 MB, free: 1.867 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001143/0.5265, allocations: 101 kB / 295.6 MB, free: 1.762 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.179e-05/0.5266, allocations: 29.7 kB / 295.6 MB, free: 1.727 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.054e-05/0.5266, allocations: 154.5 kB / 295.8 MB, free: 1.574 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.289e-05/0.5267, allocations: 19.75 kB / 295.8 MB, free: 1.555 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.622e-06/0.5267, allocations: 0 / 295.8 MB, free: 1.555 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001351/0.5269, allocations: 310.8 kB / 296.1 MB, free: 1.242 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001245/0.527, allocations: 19.98 kB / 296.1 MB, free: 1.223 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001361/0.5271, allocations: 21.7 kB / 296.1 MB, free: 1.195 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001268/0.5273, allocations: 15.98 kB / 296.1 MB, free: 1.18 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.501e-06/0.5273, allocations: 3.953 kB / 296.2 MB, free: 1.176 MB / 234.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003489/0.5277, allocations: 81.92 kB / 296.2 MB, free: 1.09 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/0.5277, allocations: 4 kB / 296.2 MB, free: 1.086 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.5277, allocations: 0 / 296.2 MB, free: 1.086 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.5277, allocations: 4 kB / 296.2 MB, free: 1.082 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001382/0.5279, allocations: 15.98 kB / 296.3 MB, free: 1.066 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.994e-06/0.5279, allocations: 0 / 296.3 MB, free: 1.066 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.134e-05/0.528, allocations: 4 kB / 296.3 MB, free: 1.062 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.884e-05/0.528, allocations: 4.031 kB / 296.3 MB, free: 1.059 MB / 234.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 0.000108/0.5281, allocations: 121.8 kB / 296.4 MB, free: 0.9297 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.217e-05/0.5282, allocations: 7.938 kB / 296.4 MB, free: 0.9219 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005501/0.5287, allocations: 129.4 kB / 296.5 MB, free: 0.7852 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.628e-06/0.5288, allocations: 7.875 kB / 296.5 MB, free: 0.7773 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.654e-06/0.5288, allocations: 4 kB / 296.5 MB, free: 0.7734 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.5288, allocations: 0 / 296.5 MB, free: 0.7734 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001925/0.529, allocations: 173.6 kB / 296.7 MB, free: 0.5547 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.529, allocations: 0 / 296.7 MB, free: 0.5547 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001269/0.5291, allocations: 19.94 kB / 296.7 MB, free: 0.5352 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.319e-05/0.5292, allocations: 4.125 kB / 296.7 MB, free: 0.5312 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.588e-05/0.5292, allocations: 8 kB / 296.7 MB, free: 0.5234 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.474e-06/0.5292, allocations: 0 / 296.7 MB, free: 0.5234 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.5292, allocations: 0 / 296.7 MB, free: 0.5234 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004003/0.5296, allocations: 139.5 kB / 296.9 MB, free: 368 kB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.759e-05/0.5297, allocations: 89.03 kB / 297 MB, free: 260 kB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.652e-05/0.5298, allocations: 4 kB / 297 MB, free: 256 kB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.614e-05/0.5299, allocations: 7.984 kB / 297 MB, free: 248 kB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.724e-05/0.5299, allocations: 7.984 kB / 297 MB, free: 240 kB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.2e-05/0.53, allocations: 0 / 297 MB, free: 240 kB / 234.7 MB Notification: Performance of sorting global known variables: time 7.251e-05/0.53, allocations: 87.28 kB / 297.1 MB, free: 152 kB / 234.7 MB Notification: Performance of sort global known variables: time 3.9e-07/0.53, allocations: 0 / 297.1 MB, free: 152 kB / 234.7 MB Notification: Performance of remove unused functions: time 0.1489/0.6789, allocations: 175.6 kB / 297.2 MB, free: 72.27 MB / 234.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 (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.001952/0.6809, allocations: 0.999 MB / 298.2 MB, free: 71.59 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0003568/0.6813, allocations: 43.36 kB / 298.3 MB, free: 71.59 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 4.389e-06/0.6813, allocations: 4.844 kB / 298.3 MB, free: 71.59 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001738/0.6815, allocations: 32.05 kB / 298.3 MB, free: 71.59 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003328/0.6819, allocations: 26.52 kB / 298.3 MB, free: 71.59 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001577/0.6835, allocations: 0.771 MB / 299.1 MB, free: 71.06 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001595/0.6837, allocations: 0.6859 MB / 299.8 MB, free: 70.36 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001146/0.6838, allocations: 31.58 kB / 299.8 MB, free: 70.36 MB / 234.7 MB Notification: Performance of SimCode: time 1.012e-06/0.6838, allocations: 0 / 299.8 MB, free: 70.36 MB / 234.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.681/3.365, allocations: 3.95 MB / 303.8 MB, free: 70.07 MB / 234.7 MB