Running command: "" <> buildModelFMU(MEV.Test.TestCylinderUnitOnOff,fileNamePrefix="MEV_MEV_Test_TestCylinderUnitOnOff",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(MEV): time 1.935/1.935, allocations: 207.6 MB / 219.8 MB, free: 8.047 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.882e-05/2.888e-05, allocations: 0 / 270.8 MB, free: 4.391 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0974/0.09746, allocations: 48.06 MB / 318.9 MB, free: 4.23 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3952/0.4928, allocations: 79.97 MB / 398.8 MB, free: 3.316 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002469/0.4931, allocations: 74.39 kB / 398.9 MB, free: 3.281 MB / 314.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/MEV 1.0.1/package.mo:393:7-394:74:writable] Warning: connect(inlet, inlet) connects the same connector instance! The connect equation will be ignored. Notification: Performance of FrontEnd - DAE generated: time 0.03037/0.5235, allocations: 6.802 MB / 405.7 MB, free: 13.57 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.5235, allocations: 0 / 405.7 MB, free: 13.57 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.698e-05/0.5235, allocations: 8 kB / 405.7 MB, free: 13.56 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.001576/0.5251, allocations: 0.6423 MB / 406.3 MB, free: 12.89 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.751e-05/0.5252, allocations: 8.031 kB / 406.4 MB, free: 12.88 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001046/0.5253, allocations: 69.91 kB / 406.4 MB, free: 12.82 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001597/0.5255, allocations: 47.53 kB / 406.5 MB, free: 12.78 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005285/0.526, allocations: 303.3 kB / 406.8 MB, free: 12.48 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.68e-05/0.5261, allocations: 27.22 kB / 406.8 MB, free: 12.46 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.82e-05/0.5262, allocations: 37.58 kB / 406.8 MB, free: 12.43 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007197/0.5269, allocations: 270.9 kB / 407.1 MB, free: 12.25 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.409e-05/0.527, allocations: 3.984 kB / 407.1 MB, free: 12.25 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.813e-05/0.527, allocations: 13.94 kB / 407.1 MB, free: 12.24 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.35e-05/0.527, allocations: 8 kB / 407.1 MB, free: 12.23 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005913/0.5276, allocations: 199.7 kB / 407.3 MB, free: 12.11 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002497/0.5301, allocations: 0.952 MB / 408.3 MB, free: 11.32 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000582/0.5308, allocations: 226.8 kB / 408.5 MB, free: 11.16 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002644/0.5311, allocations: 102.5 kB / 408.6 MB, free: 11.1 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.75e-05/0.5311, allocations: 240 / 408.6 MB, free: 11.1 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004315/0.5316, allocations: 176.5 kB / 408.8 MB, free: 10.95 MB / 330.7 MB Notification: Performance of pre-optimization done (n=31): time 2.765e-06/0.5316, allocations: 3.938 kB / 408.8 MB, free: 10.95 MB / 330.7 MB Notification: Performance of matching and sorting (n=36): time 0.00272/0.5343, allocations: 1.052 MB / 409.8 MB, free: 9.988 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.409e-05/0.5344, allocations: 59.41 kB / 409.9 MB, free: 9.918 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004128/0.5348, allocations: 263 kB / 410.1 MB, free: 9.707 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.576e-05/0.5349, allocations: 40.7 kB / 410.2 MB, free: 9.668 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001659/0.5351, allocations: 191 kB / 410.4 MB, free: 9.516 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000122/0.5352, allocations: 116 kB / 410.5 MB, free: 9.418 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.73e-05/0.5352, allocations: 7.312 kB / 410.5 MB, free: 9.418 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000144/0.5354, allocations: 341.8 kB / 410.8 MB, free: 9.086 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002678/0.5357, allocations: 88.25 kB / 410.9 MB, free: 9.031 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003085/0.536, allocations: 134.2 kB / 411 MB, free: 8.93 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003109/0.5363, allocations: 130.7 kB / 411.2 MB, free: 8.832 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-06/0.5363, allocations: 0 / 411.2 MB, free: 8.832 MB / 330.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008321/0.5372, allocations: 340.5 kB / 411.5 MB, free: 8.566 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001654/0.5374, allocations: 308.1 kB / 411.8 MB, free: 8.242 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.236e-06/0.5374, allocations: 0 / 411.8 MB, free: 8.242 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.593e-05/0.5374, allocations: 4 kB / 411.8 MB, free: 8.238 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000656/0.5381, allocations: 71.34 kB / 411.9 MB, free: 8.172 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.426e-05/0.5381, allocations: 4 kB / 411.9 MB, free: 8.168 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004885/0.5386, allocations: 34.78 kB / 411.9 MB, free: 8.141 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.064e-05/0.5387, allocations: 11.25 kB / 411.9 MB, free: 8.133 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.498e-06/0.5387, allocations: 5.562 kB / 411.9 MB, free: 8.129 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007447/0.5395, allocations: 297.8 kB / 412.2 MB, free: 7.914 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.157e-06/0.5395, allocations: 0 / 412.2 MB, free: 7.914 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.5395, allocations: 7.953 kB / 412.2 MB, free: 7.906 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005713/0.5401, allocations: 79.02 kB / 412.3 MB, free: 7.832 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.026e-05/0.5401, allocations: 4 kB / 412.3 MB, free: 7.828 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004442/0.5406, allocations: 25.73 kB / 412.3 MB, free: 7.809 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.787e-05/0.5406, allocations: 11.25 kB / 412.3 MB, free: 7.801 MB / 330.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: 9 ($whenCondition2,$whenCondition3,$whenCondition1,$PRE.opening.T_start,opening.T_start,$PRE.opening.count,opening.count,$PRE.controller.on,controller.on) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 1 * 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.0001517/0.5408, allocations: 126.6 kB / 412.5 MB, free: 7.684 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.792e-05/0.5409, allocations: 35.61 kB / 412.5 MB, free: 7.648 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008009/0.5417, allocations: 304.9 kB / 412.8 MB, free: 7.426 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.226e-05/0.5417, allocations: 7.953 kB / 412.8 MB, free: 7.418 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.5417, allocations: 3.938 kB / 412.8 MB, free: 7.414 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.303e-06/0.5417, allocations: 4 kB / 412.8 MB, free: 7.41 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001689/0.5434, allocations: 0.8444 MB / 413.7 MB, free: 6.676 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.012e-06/0.5435, allocations: 0 / 413.7 MB, free: 6.676 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007297/0.5442, allocations: 87.62 kB / 413.7 MB, free: 6.594 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.568e-06/0.5442, allocations: 0 / 413.7 MB, free: 6.594 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.598e-05/0.5443, allocations: 7.875 kB / 413.7 MB, free: 6.59 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.916e-06/0.5443, allocations: 4 kB / 413.7 MB, free: 6.586 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.222e-06/0.5443, allocations: 3.938 kB / 413.8 MB, free: 6.582 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001209/0.5455, allocations: 0.5955 MB / 414.3 MB, free: 6.051 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002817/0.5459, allocations: 139 kB / 414.5 MB, free: 5.91 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.653e-05/0.546, allocations: 11.25 kB / 414.5 MB, free: 5.906 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005262/0.5465, allocations: 31.34 kB / 414.5 MB, free: 5.879 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001507/0.5467, allocations: 46.89 kB / 414.6 MB, free: 5.84 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.659e-05/0.5467, allocations: 8 kB / 414.6 MB, free: 5.832 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003528/0.5471, allocations: 209.3 kB / 414.8 MB, free: 5.668 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.41e-07/0.5471, allocations: 0 / 414.8 MB, free: 5.668 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0008756/0.548, allocations: 154.8 kB / 414.9 MB, free: 5.535 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (bellJar.cylinder.M,bellJar.damper.s_rel,bellJar.damper.v_rel) * Number of discrete variables: 6 ($whenCondition2,$whenCondition3,$whenCondition1,opening.T_start,opening.count,controller.on) * Number of discrete states: 1 (opening.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.001758/0.5498, allocations: 1.498 MB / 416.4 MB, free: 4.105 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001157/0.551, allocations: 0.491 MB / 416.9 MB, free: 3.711 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.551, allocations: 0 / 416.9 MB, free: 3.711 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003905/0.5514, allocations: 143.4 kB / 417.1 MB, free: 3.609 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006505/0.5521, allocations: 53.09 kB / 417.1 MB, free: 3.574 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002464/0.5546, allocations: 0.7511 MB / 417.9 MB, free: 2.844 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004213/0.555, allocations: 0.8001 MB / 418.7 MB, free: 2.016 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004516/0.5555, allocations: 54.92 kB / 418.7 MB, free: 1.961 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000245/0.5558, allocations: 119.3 kB / 418.8 MB, free: 1.922 MB / 330.7 MB Notification: Performance of SimCode: time 1.303e-06/0.5558, allocations: 0 / 418.8 MB, free: 1.922 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03336/0.5891, allocations: 7.076 MB / 425.9 MB, free: 10.91 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003317/0.5895, allocations: 125.1 kB / 426 MB, free: 10.71 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.773/3.363, allocations: 0 / 426 MB, free: 10.71 MB / 346.7 MB