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.Inverse_sh_T.conf.json Using package ModelicaServices with version 1.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 1.0/package.mo) Using package Modelica with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.1/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T,fileNamePrefix="Modelica_3_1_cpp_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.006/1.006, allocations: 111.2 MB / 119.1 MB, free: 11.19 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.441e-05/2.441e-05, allocations: 0 / 148.2 MB, free: 6.133 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05571/0.05579, allocations: 25.18 MB / 173.4 MB, free: 12.91 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.091/1.147, allocations: 361.6 MB / 0.5224 GB, free: 47.67 MB / 234.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002271/1.147, allocations: 64.66 kB / 0.5225 GB, free: 47.64 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1811/1.328, allocations: 47.86 MB / 0.5692 GB, free: 1.254 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.034e-06/1.328, allocations: 0 / 0.5692 GB, free: 1.254 MB / 234.7 MB Notification: Performance of Transformations before backend: time 9.067e-06/1.328, allocations: 0 / 0.5692 GB, free: 1.254 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.0008722/1.329, allocations: 442.2 kB / 0.5697 GB, free: 0.7773 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.263e-05/1.329, allocations: 8.031 kB / 0.5697 GB, free: 0.7695 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.07e-05/1.329, allocations: 7.906 kB / 0.5697 GB, free: 0.7617 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000181/1.329, allocations: 187 kB / 0.5699 GB, free: 0.5391 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.535e-05/1.329, allocations: 4 kB / 0.5699 GB, free: 0.5352 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.203e-05/1.329, allocations: 4 kB / 0.5699 GB, free: 0.5312 MB / 234.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001133/1.33, allocations: 15.94 kB / 0.5699 GB, free: 0.5156 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000132/1.33, allocations: 55.41 kB / 0.5699 GB, free: 460 kB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/1.33, allocations: 3.984 kB / 0.5699 GB, free: 456 kB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.605e-05/1.33, allocations: 0 / 0.5699 GB, free: 456 kB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.643e-06/1.33, allocations: 0 / 0.5699 GB, free: 456 kB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002168/1.33, allocations: 155 kB / 0.5701 GB, free: 260 kB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003458/1.33, allocations: 73.31 kB / 0.5702 GB, free: 168 kB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.174e-05/1.331, allocations: 21.78 kB / 0.5702 GB, free: 140 kB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2135/1.544, allocations: 1.619 MB / 0.5718 GB, free: 57.67 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.983e-05/1.544, allocations: 36.8 kB / 0.5718 GB, free: 57.63 MB / 234.7 MB Notification: Performance of pre-optimization done (n=6): time 3.036e-06/1.544, allocations: 0.5469 kB / 0.5718 GB, free: 57.63 MB / 234.7 MB Notification: Performance of matching and sorting (n=6): time 0.001074/1.545, allocations: 155.6 kB / 0.5719 GB, free: 57.6 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.219e-05/1.545, allocations: 80.39 kB / 0.572 GB, free: 57.51 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001032/1.545, allocations: 106.4 kB / 0.5721 GB, free: 57.42 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.417e-05/1.545, allocations: 29.67 kB / 0.5721 GB, free: 57.39 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.632e-05/1.545, allocations: 154.2 kB / 0.5723 GB, free: 57.24 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.772e-05/1.545, allocations: 16.44 kB / 0.5723 GB, free: 57.23 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.756e-06/1.545, allocations: 1.375 kB / 0.5723 GB, free: 57.23 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 5.974e-05/1.546, allocations: 319.8 kB / 0.5726 GB, free: 56.92 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.313e-05/1.546, allocations: 6.156 kB / 0.5726 GB, free: 56.92 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.322e-05/1.546, allocations: 19.05 kB / 0.5726 GB, free: 56.9 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007806/1.546, allocations: 115.9 kB / 0.5727 GB, free: 56.9 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/1.546, allocations: 3.875 kB / 0.5728 GB, free: 56.9 MB / 234.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0008628/1.547, allocations: 158 kB / 0.5729 GB, free: 56.86 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.212e-05/1.547, allocations: 5.797 kB / 0.5729 GB, free: 56.86 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.124e-06/1.547, allocations: 0 / 0.5729 GB, free: 56.86 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.086e-05/1.547, allocations: 1.641 kB / 0.5729 GB, free: 56.86 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001563/1.548, allocations: 13.88 kB / 0.5729 GB, free: 56.86 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/1.548, allocations: 1.219 kB / 0.5729 GB, free: 56.86 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001018/1.548, allocations: 7.734 kB / 0.5729 GB, free: 56.86 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.905e-05/1.548, allocations: 3.047 kB / 0.5729 GB, free: 56.86 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 () * 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 6.511e-05/1.548, allocations: 113.9 kB / 0.573 GB, free: 56.75 MB / 234.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009186/1.549, allocations: 150.2 kB / 0.5732 GB, free: 56.72 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.366e-05/1.549, allocations: 10.94 kB / 0.5732 GB, free: 56.72 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001177/1.55, allocations: 208.9 kB / 0.5734 GB, free: 56.68 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.034e-05/1.55, allocations: 1.625 kB / 0.5734 GB, free: 56.68 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/1.55, allocations: 5.172 kB / 0.5734 GB, free: 56.68 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.511e-06/1.55, allocations: 0.6094 kB / 0.5734 GB, free: 56.68 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001548/1.55, allocations: 159 kB / 0.5736 GB, free: 56.52 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.172e-06/1.55, allocations: 2.812 kB / 0.5736 GB, free: 56.52 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001378/1.55, allocations: 19.77 kB / 0.5736 GB, free: 56.52 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.173e-06/1.55, allocations: 1.766 kB / 0.5736 GB, free: 56.52 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.371e-05/1.55, allocations: 5.5 kB / 0.5736 GB, free: 56.52 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/1.55, allocations: 0.7031 kB / 0.5736 GB, free: 56.52 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.085e-06/1.55, allocations: 1.656 kB / 0.5736 GB, free: 56.52 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009531/1.551, allocations: 216.2 kB / 0.5738 GB, free: 56.43 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.965e-05/1.551, allocations: 98.3 kB / 0.5739 GB, free: 56.33 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.682e-05/1.552, allocations: 0 / 0.5739 GB, free: 56.33 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.938e-05/1.552, allocations: 5.328 kB / 0.5739 GB, free: 56.33 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.945e-05/1.552, allocations: 8.688 kB / 0.5739 GB, free: 56.33 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.369e-05/1.552, allocations: 1.938 kB / 0.5739 GB, free: 56.33 MB / 234.7 MB Notification: Performance of sorting global known variables: time 5.139e-05/1.552, allocations: 92.56 kB / 0.574 GB, free: 56.25 MB / 234.7 MB Notification: Performance of sort global known variables: time 1.363e-06/1.552, allocations: 0 / 0.574 GB, free: 56.25 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0008684/1.553, allocations: 213.6 kB / 0.5742 GB, free: 56.25 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 () * 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.003105/1.556, allocations: 1.6 MB / 0.5758 GB, free: 55.53 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0001903/1.556, allocations: 31.97 kB / 0.5758 GB, free: 55.53 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/1.556, allocations: 1.594 kB / 0.5758 GB, free: 55.53 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 7.9e-05/1.556, allocations: 33 kB / 0.5758 GB, free: 55.53 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000353/1.556, allocations: 25.72 kB / 0.5758 GB, free: 55.53 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009061/1.557, allocations: 243.7 kB / 0.5761 GB, free: 55.38 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001433/1.558, allocations: 0.6899 MB / 0.5768 GB, free: 54.68 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001545/1.558, allocations: 37.42 kB / 0.5768 GB, free: 54.68 MB / 234.7 MB Notification: Performance of SimCode: time 1.212e-06/1.558, allocations: 0 / 0.5768 GB, free: 54.68 MB / 234.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.727/4.285, allocations: 6.897 MB / 0.5835 GB, free: 54.11 MB / 234.7 MB