Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.ConversionBlocks.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.Blocks.ConversionBlocks,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Blocks_ConversionBlocks",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.209/2.209, allocations: 234.9 MB / 250.5 MB, free: 9.562 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005837/0.0005838, allocations: 12 kB / 314.4 MB, free: 9.523 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3513/0.352, allocations: 54.87 MB / 369.3 MB, free: 12.76 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.003041/0.3551, allocations: 1.705 MB / 371 MB, free: 11.03 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002607/0.3577, allocations: 1.139 MB / 372.1 MB, free: 9.887 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.414e-05/0.3578, allocations: 4 kB / 372.1 MB, free: 9.883 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 4.214e-05/0.3579, allocations: 15.84 kB / 372.1 MB, free: 9.867 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001426/0.358, allocations: 27.89 kB / 372.2 MB, free: 9.84 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005837/0.3586, allocations: 155.6 kB / 372.3 MB, free: 9.688 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000205/0.3588, allocations: 112.4 kB / 372.4 MB, free: 9.574 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002202/0.3591, allocations: 77.56 kB / 372.5 MB, free: 9.5 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001316/0.3592, allocations: 51.72 kB / 372.6 MB, free: 9.449 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001204/0.3593, allocations: 67.62 kB / 372.6 MB, free: 9.383 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.131e-05/0.3594, allocations: 4 kB / 372.6 MB, free: 9.379 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003944/0.3598, allocations: 127.8 kB / 372.7 MB, free: 9.254 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.012e-05/0.3598, allocations: 31.84 kB / 372.8 MB, free: 9.223 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.788e-05/0.3599, allocations: 53.58 kB / 372.8 MB, free: 9.164 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004644/0.3604, allocations: 216.3 kB / 373 MB, free: 8.953 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.3604, allocations: 0 / 373 MB, free: 8.953 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3604, allocations: 4 kB / 373 MB, free: 8.949 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.069e-06/0.3604, allocations: 0 / 373 MB, free: 8.949 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0007083/0.3611, allocations: 491.1 kB / 373.5 MB, free: 8.422 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.651e-05/0.3612, allocations: 19.97 kB / 373.5 MB, free: 8.402 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001285/0.3613, allocations: 82.92 kB / 373.6 MB, free: 8.312 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001087/0.3624, allocations: 75.58 kB / 373.7 MB, free: 8.238 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001667/0.3626, allocations: 190.8 kB / 373.9 MB, free: 8.012 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.478e-05/0.3627, allocations: 20.66 kB / 373.9 MB, free: 7.992 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.605e-05/0.3627, allocations: 32 kB / 373.9 MB, free: 7.961 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006018/0.3633, allocations: 234.1 kB / 374.2 MB, free: 7.723 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.45e-05/0.3634, allocations: 0 / 374.2 MB, free: 7.723 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.414e-05/0.3634, allocations: 15.95 kB / 374.2 MB, free: 7.707 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.281e-05/0.3634, allocations: 8 kB / 374.2 MB, free: 7.699 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005101/0.364, allocations: 162.5 kB / 374.3 MB, free: 7.543 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001399/0.3654, allocations: 0.6556 MB / 375 MB, free: 6.832 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008634/0.3663, allocations: 227.3 kB / 375.2 MB, free: 6.602 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.615e-05/0.3663, allocations: 4.234 kB / 375.2 MB, free: 6.598 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.472e-05/0.3663, allocations: 38.8 kB / 375.3 MB, free: 6.551 MB / 298.7 MB Notification: Performance of pre-optimization done (n=27): time 1.823e-06/0.3664, allocations: 0 / 375.3 MB, free: 6.551 MB / 298.7 MB Notification: Performance of matching and sorting (n=27): time 0.0007054/0.3671, allocations: 219.6 kB / 375.5 MB, free: 6.332 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.157e-05/0.3671, allocations: 59.34 kB / 375.5 MB, free: 6.262 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.005e-05/0.3672, allocations: 101.8 kB / 375.6 MB, free: 6.152 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.821e-05/0.3673, allocations: 29.7 kB / 375.7 MB, free: 6.117 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001285/0.3674, allocations: 226.6 kB / 375.9 MB, free: 5.895 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001024/0.3675, allocations: 94.64 kB / 376 MB, free: 5.801 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.618e-05/0.3675, allocations: 4 kB / 376 MB, free: 5.797 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001385/0.3677, allocations: 318.8 kB / 376.3 MB, free: 5.477 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001602/0.3679, allocations: 39.98 kB / 376.3 MB, free: 5.438 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001654/0.368, allocations: 51.95 kB / 376.4 MB, free: 5.387 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001803/0.3682, allocations: 49.39 kB / 376.4 MB, free: 5.34 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.3682, allocations: 4 kB / 376.4 MB, free: 5.336 MB / 298.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004578/0.3687, allocations: 173.5 kB / 376.6 MB, free: 5.16 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.3687, allocations: 4 kB / 376.6 MB, free: 5.156 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.3688, allocations: 0 / 376.6 MB, free: 5.156 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.3688, allocations: 0 / 376.6 MB, free: 5.156 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007032/0.3695, allocations: 108.1 kB / 376.7 MB, free: 5.051 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.898e-06/0.3695, allocations: 3.984 kB / 376.7 MB, free: 5.047 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001151/0.3696, allocations: 19.84 kB / 376.7 MB, free: 5.027 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.018e-05/0.3697, allocations: 7.938 kB / 376.7 MB, free: 5.02 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (27): * Single equations (assignments): 27 * 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.0001544/0.3698, allocations: 129.8 kB / 376.9 MB, free: 4.883 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.082e-05/0.3699, allocations: 19.84 kB / 376.9 MB, free: 4.863 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.565e-05/0.37, allocations: 21.12 kB / 376.9 MB, free: 4.848 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.37, allocations: 4 kB / 376.9 MB, free: 4.844 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.37, allocations: 4 kB / 376.9 MB, free: 4.84 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.714e-06/0.37, allocations: 3.984 kB / 376.9 MB, free: 4.836 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004256/0.3705, allocations: 277.4 kB / 377.2 MB, free: 4.516 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.3705, allocations: 0 / 377.2 MB, free: 4.516 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006821/0.3712, allocations: 103.9 kB / 377.3 MB, free: 4.414 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.181e-06/0.3712, allocations: 3.953 kB / 377.3 MB, free: 4.41 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.201e-05/0.3712, allocations: 12 kB / 377.3 MB, free: 4.398 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.3712, allocations: 0 / 377.3 MB, free: 4.398 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.3712, allocations: 0 / 377.3 MB, free: 4.398 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004891/0.3717, allocations: 267.4 kB / 377.6 MB, free: 4.121 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.215e-05/0.3718, allocations: 92.86 kB / 377.7 MB, free: 4.012 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.283e-05/0.3718, allocations: 11.95 kB / 377.7 MB, free: 4 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001402/0.372, allocations: 11.98 kB / 377.7 MB, free: 3.988 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.174e-05/0.3721, allocations: 15.92 kB / 377.7 MB, free: 3.973 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.01e-05/0.3721, allocations: 4 kB / 377.7 MB, free: 3.969 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.763e-05/0.3721, allocations: 87.22 kB / 377.8 MB, free: 3.883 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.3722, allocations: 0 / 377.8 MB, free: 3.883 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003711/0.3725, allocations: 59.69 kB / 377.9 MB, free: 3.824 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (27): * Single equations (assignments): 27 * 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.00098/0.3735, allocations: 0.877 MB / 378.7 MB, free: 2.922 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000404/0.3739, allocations: 139.9 kB / 378.9 MB, free: 2.785 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.374, allocations: 0 / 378.9 MB, free: 2.785 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002169/0.3742, allocations: 75.91 kB / 378.9 MB, free: 2.711 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001921/0.3744, allocations: 13.2 kB / 379 MB, free: 2.699 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002105/0.3765, allocations: 1.152 MB / 380.1 MB, free: 1.492 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003341/0.3769, allocations: 0.7441 MB / 380.9 MB, free: 0.7227 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00016/0.3771, allocations: 67.41 kB / 380.9 MB, free: 0.6602 MB / 298.7 MB Notification: Performance of SimCode: time 9.02e-07/0.3771, allocations: 0 / 380.9 MB, free: 0.6602 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.157/2.534, allocations: 2.562 MB / 383.5 MB, free: 14.09 MB / 314.7 MB