Running command: "" <> buildModelFMU(KeyWordIO.Examples.WriteRealVariable,fileNamePrefix="KeyWordIO_KeyWordIO_Examples_WriteRealVariable",fmuType="me",version="2.0",platforms={"static"}) [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/KeyWordIO 0.9.0/readLineWithoutCache.mo:11:24-11:1688:writable] Warning: Lexer treating \ as \\, since \0 is not a valid Modelica escape sequence. Notification: Performance of loadModel(KeyWordIO): time 2.115/2.115, allocations: 206.8 MB / 218.9 MB, free: 8.73 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.178e-05/3.169e-05, allocations: 0 / 269.7 MB, free: 5.43 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1056/0.1057, allocations: 47.79 MB / 317.5 MB, free: 5.555 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4124/0.5182, allocations: 75.55 MB / 393 MB, free: 10.47 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002382/0.5185, allocations: 65.91 kB / 393.1 MB, free: 10.44 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006813/0.5253, allocations: 1.796 MB / 394.9 MB, free: 9.121 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.5253, allocations: 4 kB / 394.9 MB, free: 9.117 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.546e-06/0.5254, allocations: 4 kB / 394.9 MB, free: 9.113 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003899/0.5258, allocations: 360.1 kB / 395.2 MB, free: 8.711 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.338e-05/0.5258, allocations: 12.03 kB / 395.2 MB, free: 8.699 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.776e-05/0.5259, allocations: 34.25 kB / 395.3 MB, free: 8.66 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.808e-05/0.5259, allocations: 0 / 395.3 MB, free: 8.66 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001719/0.5261, allocations: 171 kB / 395.4 MB, free: 8.453 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.108e-05/0.5261, allocations: 0 / 395.4 MB, free: 8.453 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.132e-05/0.5262, allocations: 0 / 395.4 MB, free: 8.453 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.705e-05/0.5263, allocations: 33.7 kB / 395.5 MB, free: 8.414 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.347e-06/0.5263, allocations: 0 / 395.5 MB, free: 8.414 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/0.5263, allocations: 2.188 kB / 395.5 MB, free: 8.414 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.734e-06/0.5263, allocations: 4 kB / 395.5 MB, free: 8.41 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.434e-05/0.5263, allocations: 7.75 kB / 395.5 MB, free: 8.406 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001894/0.5265, allocations: 157.6 kB / 395.6 MB, free: 8.207 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.916e-05/0.5266, allocations: 22.56 kB / 395.7 MB, free: 8.176 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.436e-05/0.5266, allocations: 4.859 kB / 395.7 MB, free: 8.168 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.156e-05/0.5267, allocations: 4 kB / 395.7 MB, free: 8.164 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001432/0.5268, allocations: 102.6 kB / 395.8 MB, free: 8.043 MB / 314.7 MB Notification: Performance of pre-optimization done (n=2): time 1.823e-06/0.5268, allocations: 0 / 395.8 MB, free: 8.043 MB / 314.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001921/0.527, allocations: 79.17 kB / 395.9 MB, free: 7.957 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.709e-05/0.5271, allocations: 77.11 kB / 395.9 MB, free: 7.863 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000103/0.5272, allocations: 100.7 kB / 396 MB, free: 7.762 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.003e-05/0.5273, allocations: 29.73 kB / 396.1 MB, free: 7.727 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.234e-05/0.5273, allocations: 84.14 kB / 396.1 MB, free: 7.641 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.505e-05/0.5274, allocations: 7.75 kB / 396.1 MB, free: 7.637 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.807e-06/0.5274, allocations: 0 / 396.1 MB, free: 7.637 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001404/0.5275, allocations: 314.8 kB / 396.5 MB, free: 7.32 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.956e-05/0.5276, allocations: 4 kB / 396.5 MB, free: 7.316 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.484e-05/0.5276, allocations: 17.34 kB / 396.5 MB, free: 7.297 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.193e-05/0.5277, allocations: 29.77 kB / 396.5 MB, free: 7.262 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.564e-06/0.5277, allocations: 0.7656 kB / 396.5 MB, free: 7.262 MB / 314.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001346/0.5278, allocations: 79.19 kB / 396.6 MB, free: 7.172 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.155e-05/0.5279, allocations: 37.64 kB / 396.6 MB, free: 7.133 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.5279, allocations: 0 / 396.6 MB, free: 7.133 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.5279, allocations: 0 / 396.6 MB, free: 7.133 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.248e-05/0.528, allocations: 4 kB / 396.6 MB, free: 7.129 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.318e-06/0.528, allocations: 320 / 396.6 MB, free: 7.129 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.461e-05/0.5281, allocations: 19.98 kB / 396.6 MB, free: 7.109 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.835e-06/0.5281, allocations: 0 / 396.6 MB, free: 7.109 MB / 314.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: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 1 * 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.0001014/0.5282, allocations: 130.7 kB / 396.8 MB, free: 6.969 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.695e-05/0.5283, allocations: 3.953 kB / 396.8 MB, free: 6.965 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.987e-05/0.5283, allocations: 11.61 kB / 396.8 MB, free: 6.957 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.5283, allocations: 0 / 396.8 MB, free: 6.957 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.5283, allocations: 0 / 396.8 MB, free: 6.957 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.5283, allocations: 0 / 396.8 MB, free: 6.957 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001429/0.5285, allocations: 157.6 kB / 396.9 MB, free: 6.758 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.5285, allocations: 4 kB / 396.9 MB, free: 6.754 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.687e-05/0.5286, allocations: 11.92 kB / 397 MB, free: 6.742 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.5286, allocations: 3.953 kB / 397 MB, free: 6.738 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.032e-05/0.5286, allocations: 4 kB / 397 MB, free: 6.734 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.694e-06/0.5286, allocations: 0 / 397 MB, free: 6.734 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.5286, allocations: 3.984 kB / 397 MB, free: 6.73 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000144/0.5288, allocations: 98.36 kB / 397.1 MB, free: 6.617 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.03e-05/0.5289, allocations: 85.14 kB / 397.1 MB, free: 6.516 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.45e-05/0.5289, allocations: 11.94 kB / 397.2 MB, free: 6.504 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.805e-05/0.529, allocations: 4 kB / 397.2 MB, free: 6.5 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.527e-05/0.529, allocations: 4 kB / 397.2 MB, free: 6.496 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.426e-06/0.529, allocations: 0 / 397.2 MB, free: 6.496 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.955e-05/0.5291, allocations: 91.14 kB / 397.3 MB, free: 6.41 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.5291, allocations: 0 / 397.3 MB, free: 6.41 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003129/0.5295, allocations: 16 kB / 397.3 MB, free: 6.395 MB / 314.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: 1 ($whenCondition1) * Number of discrete states: 1 ($whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 1 * 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 Backend phase and start with SimCode phase: time 0.0008556/0.5303, allocations: 0.7319 MB / 398 MB, free: 5.664 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001325/0.5305, allocations: 63.34 kB / 398.1 MB, free: 5.594 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.5305, allocations: 0 / 398.1 MB, free: 5.594 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.976e-05/0.5306, allocations: 59.34 kB / 398.1 MB, free: 5.523 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001357/0.5307, allocations: 7.953 kB / 398.1 MB, free: 5.516 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003977/0.5311, allocations: 106.6 kB / 398.2 MB, free: 5.379 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000249/0.5314, allocations: 0.6809 MB / 398.9 MB, free: 4.672 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 2.579e-05/0.5314, allocations: 0 / 398.9 MB, free: 4.672 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.026e-05/0.5315, allocations: 14.94 kB / 398.9 MB, free: 4.66 MB / 314.7 MB Notification: Performance of SimCode: time 8.52e-07/0.5315, allocations: 0 / 398.9 MB, free: 4.66 MB / 314.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeMain.mo:718:13-718:124:writable] Error: Internal error Failed to copy path /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/KeyWordIO 0.9.0/../output.txt to KeyWordIO_KeyWordIO_Examples_WriteRealVariable.fmutmp/resources//var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/KeyWordIO 0.9.0/.. Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02649/0.558, allocations: 1.406 MB / 400.3 MB, free: 3.293 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003194/0.5584, allocations: 170.8 kB / 400.5 MB, free: 3.07 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.174/2.732, allocations: 0 / 400.5 MB, free: 3.07 MB / 314.7 MB