Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestMatrices.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Math.TestMatrices,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Math_TestMatrices",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatrices,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Math_TestMatrices",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 loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001077/0.001077, allocations: 204.2 kB / 8.538 MB, free: 476 kB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.141/1.141, allocations: 225.5 MB / 234.4 MB, free: 9.496 MB / 194.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009423/0.0009423, allocations: 95.17 kB / 286.3 MB, free: 5.93 MB / 226.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1682/0.1682, allocations: 45.15 MB / 383.3 MB, free: 4.953 MB / 322.8 MB Notification: Performance of FrontEnd - loaded program: time 0.1665/0.3348, allocations: 69.36 MB / 452.7 MB, free: 48.25 MB / 322.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0882/0.423, allocations: 63.23 MB / 0.5038 GB, free: 0.9453 MB / 338.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2426/0.6657, allocations: 87.89 MB / 0.5897 GB, free: 15.9 MB / 418.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001756/0.6659, allocations: 63.97 kB / 0.5897 GB, free: 15.84 MB / 418.8 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.008897/0.6748, allocations: 2.962 MB / 0.5926 GB, free: 12.83 MB / 418.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.205e-05/0.6749, allocations: 8 kB / 0.5926 GB, free: 12.82 MB / 418.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.586e-05/0.6749, allocations: 4 kB / 0.5926 GB, free: 12.82 MB / 418.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.432e-05/0.675, allocations: 159.1 kB / 0.5928 GB, free: 12.62 MB / 418.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.13e-05/0.675, allocations: 3.984 kB / 0.5928 GB, free: 12.62 MB / 418.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.925e-06/0.675, allocations: 3.906 kB / 0.5928 GB, free: 12.61 MB / 418.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.74e-05/0.675, allocations: 7.938 kB / 0.5928 GB, free: 12.61 MB / 418.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.856e-05/0.6751, allocations: 37.69 kB / 0.5928 GB, free: 12.56 MB / 418.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.28e-06/0.6751, allocations: 0 / 0.5928 GB, free: 12.56 MB / 418.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.234e-06/0.6751, allocations: 0 / 0.5928 GB, free: 12.56 MB / 418.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.587e-06/0.6751, allocations: 0 / 0.5928 GB, free: 12.56 MB / 418.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.974e-05/0.6752, allocations: 122.2 kB / 0.593 GB, free: 12.41 MB / 418.8 MB Notification: Performance of preOpt comSubExp (simulation): time 2.639e-05/0.6753, allocations: 18.61 kB / 0.593 GB, free: 12.38 MB / 418.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.193e-05/0.6753, allocations: 4.859 kB / 0.593 GB, free: 12.37 MB / 418.8 MB Notification: Performance of preOpt evalFunc (simulation): time 7.064e-06/0.6753, allocations: 0 / 0.593 GB, free: 12.37 MB / 418.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.369e-05/0.6753, allocations: 60.27 kB / 0.593 GB, free: 12.3 MB / 418.8 MB Notification: Performance of pre-optimization done (n=1): time 2.414e-06/0.6754, allocations: 0 / 0.593 GB, free: 12.3 MB / 418.8 MB Notification: Performance of matching and sorting (n=1): time 0.0001227/0.6755, allocations: 45.59 kB / 0.5931 GB, free: 12.25 MB / 418.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.375e-05/0.6755, allocations: 81.11 kB / 0.5932 GB, free: 12.15 MB / 418.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.113e-05/0.6756, allocations: 85 kB / 0.5932 GB, free: 12.06 MB / 418.8 MB Notification: Performance of collectPreVariables (initialization): time 1.067e-05/0.6756, allocations: 29.64 kB / 0.5933 GB, free: 12.02 MB / 418.8 MB Notification: Performance of collectInitialEqns (initialization): time 2.166e-05/0.6756, allocations: 80.14 kB / 0.5934 GB, free: 11.94 MB / 418.8 MB Notification: Performance of collectInitialBindings (initialization): time 1.486e-05/0.6756, allocations: 0 / 0.5934 GB, free: 11.94 MB / 418.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.194e-06/0.6756, allocations: 4.031 kB / 0.5934 GB, free: 11.94 MB / 418.8 MB Notification: Performance of setup shared object (initialization): time 0.0001038/0.6758, allocations: 310.8 kB / 0.5937 GB, free: 11.62 MB / 418.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.841e-06/0.6758, allocations: 0 / 0.5937 GB, free: 11.62 MB / 418.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.48e-06/0.6758, allocations: 4 kB / 0.5937 GB, free: 11.62 MB / 418.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.393e-05/0.6758, allocations: 0.8438 kB / 0.5937 GB, free: 11.62 MB / 418.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.6758, allocations: 0 / 0.5937 GB, free: 11.62 MB / 418.8 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.572e-05/0.6759, allocations: 37.62 kB / 0.5937 GB, free: 11.58 MB / 418.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.147e-05/0.6759, allocations: 8 kB / 0.5937 GB, free: 11.57 MB / 418.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.6759, allocations: 8 kB / 0.5937 GB, free: 11.56 MB / 418.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.986e-06/0.6759, allocations: 0 / 0.5937 GB, free: 11.56 MB / 418.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.82e-07/0.6759, allocations: 0 / 0.5937 GB, free: 11.56 MB / 418.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.026e-06/0.6759, allocations: 0 / 0.5937 GB, free: 11.56 MB / 418.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.223e-05/0.676, allocations: 4 kB / 0.5937 GB, free: 11.56 MB / 418.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.211e-06/0.676, allocations: 3.938 kB / 0.5937 GB, free: 11.55 MB / 418.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * 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 8.146e-05/0.6761, allocations: 130.7 kB / 0.5938 GB, free: 11.41 MB / 418.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.843e-06/0.6761, allocations: 0 / 0.5938 GB, free: 11.41 MB / 418.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.333e-05/0.6761, allocations: 10.94 kB / 0.5938 GB, free: 11.4 MB / 418.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.6761, allocations: 7.906 kB / 0.5939 GB, free: 11.39 MB / 418.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.005e-06/0.6761, allocations: 0 / 0.5939 GB, free: 11.39 MB / 418.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.6761, allocations: 0 / 0.5939 GB, free: 11.39 MB / 418.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.622e-05/0.6762, allocations: 126.2 kB / 0.594 GB, free: 11.23 MB / 418.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.11e-07/0.6762, allocations: 0 / 0.594 GB, free: 11.23 MB / 418.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.01e-07/0.6762, allocations: 0 / 0.594 GB, free: 11.23 MB / 418.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.6762, allocations: 0.9375 kB / 0.594 GB, free: 11.23 MB / 418.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.4e-06/0.6762, allocations: 0 / 0.594 GB, free: 11.23 MB / 418.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.61e-07/0.6762, allocations: 0 / 0.594 GB, free: 11.23 MB / 418.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.6762, allocations: 3.984 kB / 0.594 GB, free: 11.23 MB / 418.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.495e-05/0.6763, allocations: 68.98 kB / 0.594 GB, free: 11.14 MB / 418.8 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001785/0.6765, allocations: 437.5 kB / 0.5945 GB, free: 10.69 MB / 418.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.958e-05/0.6765, allocations: 81.02 kB / 0.5945 GB, free: 10.59 MB / 418.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.373e-05/0.6766, allocations: 0.875 kB / 0.5945 GB, free: 10.59 MB / 418.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.486e-06/0.6766, allocations: 4 kB / 0.5945 GB, free: 10.59 MB / 418.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.327e-05/0.6766, allocations: 4.062 kB / 0.5946 GB, free: 10.59 MB / 418.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.534e-06/0.6766, allocations: 3.938 kB / 0.5946 GB, free: 10.58 MB / 418.8 MB Notification: Performance of sort global known variables: time 2.365e-05/0.6766, allocations: 75.28 kB / 0.5946 GB, free: 10.51 MB / 418.8 MB Notification: Performance of remove unused functions: time 0.0009246/0.6776, allocations: 87.86 kB / 0.5947 GB, free: 10.42 MB / 418.8 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 (result) * Number of discrete states: 1 (result) * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * 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.0004543/0.678, allocations: 215.6 kB / 0.5949 GB, free: 10.21 MB / 418.8 MB Notification: Performance of simCode: created initialization part: time 6.375e-05/0.6781, allocations: 41.62 kB / 0.595 GB, free: 10.16 MB / 418.8 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.6781, allocations: 0 / 0.595 GB, free: 10.16 MB / 418.8 MB Notification: Performance of simCode: created simulation system equations: time 1.762e-05/0.6781, allocations: 25.7 kB / 0.595 GB, free: 10.13 MB / 418.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.458e-05/0.6782, allocations: 4.547 kB / 0.595 GB, free: 10.12 MB / 418.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001147/0.6783, allocations: 43.98 kB / 0.595 GB, free: 10.06 MB / 418.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002639/0.6786, allocations: 0.6841 MB / 0.5957 GB, free: 9.348 MB / 418.8 MB Notification: Performance of SimCode: time 2.9e-07/0.6786, allocations: 4.125 kB / 0.5957 GB, free: 9.344 MB / 418.8 MB (rm -f ModelicaTest_trunk_ModelicaTest.Math.TestMatrices.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.TestMatrices.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.TestMatrices.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.TestMatrices.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Math.TestMatrices_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Math_TestMatrices_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Math_TestMatrices.fmu > ModelicaTest_trunk_ModelicaTest.Math.TestMatrices.pipe 2>&1)