Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.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.CombiTimeTable.Test36,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test36",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test36,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test36",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.001001/0.001001, allocations: 199.7 kB / 8.538 MB, free: 1.805 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.097/1.097, allocations: 225.5 MB / 234.4 MB, free: 3.355 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008314/0.0008314, allocations: 90.33 kB / 286.3 MB, free: 5.336 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1556/0.1556, allocations: 45.14 MB / 383.3 MB, free: 0.5586 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1818/0.3374, allocations: 69.37 MB / 452.7 MB, free: 76.11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0809/0.4184, allocations: 63.25 MB / 0.5039 GB, free: 12.93 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2402/0.6586, allocations: 90.01 MB / 0.5918 GB, free: 12.8 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001772/0.6588, allocations: 70.53 kB / 0.5918 GB, free: 12.76 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.01709/0.6759, allocations: 6.93 MB / 0.5986 GB, free: 6.969 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.963e-05/0.676, allocations: 8 kB / 0.5986 GB, free: 6.961 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.312e-05/0.676, allocations: 19.81 kB / 0.5986 GB, free: 6.941 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002851/0.6763, allocations: 222.2 kB / 0.5988 GB, free: 6.691 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.523e-05/0.6763, allocations: 4 kB / 0.5989 GB, free: 6.688 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.937e-05/0.6764, allocations: 0 / 0.5989 GB, free: 6.688 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.865e-05/0.6764, allocations: 26.77 kB / 0.5989 GB, free: 6.668 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.843e-05/0.6765, allocations: 59.98 kB / 0.5989 GB, free: 6.609 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.6765, allocations: 3.938 kB / 0.5989 GB, free: 6.605 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.998e-06/0.6766, allocations: 0 / 0.5989 GB, free: 6.605 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.6766, allocations: 0 / 0.5989 GB, free: 6.605 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003516/0.6769, allocations: 295.5 kB / 0.5992 GB, free: 6.301 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001429/0.6771, allocations: 39.59 kB / 0.5993 GB, free: 6.266 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.959e-05/0.6771, allocations: 20.03 kB / 0.5993 GB, free: 6.246 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.17e-05/0.6771, allocations: 4 kB / 0.5993 GB, free: 6.242 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.626e-05/0.6772, allocations: 65.03 kB / 0.5993 GB, free: 6.176 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 1.393e-06/0.6773, allocations: 4 kB / 0.5993 GB, free: 6.172 MB / 394.7 MB Notification: Performance of matching and sorting (n=11): time 0.000464/0.6777, allocations: 178.3 kB / 0.5995 GB, free: 6.02 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.62e-05/0.6778, allocations: 51.41 kB / 0.5996 GB, free: 5.957 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002012/0.678, allocations: 212.4 kB / 0.5998 GB, free: 5.77 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.678, allocations: 28.77 kB / 0.5998 GB, free: 5.738 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.777e-05/0.678, allocations: 95.91 kB / 0.5999 GB, free: 5.645 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.342e-05/0.6781, allocations: 33.11 kB / 0.5999 GB, free: 5.617 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.749e-06/0.6781, allocations: 0 / 0.5999 GB, free: 5.617 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.939e-05/0.6782, allocations: 329.6 kB / 0.6002 GB, free: 5.293 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.516e-05/0.6782, allocations: 26.56 kB / 0.6003 GB, free: 5.277 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.266e-05/0.6783, allocations: 44.03 kB / 0.6003 GB, free: 5.238 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.338e-05/0.6784, allocations: 33.67 kB / 0.6003 GB, free: 5.219 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.6784, allocations: 3.938 kB / 0.6003 GB, free: 5.215 MB / 394.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001676/0.6785, allocations: 114.5 kB / 0.6004 GB, free: 5.113 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.145e-05/0.6786, allocations: 8 kB / 0.6005 GB, free: 5.105 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.878e-06/0.6786, allocations: 0 / 0.6005 GB, free: 5.105 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.057e-06/0.6786, allocations: 4.031 kB / 0.6005 GB, free: 5.102 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.228e-05/0.6787, allocations: 27.55 kB / 0.6005 GB, free: 5.078 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.716e-06/0.6787, allocations: 4 kB / 0.6005 GB, free: 5.074 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.237e-05/0.6788, allocations: 3.906 kB / 0.6005 GB, free: 5.07 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.858e-06/0.6788, allocations: 4 kB / 0.6005 GB, free: 5.066 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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 5.929e-05/0.6788, allocations: 105 kB / 0.6006 GB, free: 4.957 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.535e-05/0.6789, allocations: 19.78 kB / 0.6006 GB, free: 4.938 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002269/0.6791, allocations: 143.5 kB / 0.6008 GB, free: 4.82 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.6791, allocations: 0 / 0.6008 GB, free: 4.82 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.6791, allocations: 0 / 0.6008 GB, free: 4.82 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.6791, allocations: 0 / 0.6008 GB, free: 4.82 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004245/0.6796, allocations: 435.4 kB / 0.6012 GB, free: 4.395 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.6796, allocations: 0 / 0.6012 GB, free: 4.395 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.913e-05/0.6796, allocations: 23.94 kB / 0.6012 GB, free: 4.371 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.6796, allocations: 4.062 kB / 0.6012 GB, free: 4.367 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.096e-05/0.6797, allocations: 3.984 kB / 0.6012 GB, free: 4.363 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.6797, allocations: 4 kB / 0.6012 GB, free: 4.359 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.6797, allocations: 0 / 0.6012 GB, free: 4.359 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002048/0.6799, allocations: 247.7 kB / 0.6014 GB, free: 4.105 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002911/0.6802, allocations: 0.6048 MB / 0.602 GB, free: 3.488 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.92e-05/0.6802, allocations: 100.2 kB / 0.6021 GB, free: 3.375 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.084e-05/0.6803, allocations: 11.91 kB / 0.6021 GB, free: 3.363 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.67e-05/0.6804, allocations: 4 kB / 0.6021 GB, free: 3.359 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.998e-05/0.6804, allocations: 11.92 kB / 0.6021 GB, free: 3.352 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.003e-05/0.6804, allocations: 4 kB / 0.6022 GB, free: 3.348 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001228/0.6806, allocations: 162.9 kB / 0.6023 GB, free: 3.215 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008661/0.6814, allocations: 43.12 kB / 0.6023 GB, free: 3.18 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.000672/0.6821, allocations: 388 kB / 0.6027 GB, free: 2.891 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001348/0.6823, allocations: 84.8 kB / 0.6028 GB, free: 2.828 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.6823, allocations: 0 / 0.6028 GB, free: 2.828 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.767e-05/0.6823, allocations: 39.25 kB / 0.6028 GB, free: 2.801 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002589/0.6826, allocations: 27.31 kB / 0.6029 GB, free: 2.773 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003981/0.683, allocations: 219.1 kB / 0.6031 GB, free: 2.551 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002727/0.6833, allocations: 0.7459 MB / 0.6038 GB, free: 1.781 MB / 394.7 MB Notification: Performance of SimCode: time 2.61e-07/0.6833, allocations: 0 / 0.6038 GB, free: 1.781 MB / 394.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test36_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test36.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat does not exist to compare? outputFormat=mat