Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test8.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.Tables.CombiTable2Ds.Test8,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test8,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test8",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.001251/0.001251, allocations: 199.7 kB / 8.538 MB, free: 1.801 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.23/1.23, allocations: 225.5 MB / 234.4 MB, free: 3.445 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008617/0.0008617, allocations: 86.53 kB / 286.3 MB, free: 5.316 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1731/0.1731, allocations: 45.14 MB / 383.3 MB, free: 0.6016 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2513/0.4245, allocations: 69.37 MB / 452.7 MB, free: 76.13 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1023/0.5268, allocations: 63.24 MB / 0.5039 GB, free: 12.97 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3144/0.8412, allocations: 88.98 MB / 0.5908 GB, free: 13.91 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002371/0.8415, allocations: 66.22 kB / 0.5908 GB, free: 13.88 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.01963/0.8612, allocations: 8.867 MB / 0.5995 GB, free: 6.051 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/0.8612, allocations: 15.98 kB / 0.5995 GB, free: 6.035 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.14e-05/0.8613, allocations: 43.38 kB / 0.5995 GB, free: 5.992 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005089/0.8618, allocations: 328.8 kB / 0.5999 GB, free: 5.641 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.317e-06/0.8619, allocations: 0 / 0.5999 GB, free: 5.641 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.247e-05/0.8619, allocations: 4 kB / 0.5999 GB, free: 5.637 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.246e-05/0.862, allocations: 11.53 kB / 0.5999 GB, free: 5.629 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.341e-05/0.862, allocations: 41 kB / 0.5999 GB, free: 5.586 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.715e-06/0.8621, allocations: 0 / 0.5999 GB, free: 5.586 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.336e-06/0.8621, allocations: 0 / 0.5999 GB, free: 5.586 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.608e-06/0.8621, allocations: 4 kB / 0.5999 GB, free: 5.582 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005667/0.8627, allocations: 401.9 kB / 0.6003 GB, free: 5.203 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.069e-05/0.8627, allocations: 25.95 kB / 0.6003 GB, free: 5.172 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.702e-05/0.8628, allocations: 12.67 kB / 0.6003 GB, free: 5.16 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.311e-05/0.8628, allocations: 0 / 0.6003 GB, free: 5.16 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.626e-05/0.8628, allocations: 34.56 kB / 0.6004 GB, free: 5.117 MB / 394.7 MB Notification: Performance of pre-optimization done (n=2): time 2.114e-06/0.8628, allocations: 3.984 kB / 0.6004 GB, free: 5.113 MB / 394.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002204/0.863, allocations: 85 kB / 0.6005 GB, free: 5.023 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.829e-05/0.8631, allocations: 53.53 kB / 0.6005 GB, free: 4.961 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00117/0.8643, allocations: 0.7547 MB / 0.6012 GB, free: 4.383 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.013e-05/0.8643, allocations: 25.7 kB / 0.6013 GB, free: 4.352 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.508e-05/0.8644, allocations: 137.5 kB / 0.6014 GB, free: 4.23 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.745e-05/0.8644, allocations: 3.906 kB / 0.6014 GB, free: 4.227 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.266e-06/0.8644, allocations: 4.031 kB / 0.6014 GB, free: 4.223 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001486/0.8645, allocations: 359.5 kB / 0.6017 GB, free: 3.883 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.623e-05/0.8646, allocations: 4 kB / 0.6018 GB, free: 3.879 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.277e-05/0.8646, allocations: 4 kB / 0.6018 GB, free: 3.875 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.303e-05/0.8646, allocations: 7.531 kB / 0.6018 GB, free: 3.871 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.8646, allocations: 0 / 0.6018 GB, free: 3.871 MB / 394.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001227/0.8648, allocations: 77.22 kB / 0.6018 GB, free: 3.789 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.8648, allocations: 4 kB / 0.6018 GB, free: 3.785 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.8648, allocations: 4.094 kB / 0.6018 GB, free: 3.781 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.8648, allocations: 4 kB / 0.6018 GB, free: 3.777 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.469e-05/0.8649, allocations: 15.03 kB / 0.6019 GB, free: 3.766 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.8649, allocations: 3.938 kB / 0.6019 GB, free: 3.762 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.806e-05/0.865, allocations: 11.92 kB / 0.6019 GB, free: 3.75 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.352e-06/0.865, allocations: 0 / 0.6019 GB, free: 3.75 MB / 394.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 8.085e-05/0.8651, allocations: 101 kB / 0.602 GB, free: 3.645 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.995e-05/0.8652, allocations: 47.44 kB / 0.602 GB, free: 3.598 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001621/0.8653, allocations: 93.17 kB / 0.6021 GB, free: 3.504 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.8654, allocations: 0 / 0.6021 GB, free: 3.504 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.8654, allocations: 0 / 0.6021 GB, free: 3.504 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.8654, allocations: 0 / 0.6021 GB, free: 3.504 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002763/0.8657, allocations: 311 kB / 0.6024 GB, free: 3.207 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.8657, allocations: 0 / 0.6024 GB, free: 3.207 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.389e-05/0.8657, allocations: 7.984 kB / 0.6024 GB, free: 3.199 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.8657, allocations: 0 / 0.6024 GB, free: 3.199 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.602e-06/0.8657, allocations: 4.031 kB / 0.6024 GB, free: 3.195 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.8657, allocations: 0 / 0.6024 GB, free: 3.195 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.8658, allocations: 4 kB / 0.6024 GB, free: 3.191 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001623/0.8659, allocations: 174.9 kB / 0.6026 GB, free: 3.008 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002788/0.8662, allocations: 0.5492 MB / 0.6031 GB, free: 2.445 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001687/0.8664, allocations: 163.4 kB / 0.6033 GB, free: 2.277 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.391e-05/0.8665, allocations: 7.984 kB / 0.6033 GB, free: 2.27 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.573e-05/0.8666, allocations: 0 / 0.6033 GB, free: 2.27 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.444e-05/0.8666, allocations: 4 kB / 0.6033 GB, free: 2.266 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.905e-06/0.8666, allocations: 0 / 0.6033 GB, free: 2.266 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0006465/0.8673, allocations: 0.6115 MB / 0.6039 GB, free: 1.832 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008823/0.8681, allocations: 55.91 kB / 0.6039 GB, free: 1.777 MB / 394.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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.0006315/0.8688, allocations: 276.9 kB / 0.6042 GB, free: 1.562 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 7.841e-05/0.8689, allocations: 15.5 kB / 0.6042 GB, free: 1.551 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.8689, allocations: 0 / 0.6042 GB, free: 1.551 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 1.981e-05/0.8689, allocations: 7.812 kB / 0.6042 GB, free: 1.547 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000303/0.8692, allocations: 24.14 kB / 0.6042 GB, free: 1.527 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001217/0.8705, allocations: 0.6811 MB / 0.6049 GB, free: 0.8789 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004928/0.871, allocations: 0.858 MB / 0.6058 GB, free: 12 kB / 394.7 MB Notification: Performance of SimCode: time 7.21e-07/0.871, allocations: 0 / 0.6058 GB, free: 12 kB / 394.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test8_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test8_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test8.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test8_res.mat does not exist to compare? outputFormat=mat