Running command: "" <> buildModelFMU(Modelica.Utilities.Examples.ReadRealMatrixFromFile,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Utilities_Examples_ReadRealMatrixFromFile",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.049/2.049, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.292e-05/2.292e-05, allocations: 4 kB / 249.7 MB, free: 15.2 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2965/0.2966, allocations: 44.49 MB / 294.2 MB, free: 14.32 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1281/0.4247, allocations: 70.24 MB / 364.4 MB, free: 11.75 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002301/0.425, allocations: 71.89 kB / 364.5 MB, free: 11.68 MB / 314.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Utilities/Streams.mo:210:5-210:61:writable] Warning: Unused input variable nrow in function .Modelica.Utilities.Streams.readRealMatrix. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Utilities/Streams.mo:211:5-211:64:writable] Warning: Unused input variable ncol in function .Modelica.Utilities.Streams.readRealMatrix. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Utilities/Streams.mo:210:5-210:61:writable] Warning: Unused input variable nrow in function .Modelica.Utilities.Streams.readRealMatrix. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Utilities/Streams.mo:211:5-211:64:writable] Warning: Unused input variable ncol in function .Modelica.Utilities.Streams.readRealMatrix. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Utilities/Streams.mo:210:5-210:61:writable] Warning: Unused input variable nrow in function .Modelica.Utilities.Streams.readRealMatrix. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Utilities/Streams.mo:211:5-211:64:writable] Warning: Unused input variable ncol in function .Modelica.Utilities.Streams.readRealMatrix. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Utilities/Streams.mo:210:5-210:61:writable] Warning: Unused input variable nrow in function .Modelica.Utilities.Streams.readRealMatrix. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Utilities/Streams.mo:211:5-211:64:writable] Warning: Unused input variable ncol in function .Modelica.Utilities.Streams.readRealMatrix. Notification: Performance of FrontEnd - DAE generated: time 0.01523/0.4402, allocations: 3.283 MB / 367.8 MB, free: 8.395 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.4403, allocations: 0 / 367.8 MB, free: 8.395 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.462e-06/0.4403, allocations: 0 / 367.8 MB, free: 8.395 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.0003834/0.4407, allocations: 358.3 kB / 368.1 MB, free: 8 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.73e-05/0.4407, allocations: 12.03 kB / 368.1 MB, free: 7.988 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.533e-05/0.4408, allocations: 3.906 kB / 368.1 MB, free: 7.984 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005856/0.4414, allocations: 242.9 kB / 368.4 MB, free: 7.707 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.13e-05/0.4414, allocations: 0 / 368.4 MB, free: 7.707 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.909e-05/0.4415, allocations: 4 kB / 368.4 MB, free: 7.703 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.16e-05/0.4415, allocations: 0 / 368.4 MB, free: 7.703 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001481/0.4417, allocations: 78.78 kB / 368.5 MB, free: 7.602 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.4417, allocations: 0 / 368.5 MB, free: 7.602 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.015e-05/0.4417, allocations: 11.92 kB / 368.5 MB, free: 7.59 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.439e-06/0.4417, allocations: 0 / 368.5 MB, free: 7.59 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003877/0.4421, allocations: 166.1 kB / 368.6 MB, free: 7.391 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.199e-05/0.4422, allocations: 18.58 kB / 368.7 MB, free: 7.363 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.126e-05/0.4422, allocations: 4.859 kB / 368.7 MB, free: 7.355 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.215e-05/0.4422, allocations: 4.062 kB / 368.7 MB, free: 7.352 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.897e-05/0.4423, allocations: 38.56 kB / 368.7 MB, free: 7.305 MB / 314.7 MB Notification: Performance of pre-optimization done (n=1): time 2.244e-06/0.4423, allocations: 0 / 368.7 MB, free: 7.305 MB / 314.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001468/0.4425, allocations: 41.62 kB / 368.7 MB, free: 7.258 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.411e-05/0.4425, allocations: 132.5 kB / 368.9 MB, free: 7.098 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002329/0.4428, allocations: 152.6 kB / 369 MB, free: 6.941 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.132e-05/0.4428, allocations: 25.7 kB / 369 MB, free: 6.91 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.512e-05/0.4429, allocations: 158.6 kB / 369.2 MB, free: 6.754 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.34e-05/0.4429, allocations: 3.906 kB / 369.2 MB, free: 6.75 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.005e-06/0.443, allocations: 0 / 369.2 MB, free: 6.75 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001223/0.4431, allocations: 318.9 kB / 369.5 MB, free: 6.43 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.488e-05/0.4431, allocations: 0 / 369.5 MB, free: 6.43 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.999e-05/0.4432, allocations: 49.14 kB / 369.6 MB, free: 6.363 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.83e-05/0.4432, allocations: 7.953 kB / 369.6 MB, free: 6.355 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.4433, allocations: 64 / 369.6 MB, free: 6.355 MB / 314.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.253e-05/0.4434, allocations: 53.62 kB / 369.6 MB, free: 6.297 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.4434, allocations: 4 kB / 369.6 MB, free: 6.293 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.4434, allocations: 0 / 369.6 MB, free: 6.293 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.4434, allocations: 0 / 369.6 MB, free: 6.293 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.34e-05/0.4435, allocations: 7.938 kB / 369.6 MB, free: 6.285 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.376e-06/0.4435, allocations: 0 / 369.6 MB, free: 6.285 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001443/0.4437, allocations: 11.92 kB / 369.6 MB, free: 6.273 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.772e-06/0.4437, allocations: 0 / 369.6 MB, free: 6.273 MB / 314.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 9.612e-05/0.4438, allocations: 112.8 kB / 369.8 MB, free: 6.156 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 7.634e-05/0.4439, allocations: 41.61 kB / 369.8 MB, free: 6.109 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.572e-05/0.4439, allocations: 7.906 kB / 369.8 MB, free: 6.102 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.247e-05/0.4439, allocations: 16.67 kB / 369.8 MB, free: 6.09 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.444, allocations: 0 / 369.8 MB, free: 6.09 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.261e-06/0.444, allocations: 8 kB / 369.8 MB, free: 6.082 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.444, allocations: 0 / 369.8 MB, free: 6.082 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000239/0.4442, allocations: 158.2 kB / 370 MB, free: 5.891 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.4443, allocations: 0 / 370 MB, free: 5.891 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.424e-05/0.4443, allocations: 4 kB / 370 MB, free: 5.887 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.272e-06/0.4443, allocations: 4.031 kB / 370 MB, free: 5.883 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.4443, allocations: 0 / 370 MB, free: 5.883 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.948e-06/0.4444, allocations: 3.984 kB / 370 MB, free: 5.879 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.4444, allocations: 0 / 370 MB, free: 5.879 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001413/0.4445, allocations: 73 kB / 370.1 MB, free: 5.789 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.887e-05/0.4446, allocations: 93.02 kB / 370.2 MB, free: 5.68 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.406e-05/0.4447, allocations: 4 kB / 370.2 MB, free: 5.676 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001018/0.4448, allocations: 0 / 370.2 MB, free: 5.676 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.442e-05/0.4448, allocations: 8.094 kB / 370.2 MB, free: 5.668 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.617e-06/0.4448, allocations: 0 / 370.2 MB, free: 5.668 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001517/0.445, allocations: 127.2 kB / 370.3 MB, free: 5.543 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.21e-07/0.445, allocations: 4 kB / 370.3 MB, free: 5.539 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003031/0.4453, allocations: 19.94 kB / 370.3 MB, free: 5.52 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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.0008257/0.4461, allocations: 0.6878 MB / 371 MB, free: 4.828 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 8.994e-05/0.4463, allocations: 12 kB / 371 MB, free: 4.816 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/0.4463, allocations: 0 / 371 MB, free: 4.816 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.512e-05/0.4463, allocations: 7.938 kB / 371 MB, free: 4.809 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001485/0.4465, allocations: 11.98 kB / 371 MB, free: 4.797 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005315/0.447, allocations: 183.4 kB / 371.2 MB, free: 4.578 MB / 314.7 MB [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:637:5-637:146:writable] Error: Internal error function createSimCode failed [Transformation from optimised DAE to simulation code structure failed]