Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.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.Test4,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test4,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test4",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.0009918/0.0009918, allocations: 202.3 kB / 8.54 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.072/1.072, allocations: 225.5 MB / 234.4 MB, free: 3.387 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008334/0.0008334, allocations: 92.39 kB / 286.3 MB, free: 5.238 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1524/0.1524, allocations: 45.15 MB / 383.3 MB, free: 0.6133 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1717/0.324, allocations: 69.38 MB / 452.7 MB, free: 76.12 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07305/0.3971, allocations: 63.24 MB / 0.5039 GB, free: 12.95 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2261/0.6232, allocations: 90 MB / 0.5918 GB, free: 12.81 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001702/0.6234, allocations: 80.52 kB / 0.5918 GB, free: 12.77 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.01714/0.6406, allocations: 6.843 MB / 0.5985 GB, free: 7.062 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.986e-05/0.6406, allocations: 8 kB / 0.5985 GB, free: 7.055 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.397e-05/0.6407, allocations: 19.81 kB / 0.5986 GB, free: 7.035 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002912/0.641, allocations: 229.1 kB / 0.5988 GB, free: 6.781 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.178e-05/0.641, allocations: 0 / 0.5988 GB, free: 6.781 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.921e-05/0.641, allocations: 4 kB / 0.5988 GB, free: 6.777 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.011e-05/0.6411, allocations: 22.73 kB / 0.5988 GB, free: 6.762 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.64e-05/0.6412, allocations: 60.17 kB / 0.5989 GB, free: 6.703 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.6412, allocations: 3.906 kB / 0.5989 GB, free: 6.699 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.278e-06/0.6412, allocations: 0 / 0.5989 GB, free: 6.699 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.6412, allocations: 0 / 0.5989 GB, free: 6.699 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003346/0.6416, allocations: 300.9 kB / 0.5991 GB, free: 6.391 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001404/0.6417, allocations: 41.33 kB / 0.5992 GB, free: 6.352 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.692e-05/0.6418, allocations: 20.17 kB / 0.5992 GB, free: 6.332 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.758e-06/0.6418, allocations: 0 / 0.5992 GB, free: 6.332 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.079e-05/0.6419, allocations: 66.45 kB / 0.5993 GB, free: 6.262 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 1.112e-06/0.6419, allocations: 4 kB / 0.5993 GB, free: 6.258 MB / 394.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004418/0.6423, allocations: 180.7 kB / 0.5994 GB, free: 6.105 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.116e-05/0.6424, allocations: 55.41 kB / 0.5995 GB, free: 6.039 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001678/0.6425, allocations: 192.2 kB / 0.5997 GB, free: 5.863 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.397e-05/0.6426, allocations: 25.7 kB / 0.5997 GB, free: 5.832 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.926e-05/0.6426, allocations: 99.12 kB / 0.5998 GB, free: 5.738 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.103e-05/0.6426, allocations: 30.8 kB / 0.5998 GB, free: 5.711 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.528e-06/0.6426, allocations: 0 / 0.5998 GB, free: 5.711 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.439e-05/0.6427, allocations: 333.6 kB / 0.6001 GB, free: 5.383 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.29e-05/0.6428, allocations: 26.88 kB / 0.6002 GB, free: 5.367 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.845e-05/0.6428, allocations: 39.95 kB / 0.6002 GB, free: 5.332 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.087e-05/0.6429, allocations: 26.67 kB / 0.6002 GB, free: 5.316 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.31e-07/0.6429, allocations: 3.938 kB / 0.6002 GB, free: 5.312 MB / 394.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001677/0.6431, allocations: 118.9 kB / 0.6004 GB, free: 5.211 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.015e-05/0.6431, allocations: 4 kB / 0.6004 GB, free: 5.207 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.778e-06/0.6431, allocations: 0 / 0.6004 GB, free: 5.207 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.087e-06/0.6431, allocations: 4.031 kB / 0.6004 GB, free: 5.203 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.421e-05/0.6432, allocations: 27.97 kB / 0.6004 GB, free: 5.176 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.6432, allocations: 0 / 0.6004 GB, free: 5.176 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.093e-05/0.6433, allocations: 7.938 kB / 0.6004 GB, free: 5.168 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.055e-05/0.6433, allocations: 7.984 kB / 0.6004 GB, free: 5.16 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.995e-05/0.6434, allocations: 108.7 kB / 0.6005 GB, free: 5.051 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.484e-05/0.6434, allocations: 15.81 kB / 0.6005 GB, free: 5.035 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002277/0.6436, allocations: 134 kB / 0.6006 GB, free: 4.926 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.6436, allocations: 4 kB / 0.6007 GB, free: 4.922 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.6436, allocations: 0 / 0.6007 GB, free: 4.922 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.6437, allocations: 4 kB / 0.6007 GB, free: 4.918 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004128/0.6441, allocations: 429.3 kB / 0.6011 GB, free: 4.496 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.6441, allocations: 4 kB / 0.6011 GB, free: 4.492 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.466e-05/0.6441, allocations: 12 kB / 0.6011 GB, free: 4.48 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.971e-06/0.6442, allocations: 8.062 kB / 0.6011 GB, free: 4.473 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.106e-05/0.6442, allocations: 4.078 kB / 0.6011 GB, free: 4.469 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.709e-06/0.6442, allocations: 11.88 kB / 0.6011 GB, free: 4.457 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.6442, allocations: 0 / 0.6011 GB, free: 4.457 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001976/0.6444, allocations: 242.1 kB / 0.6013 GB, free: 4.207 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002886/0.6447, allocations: 0.6141 MB / 0.6019 GB, free: 3.582 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.501e-05/0.6448, allocations: 96.91 kB / 0.602 GB, free: 3.469 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.975e-05/0.6448, allocations: 7.875 kB / 0.602 GB, free: 3.465 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.636e-05/0.6449, allocations: 4 kB / 0.602 GB, free: 3.461 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.95e-05/0.6449, allocations: 7.984 kB / 0.602 GB, free: 3.453 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.07e-05/0.6449, allocations: 4 kB / 0.602 GB, free: 3.449 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001186/0.6451, allocations: 163.4 kB / 0.6022 GB, free: 3.316 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008728/0.6459, allocations: 38.69 kB / 0.6022 GB, free: 3.281 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.0006742/0.6466, allocations: 393.9 kB / 0.6026 GB, free: 2.988 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001346/0.6468, allocations: 70.94 kB / 0.6027 GB, free: 2.941 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.6468, allocations: 8 kB / 0.6027 GB, free: 2.934 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.809e-05/0.6468, allocations: 35.61 kB / 0.6027 GB, free: 2.906 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002553/0.6471, allocations: 25.52 kB / 0.6028 GB, free: 2.883 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003885/0.6475, allocations: 205.2 kB / 0.6029 GB, free: 2.672 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000304/0.6478, allocations: 0.7464 MB / 0.6037 GB, free: 1.902 MB / 394.7 MB Notification: Performance of SimCode: time 2.61e-07/0.6478, allocations: 0 / 0.6037 GB, free: 1.902 MB / 394.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test4_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test4.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat does not exist to compare? outputFormat=mat