Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.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) Running command: "" <> buildModelFMU(Modelica.Thermal.HeatTransfer.Examples.TwoMasses,fileNamePrefix="Modelica_3_2_2_Modelica_Thermal_HeatTransfer_Examples_TwoMasses",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.068/2.068, allocations: 194.9 MB / 211.1 MB, free: 8.566 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005127/0.0005128, allocations: 12 kB / 264 MB, free: 3.488 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3015/0.302, allocations: 44.51 MB / 308.6 MB, free: 12.77 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.TwoMasses): time 0.00216/0.3042, allocations: 1.261 MB / 309.8 MB, free: 11.5 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001105/0.3054, allocations: 496.1 kB / 310.3 MB, free: 11.01 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.289e-05/0.3055, allocations: 0 / 310.3 MB, free: 11.01 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 3.628e-05/0.3055, allocations: 0 / 310.3 MB, free: 11.01 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 9.803e-05/0.3056, allocations: 35.84 kB / 310.3 MB, free: 10.97 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002159/0.3058, allocations: 27.97 kB / 310.4 MB, free: 10.95 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001291/0.306, allocations: 63.91 kB / 310.4 MB, free: 10.88 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001373/0.3061, allocations: 27.95 kB / 310.5 MB, free: 10.86 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.358e-05/0.3062, allocations: 31.86 kB / 310.5 MB, free: 10.82 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.666e-05/0.3063, allocations: 35.92 kB / 310.5 MB, free: 10.79 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.933e-05/0.3063, allocations: 4 kB / 310.5 MB, free: 10.79 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.753e-05/0.3064, allocations: 11.94 kB / 310.5 MB, free: 10.77 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.997e-05/0.3065, allocations: 19.91 kB / 310.6 MB, free: 10.75 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.517e-05/0.3065, allocations: 45.64 kB / 310.6 MB, free: 10.7 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000153/0.3067, allocations: 68.78 kB / 310.7 MB, free: 10.64 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.886e-06/0.3067, allocations: 4 kB / 310.7 MB, free: 10.63 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3067, allocations: 0 / 310.7 MB, free: 10.63 MB / 250.7 MB Notification: Performance of Transformations before backend: time 9.408e-06/0.3068, allocations: 0 / 310.7 MB, free: 10.63 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0005622/0.3073, allocations: 365.8 kB / 311 MB, free: 10.23 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/0.3074, allocations: 8.031 kB / 311 MB, free: 10.22 MB / 250.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.258e-05/0.3075, allocations: 42.55 kB / 311.1 MB, free: 10.17 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001362/0.3076, allocations: 11.91 kB / 311.1 MB, free: 10.16 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001558/0.3078, allocations: 174.9 kB / 311.3 MB, free: 9.949 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.808e-05/0.3078, allocations: 8 kB / 311.3 MB, free: 9.941 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.199e-05/0.3078, allocations: 12 kB / 311.3 MB, free: 9.93 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002556/0.3081, allocations: 81.61 kB / 311.4 MB, free: 9.844 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.712e-05/0.3081, allocations: 3.953 kB / 311.4 MB, free: 9.84 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.405e-05/0.3082, allocations: 4 kB / 311.4 MB, free: 9.836 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/0.3082, allocations: 4 kB / 311.4 MB, free: 9.832 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001687/0.3084, allocations: 51.97 kB / 311.4 MB, free: 9.781 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009455/0.3093, allocations: 392.5 kB / 311.8 MB, free: 9.348 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001859/0.3095, allocations: 74.56 kB / 311.9 MB, free: 9.266 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.06e-05/0.3096, allocations: 0 / 311.9 MB, free: 9.266 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.225e-05/0.3096, allocations: 38.5 kB / 311.9 MB, free: 9.219 MB / 250.7 MB Notification: Performance of pre-optimization done (n=8): time 1.693e-06/0.3096, allocations: 0 / 311.9 MB, free: 9.219 MB / 250.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002774/0.3099, allocations: 89.86 kB / 312 MB, free: 9.125 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.709e-05/0.3099, allocations: 51.41 kB / 312.1 MB, free: 9.062 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.63e-05/0.3101, allocations: 109.8 kB / 312.2 MB, free: 8.945 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.362e-05/0.3101, allocations: 33.7 kB / 312.2 MB, free: 8.906 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.212e-05/0.3102, allocations: 99.88 kB / 312.3 MB, free: 8.805 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.613e-05/0.3102, allocations: 31.55 kB / 312.3 MB, free: 8.773 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.506e-06/0.3102, allocations: 4 kB / 312.3 MB, free: 8.77 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001281/0.3104, allocations: 314.8 kB / 312.6 MB, free: 8.453 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.616e-05/0.3105, allocations: 23.98 kB / 312.7 MB, free: 8.43 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.175e-05/0.3106, allocations: 50.44 kB / 312.7 MB, free: 8.371 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.253e-05/0.3107, allocations: 32 kB / 312.7 MB, free: 8.34 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.3107, allocations: 0 / 312.7 MB, free: 8.34 MB / 250.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002871/0.311, allocations: 97.53 kB / 312.8 MB, free: 8.238 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.222e-05/0.311, allocations: 8 kB / 312.8 MB, free: 8.23 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.311, allocations: 0 / 312.8 MB, free: 8.23 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.3111, allocations: 0 / 312.8 MB, free: 8.23 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002206/0.3113, allocations: 27.94 kB / 312.9 MB, free: 8.203 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.277e-06/0.3113, allocations: 4 kB / 312.9 MB, free: 8.199 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.55e-05/0.3114, allocations: 12.06 kB / 312.9 MB, free: 8.188 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.408e-05/0.3114, allocations: 4 kB / 312.9 MB, free: 8.184 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (13): * Single equations (assignments): 13 * 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.0001159/0.3116, allocations: 121.8 kB / 313 MB, free: 8.055 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.5e-05/0.3116, allocations: 7.844 kB / 313 MB, free: 8.047 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.058e-05/0.3117, allocations: 8.375 kB / 313 MB, free: 8.039 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.064e-06/0.3117, allocations: 4 kB / 313 MB, free: 8.035 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.3117, allocations: 3.953 kB / 313 MB, free: 8.031 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.3117, allocations: 0 / 313 MB, free: 8.031 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00026/0.312, allocations: 193.6 kB / 313.2 MB, free: 7.793 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.312, allocations: 0 / 313.2 MB, free: 7.793 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001953/0.3122, allocations: 20.23 kB / 313.2 MB, free: 7.773 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.043e-05/0.3122, allocations: 7.922 kB / 313.2 MB, free: 7.766 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.605e-05/0.3122, allocations: 8 kB / 313.3 MB, free: 7.758 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.3123, allocations: 0 / 313.3 MB, free: 7.758 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.3123, allocations: 0 / 313.3 MB, free: 7.758 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002848/0.3126, allocations: 199.3 kB / 313.5 MB, free: 7.547 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.488e-05/0.3126, allocations: 89.02 kB / 313.5 MB, free: 7.441 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.983e-05/0.3127, allocations: 0 / 313.5 MB, free: 7.441 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.877e-05/0.3128, allocations: 4.031 kB / 313.5 MB, free: 7.438 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.053e-05/0.3128, allocations: 4 kB / 313.5 MB, free: 7.434 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.506e-06/0.3128, allocations: 4 kB / 313.6 MB, free: 7.43 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.956e-05/0.3129, allocations: 83.27 kB / 313.6 MB, free: 7.348 MB / 250.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.3129, allocations: 0 / 313.6 MB, free: 7.348 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003091/0.3132, allocations: 27.95 kB / 313.7 MB, free: 7.32 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (mass1.T,mass2.T) * 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 (8): * Single equations (assignments): 8 * 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.0005868/0.3138, allocations: 0.7284 MB / 314.4 MB, free: 6.562 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002171/0.314, allocations: 51.92 kB / 314.4 MB, free: 6.512 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.3141, allocations: 0 / 314.4 MB, free: 6.512 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 6.224e-05/0.3141, allocations: 32.05 kB / 314.5 MB, free: 6.48 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002483/0.3144, allocations: 4 kB / 314.5 MB, free: 6.477 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001208/0.3156, allocations: 0.6022 MB / 315.1 MB, free: 5.824 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000313/0.3159, allocations: 0.6926 MB / 315.8 MB, free: 5.105 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 9.528e-05/0.3161, allocations: 3.984 kB / 315.8 MB, free: 5.102 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.685e-05/0.3161, allocations: 23.44 kB / 315.8 MB, free: 5.078 MB / 250.7 MB Notification: Performance of SimCode: time 1.112e-06/0.3162, allocations: 4 kB / 315.8 MB, free: 5.074 MB / 250.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02007/0.3362, allocations: 1.503 MB / 317.3 MB, free: 3.609 MB / 250.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004034/0.3367, allocations: 174.5 kB / 317.5 MB, free: 3.371 MB / 250.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.375/2.711, allocations: 0 / 317.5 MB, free: 3.371 MB / 250.7 MB