Running command: "" <> buildModelFMU(MEV.Test.TestBellJarLinearControl,fileNamePrefix="MEV_MEV_Test_TestBellJarLinearControl",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(MEV): time 1.934/1.934, allocations: 207.6 MB / 219.8 MB, free: 8.043 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.226e-05/3.223e-05, allocations: 7.984 kB / 270.8 MB, free: 4.375 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09863/0.09868, allocations: 48.05 MB / 318.8 MB, free: 4.234 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4112/0.5099, allocations: 80.91 MB / 399.8 MB, free: 2.746 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002322/0.5102, allocations: 69.09 kB / 399.8 MB, free: 2.715 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.03091/0.5411, allocations: 7.553 MB / 407.4 MB, free: 12.39 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.5412, allocations: 4 kB / 407.4 MB, free: 12.39 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.939e-05/0.5412, allocations: 8 kB / 407.4 MB, free: 12.38 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: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.001479/0.5427, allocations: 0.6456 MB / 408 MB, free: 11.71 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.944e-05/0.5427, allocations: 8.031 kB / 408 MB, free: 11.7 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001043/0.5429, allocations: 71.72 kB / 408.1 MB, free: 11.64 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001182/0.543, allocations: 51.38 kB / 408.2 MB, free: 11.59 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005267/0.5435, allocations: 319.8 kB / 408.5 MB, free: 11.28 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.589e-05/0.5436, allocations: 28.16 kB / 408.5 MB, free: 11.27 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.901e-05/0.5437, allocations: 41.75 kB / 408.5 MB, free: 11.24 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007742/0.5445, allocations: 293.3 kB / 408.8 MB, free: 11.04 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.116e-05/0.5445, allocations: 3.938 kB / 408.8 MB, free: 11.04 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.946e-05/0.5446, allocations: 14.06 kB / 408.8 MB, free: 11.03 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.366e-05/0.5446, allocations: 8 kB / 408.9 MB, free: 11.02 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006219/0.5452, allocations: 220.7 kB / 409.1 MB, free: 10.89 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002428/0.5477, allocations: 1.041 MB / 410.1 MB, free: 10.04 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005989/0.5483, allocations: 241.6 kB / 410.3 MB, free: 9.875 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002712/0.5486, allocations: 106.4 kB / 410.4 MB, free: 9.805 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.568e-05/0.5486, allocations: 4 kB / 410.5 MB, free: 9.801 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003907/0.549, allocations: 159 kB / 410.6 MB, free: 9.672 MB / 330.7 MB Notification: Performance of pre-optimization done (n=30): time 2.746e-06/0.5491, allocations: 0 / 410.6 MB, free: 9.672 MB / 330.7 MB Notification: Performance of matching and sorting (n=35): time 0.002618/0.5517, allocations: 1.066 MB / 411.7 MB, free: 8.699 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.421e-05/0.5518, allocations: 59.39 kB / 411.7 MB, free: 8.629 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004517/0.5522, allocations: 279.1 kB / 412 MB, free: 8.406 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.313e-05/0.5523, allocations: 33.14 kB / 412 MB, free: 8.371 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001768/0.5525, allocations: 210.5 kB / 412.2 MB, free: 8.207 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001292/0.5526, allocations: 118.4 kB / 412.4 MB, free: 8.105 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.958e-05/0.5526, allocations: 7.875 kB / 412.4 MB, free: 8.102 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001498/0.5528, allocations: 347.5 kB / 412.7 MB, free: 7.77 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002655/0.5531, allocations: 93.98 kB / 412.8 MB, free: 7.707 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003059/0.5534, allocations: 134.5 kB / 412.9 MB, free: 7.605 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003124/0.5537, allocations: 129.1 kB / 413.1 MB, free: 7.508 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.5537, allocations: 0 / 413.1 MB, free: 7.508 MB / 330.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008166/0.5546, allocations: 366.1 kB / 413.4 MB, free: 7.219 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001851/0.5548, allocations: 384.5 kB / 413.8 MB, free: 6.816 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.5548, allocations: 8.031 kB / 413.8 MB, free: 6.809 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.286e-05/0.5548, allocations: 4 kB / 413.8 MB, free: 6.805 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000737/0.5556, allocations: 91.52 kB / 413.9 MB, free: 6.719 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.298e-05/0.5556, allocations: 3.984 kB / 413.9 MB, free: 6.715 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000409/0.556, allocations: 21.42 kB / 413.9 MB, free: 6.699 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.962e-05/0.5561, allocations: 11 kB / 413.9 MB, free: 6.691 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.684e-05/0.5561, allocations: 4 kB / 413.9 MB, free: 6.688 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007147/0.5568, allocations: 304.2 kB / 414.2 MB, free: 6.469 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.5569, allocations: 4 kB / 414.2 MB, free: 6.465 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.901e-06/0.5569, allocations: 0 / 414.2 MB, free: 6.465 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00066/0.5575, allocations: 87.2 kB / 414.3 MB, free: 6.383 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.859e-06/0.5576, allocations: 4 kB / 414.3 MB, free: 6.379 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003643/0.5579, allocations: 23.36 kB / 414.3 MB, free: 6.363 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.533e-05/0.558, allocations: 15.62 kB / 414.4 MB, free: 6.352 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.opening.T_start,opening.T_start,$PRE.opening.count,opening.count) * 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.0001349/0.5581, allocations: 135.3 kB / 414.5 MB, free: 6.223 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.368e-05/0.5582, allocations: 35.62 kB / 414.5 MB, free: 6.188 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007334/0.559, allocations: 294.3 kB / 414.8 MB, free: 5.984 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.695e-06/0.559, allocations: 4 kB / 414.8 MB, free: 5.98 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.559, allocations: 0 / 414.8 MB, free: 5.98 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.817e-06/0.559, allocations: 3.984 kB / 414.8 MB, free: 5.977 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001633/0.5607, allocations: 0.8567 MB / 415.7 MB, free: 5.238 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.123e-06/0.5607, allocations: 4 kB / 415.7 MB, free: 5.234 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007233/0.5614, allocations: 79.39 kB / 415.8 MB, free: 5.16 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.377e-06/0.5614, allocations: 4 kB / 415.8 MB, free: 5.156 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.051e-05/0.5615, allocations: 12.98 kB / 415.8 MB, free: 5.148 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.536e-06/0.5615, allocations: 8 kB / 415.8 MB, free: 5.141 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.5615, allocations: 0 / 415.8 MB, free: 5.141 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001059/0.5626, allocations: 0.5903 MB / 416.4 MB, free: 4.613 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002061/0.5628, allocations: 138.9 kB / 416.5 MB, free: 4.473 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.941e-05/0.5629, allocations: 11 kB / 416.5 MB, free: 4.469 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004484/0.5634, allocations: 27.61 kB / 416.5 MB, free: 4.445 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001047/0.5635, allocations: 34.97 kB / 416.6 MB, free: 4.418 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.284e-05/0.5635, allocations: 8 kB / 416.6 MB, free: 4.41 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003284/0.5639, allocations: 226.9 kB / 416.8 MB, free: 4.234 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.5639, allocations: 0 / 416.8 MB, free: 4.234 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0008006/0.5647, allocations: 161.4 kB / 417 MB, free: 4.094 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 4 (controller.firstOrder.y,bellJar.cylinder.M,bellJar.damper.s_rel,bellJar.damper.v_rel) * Number of discrete variables: 3 ($whenCondition1,opening.T_start,opening.count) * Number of discrete states: 1 (opening.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001507/0.5662, allocations: 1.491 MB / 418.5 MB, free: 2.676 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001069/0.5673, allocations: 0.4921 MB / 418.9 MB, free: 2.281 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.5673, allocations: 0 / 418.9 MB, free: 2.281 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003552/0.5677, allocations: 138.2 kB / 419.1 MB, free: 2.184 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006269/0.5683, allocations: 67.02 kB / 419.1 MB, free: 2.133 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002295/0.5706, allocations: 0.7906 MB / 419.9 MB, free: 1.371 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000431/0.5711, allocations: 0.8157 MB / 420.8 MB, free: 0.5273 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004472/0.5715, allocations: 56.92 kB / 420.8 MB, free: 480 kB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002449/0.5718, allocations: 128.8 kB / 420.9 MB, free: 440 kB / 330.7 MB Notification: Performance of SimCode: time 6.72e-07/0.5718, allocations: 0 / 420.9 MB, free: 440 kB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03205/0.6039, allocations: 7.451 MB / 428.4 MB, free: 9.055 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003374/0.6043, allocations: 120.9 kB / 428.5 MB, free: 8.855 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.594/3.198, allocations: 0 / 428.5 MB, free: 8.855 MB / 346.7 MB