Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30.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.Test30,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test30,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test30",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.001021/0.001021, allocations: 195.1 kB / 8.537 MB, free: 1.824 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.104/1.104, allocations: 225.5 MB / 234.4 MB, free: 3.336 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008885/0.0008886, allocations: 95.02 kB / 286.3 MB, free: 5.305 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1574/0.1574, allocations: 45.13 MB / 383.3 MB, free: 0.543 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1879/0.3453, allocations: 69.37 MB / 452.7 MB, free: 76.09 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08167/0.427, allocations: 63.24 MB / 0.5039 GB, free: 12.93 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2489/0.676, allocations: 89.65 MB / 0.5914 GB, free: 13.46 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001745/0.6762, allocations: 70.53 kB / 0.5915 GB, free: 13.42 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.01359/0.6898, allocations: 5.707 MB / 0.597 GB, free: 8.594 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.6898, allocations: 12 kB / 0.5971 GB, free: 8.582 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.767e-05/0.6899, allocations: 15.81 kB / 0.5971 GB, free: 8.566 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002844/0.6902, allocations: 221.4 kB / 0.5973 GB, free: 8.316 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.959e-06/0.6902, allocations: 4 kB / 0.5973 GB, free: 8.312 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.039e-05/0.6902, allocations: 7.812 kB / 0.5973 GB, free: 8.309 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.598e-05/0.6903, allocations: 19.38 kB / 0.5973 GB, free: 8.293 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.314e-05/0.6904, allocations: 52.42 kB / 0.5974 GB, free: 8.242 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.6904, allocations: 0 / 0.5974 GB, free: 8.242 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.027e-06/0.6904, allocations: 0 / 0.5974 GB, free: 8.242 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.6904, allocations: 7.906 kB / 0.5974 GB, free: 8.234 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003966/0.6908, allocations: 316.8 kB / 0.5977 GB, free: 7.914 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001361/0.691, allocations: 36.27 kB / 0.5977 GB, free: 7.879 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.201e-05/0.691, allocations: 15.61 kB / 0.5977 GB, free: 7.863 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.715e-05/0.691, allocations: 0 / 0.5977 GB, free: 7.863 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.982e-05/0.6911, allocations: 34.56 kB / 0.5978 GB, free: 7.82 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 1.002e-06/0.6911, allocations: 0 / 0.5978 GB, free: 7.82 MB / 394.7 MB Notification: Performance of matching and sorting (n=11): time 0.0006267/0.6917, allocations: 255.2 kB / 0.598 GB, free: 7.605 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.241e-05/0.6918, allocations: 51.41 kB / 0.598 GB, free: 7.543 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001967/0.692, allocations: 189.2 kB / 0.5982 GB, free: 7.371 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.619e-05/0.692, allocations: 25.7 kB / 0.5983 GB, free: 7.34 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.724e-05/0.692, allocations: 98.94 kB / 0.5983 GB, free: 7.246 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.378e-05/0.6921, allocations: 34.83 kB / 0.5984 GB, free: 7.215 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.601e-06/0.6921, allocations: 0 / 0.5984 GB, free: 7.215 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001066/0.6922, allocations: 329.6 kB / 0.5987 GB, free: 6.891 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.391e-05/0.6923, allocations: 39.73 kB / 0.5987 GB, free: 6.863 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.426e-05/0.6923, allocations: 39.36 kB / 0.5988 GB, free: 6.84 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.953e-05/0.6924, allocations: 36.86 kB / 0.5988 GB, free: 6.816 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.6924, allocations: 0 / 0.5988 GB, free: 6.816 MB / 394.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001804/0.6926, allocations: 135 kB / 0.5989 GB, free: 6.703 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.6926, allocations: 7.984 kB / 0.5989 GB, free: 6.695 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.6926, allocations: 0 / 0.5989 GB, free: 6.695 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.087e-05/0.6926, allocations: 0 / 0.5989 GB, free: 6.695 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001293/0.6928, allocations: 35.17 kB / 0.599 GB, free: 6.664 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.6928, allocations: 0 / 0.599 GB, free: 6.664 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.909e-05/0.6929, allocations: 15.98 kB / 0.599 GB, free: 6.648 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.155e-05/0.6929, allocations: 4 kB / 0.599 GB, free: 6.645 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 (11): * Single equations (assignments): 11 * 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.426e-05/0.693, allocations: 108.9 kB / 0.5991 GB, free: 6.531 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.078e-05/0.693, allocations: 15.81 kB / 0.5991 GB, free: 6.516 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002494/0.6933, allocations: 151.2 kB / 0.5993 GB, free: 6.398 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.6933, allocations: 0 / 0.5993 GB, free: 6.398 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.752e-06/0.6933, allocations: 7.891 kB / 0.5993 GB, free: 6.391 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.6933, allocations: 0 / 0.5993 GB, free: 6.391 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005086/0.6938, allocations: 457.6 kB / 0.5997 GB, free: 5.953 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.6938, allocations: 0 / 0.5997 GB, free: 5.953 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001169/0.694, allocations: 27.98 kB / 0.5997 GB, free: 5.926 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.694, allocations: 4.375 kB / 0.5997 GB, free: 5.922 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.095e-05/0.694, allocations: 0 / 0.5997 GB, free: 5.922 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.311e-05/0.694, allocations: 8 kB / 0.5997 GB, free: 5.914 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.694, allocations: 4.062 kB / 0.5997 GB, free: 5.91 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002269/0.6942, allocations: 258 kB / 0.6 GB, free: 5.652 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00031/0.6946, allocations: 0.6286 MB / 0.6006 GB, free: 5.02 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.314e-05/0.6946, allocations: 100.5 kB / 0.6007 GB, free: 4.906 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.604e-05/0.6947, allocations: 4 kB / 0.6007 GB, free: 4.902 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000114/0.6948, allocations: 15.98 kB / 0.6007 GB, free: 4.887 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.112e-05/0.6948, allocations: 15.83 kB / 0.6007 GB, free: 4.871 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.627e-06/0.6948, allocations: 4 kB / 0.6007 GB, free: 4.867 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001238/0.695, allocations: 165.3 kB / 0.6009 GB, free: 4.73 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008571/0.6958, allocations: 42.67 kB / 0.6009 GB, free: 4.695 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.000684/0.6965, allocations: 336 kB / 0.6013 GB, free: 4.438 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001599/0.6967, allocations: 86.8 kB / 0.6013 GB, free: 4.379 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.6967, allocations: 0 / 0.6013 GB, free: 4.379 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 6.749e-05/0.6968, allocations: 54.42 kB / 0.6014 GB, free: 4.34 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002144/0.697, allocations: 19.42 kB / 0.6014 GB, free: 4.32 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004542/0.6975, allocations: 238.2 kB / 0.6016 GB, free: 4.086 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003232/0.6978, allocations: 0.7483 MB / 0.6024 GB, free: 3.316 MB / 394.7 MB Notification: Performance of SimCode: time 2.3e-07/0.6978, allocations: 0 / 0.6024 GB, free: 3.316 MB / 394.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test30_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test30.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30_res.mat does not exist to compare? outputFormat=mat