Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.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.CombiTable2Dv.Test31,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test31,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test31",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.0009838/0.0009838, allocations: 200.4 kB / 8.54 MB, free: 1.832 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.105/1.105, allocations: 225.5 MB / 234.4 MB, free: 3.422 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008185/0.0008185, allocations: 90.14 kB / 286.3 MB, free: 5.234 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.157/0.157, allocations: 45.15 MB / 383.4 MB, free: 0.6055 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1895/0.3465, allocations: 69.37 MB / 452.7 MB, free: 76.12 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08516/0.4317, allocations: 63.24 MB / 0.5039 GB, free: 12.96 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2449/0.6766, allocations: 89.88 MB / 0.5916 GB, free: 12.96 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001658/0.6768, allocations: 70.72 kB / 0.5917 GB, free: 12.93 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.02502/0.7018, allocations: 12.52 MB / 0.6039 GB, free: 3.07 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.092e-05/0.7018, allocations: 8 kB / 0.6039 GB, free: 3.062 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.692e-05/0.7019, allocations: 11.91 kB / 0.6039 GB, free: 3.051 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000222/0.7021, allocations: 198.1 kB / 0.6041 GB, free: 2.824 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.043e-06/0.7021, allocations: 0 / 0.6041 GB, free: 2.824 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.565e-05/0.7022, allocations: 0 / 0.6041 GB, free: 2.824 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.717e-05/0.7022, allocations: 30.8 kB / 0.6042 GB, free: 2.801 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.735e-05/0.7023, allocations: 59.19 kB / 0.6042 GB, free: 2.734 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.7023, allocations: 3.812 kB / 0.6042 GB, free: 2.734 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.987e-06/0.7023, allocations: 0 / 0.6042 GB, free: 2.734 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.7024, allocations: 0 / 0.6042 GB, free: 2.734 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003568/0.7027, allocations: 298.1 kB / 0.6045 GB, free: 2.426 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.253e-05/0.7028, allocations: 37.89 kB / 0.6045 GB, free: 2.383 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.416e-05/0.7028, allocations: 16.7 kB / 0.6046 GB, free: 2.367 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.869e-05/0.7029, allocations: 0 / 0.6046 GB, free: 2.367 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.138e-05/0.7029, allocations: 38.44 kB / 0.6046 GB, free: 2.324 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 8.21e-07/0.7029, allocations: 0 / 0.6046 GB, free: 2.324 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004389/0.7033, allocations: 158.2 kB / 0.6047 GB, free: 2.184 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.422e-05/0.7034, allocations: 81.11 kB / 0.6048 GB, free: 2.086 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001136/0.7035, allocations: 137.3 kB / 0.605 GB, free: 1.965 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.346e-05/0.7035, allocations: 25.7 kB / 0.605 GB, free: 1.934 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.111e-05/0.7036, allocations: 91.69 kB / 0.6051 GB, free: 1.844 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.808e-05/0.7036, allocations: 15.72 kB / 0.6051 GB, free: 1.828 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.449e-06/0.7036, allocations: 0 / 0.6051 GB, free: 1.828 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.652e-05/0.7037, allocations: 330.6 kB / 0.6054 GB, free: 1.5 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.571e-05/0.7037, allocations: 22.8 kB / 0.6054 GB, free: 1.484 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.933e-05/0.7038, allocations: 33.03 kB / 0.6055 GB, free: 1.457 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.34e-05/0.7038, allocations: 27.05 kB / 0.6055 GB, free: 1.438 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.71e-07/0.7038, allocations: 3.938 kB / 0.6055 GB, free: 1.434 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001305/0.704, allocations: 86.52 kB / 0.6056 GB, free: 1.355 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.997e-06/0.704, allocations: 7.938 kB / 0.6056 GB, free: 1.348 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.276e-06/0.704, allocations: 0 / 0.6056 GB, free: 1.348 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.046e-06/0.704, allocations: 4.172 kB / 0.6056 GB, free: 1.344 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001245/0.7042, allocations: 27.92 kB / 0.6056 GB, free: 1.316 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.336e-06/0.7042, allocations: 0 / 0.6056 GB, free: 1.316 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.848e-05/0.7042, allocations: 23.97 kB / 0.6056 GB, free: 1.293 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.685e-06/0.7043, allocations: 0 / 0.6056 GB, free: 1.293 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 (7): * Single equations (assignments): 7 * 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 6.393e-05/0.7043, allocations: 108.9 kB / 0.6057 GB, free: 1.18 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.639e-05/0.7044, allocations: 7.906 kB / 0.6057 GB, free: 1.172 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001698/0.7045, allocations: 103.3 kB / 0.6058 GB, free: 1.082 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.7046, allocations: 0 / 0.6058 GB, free: 1.082 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.7046, allocations: 0 / 0.6058 GB, free: 1.082 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.7046, allocations: 3.938 kB / 0.6058 GB, free: 1.078 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003452/0.7049, allocations: 358.8 kB / 0.6062 GB, free: 0.7148 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.7049, allocations: 0 / 0.6062 GB, free: 0.7148 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.943e-05/0.705, allocations: 23.98 kB / 0.6062 GB, free: 0.6914 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.705, allocations: 0 / 0.6062 GB, free: 0.6914 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.665e-06/0.7051, allocations: 0 / 0.6062 GB, free: 0.6914 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.7051, allocations: 0 / 0.6062 GB, free: 0.6914 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.7051, allocations: 7.984 kB / 0.6062 GB, free: 0.6836 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000149/0.7052, allocations: 184.4 kB / 0.6064 GB, free: 0.5039 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002784/0.7055, allocations: 0.5634 MB / 0.6069 GB, free: 15.94 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.388e-05/0.7056, allocations: 88.44 kB / 0.607 GB, free: 15.84 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.364e-05/0.7056, allocations: 4 kB / 0.607 GB, free: 15.84 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001089/0.7057, allocations: 15.98 kB / 0.607 GB, free: 15.82 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.641e-05/0.7058, allocations: 11.92 kB / 0.6071 GB, free: 15.81 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.28e-06/0.7058, allocations: 0 / 0.6071 GB, free: 15.81 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.708e-05/0.7058, allocations: 117 kB / 0.6072 GB, free: 15.71 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000866/0.7067, allocations: 66.52 kB / 0.6072 GB, free: 15.66 MB / 410.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 (7): * Single equations (assignments): 7 * 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.0006547/0.7074, allocations: 391.6 kB / 0.6076 GB, free: 15.35 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001137/0.7075, allocations: 56.78 kB / 0.6077 GB, free: 15.31 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.7075, allocations: 0 / 0.6077 GB, free: 15.31 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.079e-05/0.7076, allocations: 31.05 kB / 0.6077 GB, free: 15.29 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001802/0.7078, allocations: 11.06 kB / 0.6077 GB, free: 15.28 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003012/0.7081, allocations: 144.1 kB / 0.6078 GB, free: 15.13 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002913/0.7084, allocations: 0.7265 MB / 0.6085 GB, free: 14.38 MB / 410.7 MB Notification: Performance of SimCode: time 2.61e-07/0.7084, allocations: 0 / 0.6085 GB, free: 14.38 MB / 410.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test31_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test31.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31_res.mat does not exist to compare? outputFormat=mat