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.042/2.042, allocations: 194.9 MB / 208.4 MB, free: 3.242 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.542e-05/3.554e-05, allocations: 5.406 kB / 255.4 MB, free: 3.113 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09252/0.09259, allocations: 44.5 MB / 299.9 MB, free: 6.547 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3803/0.473, allocations: 70.9 MB / 370.8 MB, free: 20.96 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002448/0.4733, allocations: 65.11 kB / 370.9 MB, free: 20.96 MB / 314.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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/OpenModelica/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/OpenModelica/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/OpenModelica/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/OpenModelica/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/OpenModelica/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/OpenModelica/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/OpenModelica/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.01618/0.4895, allocations: 3.404 MB / 374.3 MB, free: 20.52 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.854e-06/0.4895, allocations: 0 / 374.3 MB, free: 20.52 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.845e-06/0.4896, allocations: 1.375 kB / 374.3 MB, free: 20.52 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.0003423/0.4899, allocations: 362.8 kB / 374.7 MB, free: 20.15 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.936e-05/0.49, allocations: 9.062 kB / 374.7 MB, free: 20.15 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.353e-05/0.49, allocations: 31.59 kB / 374.7 MB, free: 20.11 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.253e-05/0.4901, allocations: 8.203 kB / 374.7 MB, free: 20.11 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000578/0.4907, allocations: 234.8 kB / 374.9 MB, free: 19.91 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.167e-05/0.4907, allocations: 0.625 kB / 374.9 MB, free: 19.91 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.922e-05/0.4907, allocations: 1.906 kB / 374.9 MB, free: 19.91 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001455/0.4909, allocations: 82.12 kB / 375 MB, free: 19.82 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.4909, allocations: 0 / 375 MB, free: 19.82 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.051e-05/0.491, allocations: 4.531 kB / 375 MB, free: 19.82 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.491, allocations: 5.734 kB / 375 MB, free: 19.82 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.105e-05/0.491, allocations: 2.594 kB / 375 MB, free: 19.82 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000402/0.4914, allocations: 188.7 kB / 375.2 MB, free: 19.62 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.719e-05/0.4915, allocations: 23.39 kB / 375.2 MB, free: 19.59 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.308e-05/0.4915, allocations: 13.44 kB / 375.3 MB, free: 19.58 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.199e-05/0.4915, allocations: 0 / 375.3 MB, free: 19.58 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.466e-05/0.4916, allocations: 35.59 kB / 375.3 MB, free: 19.54 MB / 314.7 MB Notification: Performance of pre-optimization done (n=1): time 1.643e-06/0.4916, allocations: 0 / 375.3 MB, free: 19.54 MB / 314.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001567/0.4918, allocations: 41.58 kB / 375.3 MB, free: 19.51 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.609e-05/0.4918, allocations: 131.2 kB / 375.5 MB, free: 19.35 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002401/0.4921, allocations: 155.5 kB / 375.6 MB, free: 19.26 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.881e-05/0.4921, allocations: 31.08 kB / 375.6 MB, free: 19.22 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.154e-05/0.4922, allocations: 155.4 kB / 375.8 MB, free: 19.07 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.467e-05/0.4922, allocations: 9.625 kB / 375.8 MB, free: 19.07 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.356e-06/0.4922, allocations: 0 / 375.8 MB, free: 19.07 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.297e-05/0.4923, allocations: 315.3 kB / 376.1 MB, free: 18.75 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.042e-05/0.4923, allocations: 3.344 kB / 376.1 MB, free: 18.75 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.073e-05/0.4924, allocations: 55.12 kB / 376.2 MB, free: 18.7 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.41e-05/0.4925, allocations: 6.484 kB / 376.2 MB, free: 18.7 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.4925, allocations: 0 / 376.2 MB, free: 18.7 MB / 314.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.026e-05/0.4926, allocations: 42.73 kB / 376.2 MB, free: 18.67 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/0.4926, allocations: 5 kB / 376.2 MB, free: 18.67 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.4926, allocations: 0 / 376.2 MB, free: 18.67 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.4926, allocations: 1.219 kB / 376.2 MB, free: 18.67 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.63e-05/0.4927, allocations: 3.109 kB / 376.2 MB, free: 18.67 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/0.4927, allocations: 4.094 kB / 376.2 MB, free: 18.66 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001527/0.4929, allocations: 9.172 kB / 376.2 MB, free: 18.66 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.564e-06/0.4929, allocations: 4.75 kB / 376.2 MB, free: 18.66 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 7.484e-05/0.493, allocations: 112.3 kB / 376.4 MB, free: 18.55 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.64e-05/0.493, allocations: 8.031 kB / 376.4 MB, free: 18.54 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.431e-05/0.4931, allocations: 7.797 kB / 376.4 MB, free: 18.54 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.4931, allocations: 5.203 kB / 376.4 MB, free: 18.54 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.942e-06/0.4931, allocations: 0.6562 kB / 376.4 MB, free: 18.54 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.4931, allocations: 1.25 kB / 376.4 MB, free: 18.54 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000238/0.4934, allocations: 181.7 kB / 376.6 MB, free: 18.34 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.4934, allocations: 0.7031 kB / 376.6 MB, free: 18.34 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.369e-05/0.4934, allocations: 1.625 kB / 376.6 MB, free: 18.34 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.628e-06/0.4935, allocations: 2.016 kB / 376.6 MB, free: 18.34 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.616e-06/0.4935, allocations: 0 / 376.6 MB, free: 18.34 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.4935, allocations: 3.938 kB / 376.6 MB, free: 18.34 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.4935, allocations: 1.703 kB / 376.6 MB, free: 18.34 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001447/0.4937, allocations: 78.2 kB / 376.6 MB, free: 18.26 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.709e-05/0.4938, allocations: 98.28 kB / 376.7 MB, free: 18.16 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.005e-05/0.4938, allocations: 1.781 kB / 376.7 MB, free: 18.16 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001057/0.4939, allocations: 3.969 kB / 376.7 MB, free: 18.16 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.342e-05/0.4939, allocations: 4.875 kB / 376.7 MB, free: 18.16 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.929e-06/0.4939, allocations: 0.5156 kB / 376.7 MB, free: 18.16 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001632/0.4941, allocations: 133.4 kB / 376.9 MB, free: 18.09 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.4941, allocations: 0 / 376.9 MB, free: 18.09 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003364/0.4945, allocations: 24.48 kB / 376.9 MB, free: 18.08 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.0007008/0.4952, allocations: 0.6921 MB / 377.6 MB, free: 17.45 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001149/0.4953, allocations: 10.41 kB / 377.6 MB, free: 17.45 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.4953, allocations: 0 / 377.6 MB, free: 17.45 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.996e-05/0.4954, allocations: 8.016 kB / 377.6 MB, free: 17.45 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001535/0.4955, allocations: 11.64 kB / 377.6 MB, free: 17.44 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005312/0.4961, allocations: 184.9 kB / 377.8 MB, free: 17.28 MB / 314.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:744:5-744:146:writable] Error: Internal error function createSimCode failed [Transformation from optimised DAE to simulation code structure failed]