Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.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.Test3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test3",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.001019/0.001019, allocations: 205.4 kB / 8.543 MB, free: 1.828 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.079/1.079, allocations: 225.5 MB / 234.4 MB, free: 3.312 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008672/0.0008672, allocations: 95.58 kB / 286.3 MB, free: 5.285 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1506/0.1506, allocations: 45.13 MB / 383.3 MB, free: 0.5234 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1735/0.3241, allocations: 69.37 MB / 452.7 MB, free: 76.07 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07471/0.3988, allocations: 63.24 MB / 0.5039 GB, free: 12.9 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.219/0.6178, allocations: 89.91 MB / 0.5917 GB, free: 12.86 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001804/0.6181, allocations: 71.31 kB / 0.5917 GB, free: 12.82 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.01596/0.634, allocations: 6.298 MB / 0.5979 GB, free: 7.586 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.795e-05/0.6341, allocations: 8 kB / 0.5979 GB, free: 7.578 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.632e-05/0.6341, allocations: 7.906 kB / 0.5979 GB, free: 7.57 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002482/0.6344, allocations: 219.5 kB / 0.5981 GB, free: 7.324 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.348e-05/0.6344, allocations: 7.438 kB / 0.5981 GB, free: 7.32 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.39e-05/0.6344, allocations: 0 / 0.5981 GB, free: 7.32 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.228e-05/0.6345, allocations: 19.17 kB / 0.5981 GB, free: 7.305 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.451e-05/0.6346, allocations: 47.56 kB / 0.5982 GB, free: 7.258 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/0.6346, allocations: 0 / 0.5982 GB, free: 7.258 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.737e-06/0.6346, allocations: 0 / 0.5982 GB, free: 7.258 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.446e-06/0.6346, allocations: 0 / 0.5982 GB, free: 7.258 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002874/0.6349, allocations: 281.5 kB / 0.5985 GB, free: 6.965 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.655e-05/0.635, allocations: 42.77 kB / 0.5985 GB, free: 6.922 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.251e-05/0.635, allocations: 21.78 kB / 0.5985 GB, free: 6.902 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.16e-05/0.635, allocations: 0 / 0.5985 GB, free: 6.902 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.54e-05/0.6351, allocations: 68.72 kB / 0.5986 GB, free: 6.832 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.092e-06/0.6351, allocations: 4 kB / 0.5986 GB, free: 6.828 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003494/0.6355, allocations: 132.3 kB / 0.5987 GB, free: 6.711 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.53e-05/0.6355, allocations: 58.78 kB / 0.5988 GB, free: 6.645 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00012/0.6357, allocations: 156 kB / 0.5989 GB, free: 6.504 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.361e-05/0.6357, allocations: 25.7 kB / 0.5989 GB, free: 6.473 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.678e-05/0.6357, allocations: 92 kB / 0.599 GB, free: 6.383 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.418e-05/0.6357, allocations: 23.03 kB / 0.5991 GB, free: 6.363 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.128e-06/0.6357, allocations: 3.938 kB / 0.5991 GB, free: 6.359 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.723e-05/0.6358, allocations: 324.8 kB / 0.5994 GB, free: 6.039 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.133e-05/0.6359, allocations: 18.19 kB / 0.5994 GB, free: 6.027 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.161e-05/0.6359, allocations: 39.39 kB / 0.5994 GB, free: 5.992 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.923e-05/0.636, allocations: 22.12 kB / 0.5994 GB, free: 5.977 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.01e-07/0.636, allocations: 0 / 0.5994 GB, free: 5.977 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001306/0.6361, allocations: 95.67 kB / 0.5995 GB, free: 5.891 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.656e-06/0.6361, allocations: 4 kB / 0.5995 GB, free: 5.887 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.6361, allocations: 0 / 0.5995 GB, free: 5.887 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.087e-06/0.6361, allocations: 4.031 kB / 0.5995 GB, free: 5.883 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.109e-05/0.6362, allocations: 23.92 kB / 0.5996 GB, free: 5.859 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.597e-06/0.6362, allocations: 0 / 0.5996 GB, free: 5.859 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.8e-05/0.6363, allocations: 4 kB / 0.5996 GB, free: 5.855 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.063e-06/0.6363, allocations: 0 / 0.5996 GB, free: 5.855 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 (10): * Single equations (assignments): 10 * 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.291e-05/0.6364, allocations: 110.5 kB / 0.5997 GB, free: 5.746 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.048e-05/0.6364, allocations: 11.81 kB / 0.5997 GB, free: 5.734 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001741/0.6366, allocations: 102 kB / 0.5998 GB, free: 5.641 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.6366, allocations: 4 kB / 0.5998 GB, free: 5.637 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.6366, allocations: 4.188 kB / 0.5998 GB, free: 5.633 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.6366, allocations: 0 / 0.5998 GB, free: 5.633 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003133/0.6369, allocations: 365.7 kB / 0.6001 GB, free: 5.262 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.6369, allocations: 3.984 kB / 0.6001 GB, free: 5.258 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.601e-05/0.637, allocations: 11.98 kB / 0.6002 GB, free: 5.246 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.506e-06/0.637, allocations: 4 kB / 0.6002 GB, free: 5.242 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.948e-06/0.637, allocations: 7.281 kB / 0.6002 GB, free: 5.238 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.637, allocations: 0 / 0.6002 GB, free: 5.238 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.637, allocations: 4.031 kB / 0.6002 GB, free: 5.234 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001564/0.6372, allocations: 206 kB / 0.6004 GB, free: 5.023 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002346/0.6374, allocations: 0.5798 MB / 0.6009 GB, free: 4.434 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.255e-05/0.6375, allocations: 88.33 kB / 0.601 GB, free: 4.332 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.732e-05/0.6375, allocations: 7.984 kB / 0.601 GB, free: 4.324 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.117e-05/0.6376, allocations: 0 / 0.601 GB, free: 4.324 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.905e-05/0.6376, allocations: 11.84 kB / 0.601 GB, free: 4.312 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.011e-05/0.6377, allocations: 7.984 kB / 0.601 GB, free: 4.305 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.497e-05/0.6377, allocations: 128.7 kB / 0.6012 GB, free: 4.195 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008396/0.6386, allocations: 38.44 kB / 0.6012 GB, free: 4.164 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (9): * Single equations (assignments): 7 * 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.0005808/0.6392, allocations: 345.2 kB / 0.6015 GB, free: 3.902 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001057/0.6393, allocations: 49.75 kB / 0.6016 GB, free: 3.867 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.6393, allocations: 4.062 kB / 0.6016 GB, free: 3.863 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.685e-05/0.6394, allocations: 31.25 kB / 0.6016 GB, free: 3.84 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002377/0.6396, allocations: 26.84 kB / 0.6016 GB, free: 3.82 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002966/0.6399, allocations: 139 kB / 0.6018 GB, free: 3.668 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002347/0.6401, allocations: 0.7232 MB / 0.6025 GB, free: 2.918 MB / 394.7 MB Notification: Performance of SimCode: time 2.81e-07/0.6402, allocations: 0 / 0.6025 GB, free: 2.918 MB / 394.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test3_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test3.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat does not exist to compare? outputFormat=mat