Running command: "" <> buildModelFMU(Modelica.Utilities.Examples.ReadRealMatrixFromFile,fileNamePrefix="Modelica_3_2_2_Modelica_Utilities_Examples_ReadRealMatrixFromFile",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadModel(Modelica): time 1.86/1.86, allocations: 194.9 MB / 202.5 MB, free: 6.926 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2003/2.06, allocations: 46.82 MB / 249.3 MB, free: 5.355 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0913/2.152, allocations: 44.49 MB / 293.8 MB, free: 10.95 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2822/2.434, allocations: 70.23 MB / 364.1 MB, free: 7.145 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002044/2.434, allocations: 63.47 kB / 364.1 MB, free: 7.145 MB / 298.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: 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.02239/2.457, allocations: 5.676 MB / 369.8 MB, free: 6.512 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/2.457, allocations: 11.75 kB / 369.8 MB, free: 6.508 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.546e-05/2.457, allocations: 7.781 kB / 369.8 MB, free: 6.504 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007862/2.457, allocations: 370.3 kB / 370.2 MB, free: 6.293 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.036e-05/2.457, allocations: 0 / 370.2 MB, free: 6.293 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.883e-05/2.458, allocations: 3.875 kB / 370.2 MB, free: 6.293 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.103e-05/2.458, allocations: 0 / 370.2 MB, free: 6.293 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001116/2.458, allocations: 82.36 kB / 370.3 MB, free: 6.207 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/2.458, allocations: 0 / 370.3 MB, free: 6.207 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.899e-05/2.458, allocations: 0 / 370.3 MB, free: 6.207 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/2.458, allocations: 0 / 370.3 MB, free: 6.207 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003424/2.458, allocations: 172.4 kB / 370.4 MB, free: 6.043 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.124e-05/2.458, allocations: 14.58 kB / 370.4 MB, free: 6.02 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.021e-05/2.458, allocations: 10.27 kB / 370.5 MB, free: 6.012 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.173e-06/2.458, allocations: 0 / 370.5 MB, free: 6.012 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.384e-05/2.458, allocations: 38.44 kB / 370.5 MB, free: 5.969 MB / 298.7 MB Notification: Performance of pre-optimization done (n=1): time 1.382e-06/2.458, allocations: 0 / 370.5 MB, free: 5.969 MB / 298.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001389/2.458, allocations: 48.33 kB / 370.5 MB, free: 5.93 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.002e-05/2.458, allocations: 128.5 kB / 370.7 MB, free: 5.773 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001764/2.459, allocations: 152 kB / 370.8 MB, free: 5.68 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.535e-05/2.459, allocations: 25.7 kB / 370.8 MB, free: 5.648 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.767e-05/2.459, allocations: 89.64 kB / 370.9 MB, free: 5.566 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.623e-05/2.459, allocations: 7.938 kB / 370.9 MB, free: 5.559 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.815e-06/2.459, allocations: 0 / 370.9 MB, free: 5.559 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.923e-05/2.459, allocations: 321.8 kB / 371.2 MB, free: 5.246 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.556e-05/2.459, allocations: 2.156 kB / 371.3 MB, free: 5.246 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.298e-05/2.459, allocations: 46.12 kB / 371.3 MB, free: 5.199 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.524e-05/2.459, allocations: 13.25 kB / 371.3 MB, free: 5.191 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/2.459, allocations: 0 / 371.3 MB, free: 5.191 MB / 298.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.13e-05/2.459, allocations: 51.11 kB / 371.4 MB, free: 5.152 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/2.459, allocations: 7.719 kB / 371.4 MB, free: 5.152 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/2.459, allocations: 0 / 371.4 MB, free: 5.152 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/2.459, allocations: 2.016 kB / 371.4 MB, free: 5.152 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.986e-05/2.459, allocations: 3.875 kB / 371.4 MB, free: 5.152 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/2.459, allocations: 0 / 371.4 MB, free: 5.152 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000134/2.459, allocations: 3.812 kB / 371.4 MB, free: 5.152 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.706e-06/2.459, allocations: 3.906 kB / 371.4 MB, free: 5.148 MB / 298.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 0.000105/2.459, allocations: 121.1 kB / 371.5 MB, free: 21.03 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.501e-05/2.459, allocations: 7.812 kB / 371.5 MB, free: 21.03 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.357e-05/2.46, allocations: 4.625 kB / 371.5 MB, free: 21.03 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/2.46, allocations: 3.984 kB / 371.5 MB, free: 21.02 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/2.46, allocations: 3.906 kB / 371.5 MB, free: 21.02 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/2.46, allocations: 1.5 kB / 371.5 MB, free: 21.02 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002268/2.46, allocations: 149.8 kB / 371.7 MB, free: 20.87 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/2.46, allocations: 7.906 kB / 371.7 MB, free: 20.86 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.373e-05/2.46, allocations: 9.547 kB / 371.7 MB, free: 20.86 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/2.46, allocations: 0 / 371.7 MB, free: 20.86 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.825e-06/2.46, allocations: 0 / 371.7 MB, free: 20.86 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/2.46, allocations: 0 / 371.7 MB, free: 20.86 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/2.46, allocations: 0 / 371.7 MB, free: 20.86 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001255/2.46, allocations: 75.53 kB / 371.8 MB, free: 20.79 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002852/2.46, allocations: 464.5 kB / 372.2 MB, free: 20.34 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001035/2.46, allocations: 94.95 kB / 372.3 MB, free: 20.25 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.414e-05/2.461, allocations: 3.906 kB / 372.3 MB, free: 20.24 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001046/2.461, allocations: 5.328 kB / 372.3 MB, free: 20.24 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.215e-05/2.461, allocations: 0 / 372.3 MB, free: 20.24 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.417e-06/2.461, allocations: 0 / 372.3 MB, free: 20.24 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.0001453/2.461, allocations: 130.4 kB / 372.4 MB, free: 20.17 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001124/2.462, allocations: 22.72 kB / 372.5 MB, free: 20.16 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.0004013/2.462, allocations: 173.2 kB / 372.6 MB, free: 20.05 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 8.746e-05/2.462, allocations: 9 kB / 372.6 MB, free: 20.05 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/2.462, allocations: 0 / 372.6 MB, free: 20.05 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.431e-05/2.463, allocations: 9.062 kB / 372.6 MB, free: 20.05 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000137/2.463, allocations: 3.938 kB / 372.7 MB, free: 20.05 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003385/2.463, allocations: 110.7 kB / 372.8 MB, free: 19.96 MB / 314.7 MB [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:596:5-596:146:writable] Error: Internal error function createSimCode failed [Transformation from optimised DAE to simulation code structure failed] Error: Internal error SimCode: The model Modelica.Utilities.Examples.ReadRealMatrixFromFile could not be translated to FMU