Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.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.Test17,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test17",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test17,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test17",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.0009754/0.0009756, allocations: 195.1 kB / 8.537 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.101/1.101, 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.000817/0.0008171, allocations: 98.73 kB / 286.3 MB, free: 5.246 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1552/0.1552, allocations: 45.14 MB / 383.3 MB, free: 0.6133 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1787/0.334, allocations: 69.38 MB / 452.7 MB, free: 76.13 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07732/0.4113, allocations: 63.25 MB / 0.5039 GB, free: 12.95 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2381/0.6495, allocations: 89.95 MB / 0.5917 GB, free: 12.88 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001675/0.6497, allocations: 73.91 kB / 0.5918 GB, free: 12.85 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.01654/0.6662, allocations: 6.459 MB / 0.5981 GB, free: 7.469 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.268e-05/0.6663, allocations: 12 kB / 0.5981 GB, free: 7.457 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.745e-05/0.6663, allocations: 7.906 kB / 0.5981 GB, free: 7.449 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002583/0.6666, allocations: 218 kB / 0.5983 GB, free: 7.207 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.205e-05/0.6666, allocations: 0 / 0.5983 GB, free: 7.207 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.669e-05/0.6666, allocations: 4 kB / 0.5983 GB, free: 7.203 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.527e-05/0.6667, allocations: 19.67 kB / 0.5983 GB, free: 7.188 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.231e-05/0.6668, allocations: 53.06 kB / 0.5984 GB, free: 7.137 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.976e-06/0.6668, allocations: 3.906 kB / 0.5984 GB, free: 7.133 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.6668, allocations: 3.984 kB / 0.5984 GB, free: 7.129 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.557e-06/0.6668, allocations: 0 / 0.5984 GB, free: 7.129 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003096/0.6671, allocations: 262.9 kB / 0.5987 GB, free: 6.852 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.928e-05/0.6673, allocations: 61.53 kB / 0.5987 GB, free: 6.793 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.156e-05/0.6673, allocations: 16.61 kB / 0.5987 GB, free: 6.777 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.188e-05/0.6673, allocations: 3.312 kB / 0.5987 GB, free: 6.777 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.757e-05/0.6674, allocations: 58.16 kB / 0.5988 GB, free: 6.715 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 2.244e-06/0.6674, allocations: 7.922 kB / 0.5988 GB, free: 6.707 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003516/0.6678, allocations: 136.6 kB / 0.5989 GB, free: 6.586 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.602e-05/0.6678, allocations: 51.41 kB / 0.599 GB, free: 6.523 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001373/0.6679, allocations: 176.9 kB / 0.5991 GB, free: 6.359 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.624e-05/0.668, allocations: 33.44 kB / 0.5992 GB, free: 6.324 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.112e-05/0.668, allocations: 87.58 kB / 0.5993 GB, free: 6.238 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.652e-05/0.668, allocations: 23.45 kB / 0.5993 GB, free: 6.219 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.888e-06/0.668, allocations: 0 / 0.5993 GB, free: 6.219 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001003/0.6682, allocations: 326 kB / 0.5996 GB, free: 5.895 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.127e-05/0.6682, allocations: 15.56 kB / 0.5996 GB, free: 5.887 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.661e-05/0.6682, allocations: 28.09 kB / 0.5996 GB, free: 5.859 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.828e-05/0.6683, allocations: 27.61 kB / 0.5997 GB, free: 5.84 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.11e-07/0.6683, allocations: 0 / 0.5997 GB, free: 5.84 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001336/0.6684, allocations: 90.84 kB / 0.5997 GB, free: 5.758 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.147e-06/0.6684, allocations: 4 kB / 0.5998 GB, free: 5.754 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.6685, allocations: 0 / 0.5998 GB, free: 5.754 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.052e-05/0.6685, allocations: 7.984 kB / 0.5998 GB, free: 5.746 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.751e-05/0.6686, allocations: 15.91 kB / 0.5998 GB, free: 5.73 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.597e-06/0.6686, allocations: 160 / 0.5998 GB, free: 5.73 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.781e-05/0.6686, allocations: 8.031 kB / 0.5998 GB, free: 5.723 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.098e-05/0.6686, allocations: 11.91 kB / 0.5998 GB, free: 5.715 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 6.005e-05/0.6687, allocations: 108.9 kB / 0.5999 GB, free: 5.602 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.073e-05/0.6687, allocations: 11.81 kB / 0.5999 GB, free: 5.59 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001741/0.6689, allocations: 101 kB / 0.6 GB, free: 5.504 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.6689, allocations: 4 kB / 0.6 GB, free: 5.5 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.6689, allocations: 4.172 kB / 0.6 GB, free: 5.496 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.6689, allocations: 0 / 0.6 GB, free: 5.496 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003277/0.6693, allocations: 372 kB / 0.6004 GB, free: 5.121 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.6693, allocations: 0 / 0.6004 GB, free: 5.121 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.194e-05/0.6693, allocations: 11.94 kB / 0.6004 GB, free: 5.109 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.6693, allocations: 3.984 kB / 0.6004 GB, free: 5.105 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/0.6694, allocations: 4 kB / 0.6004 GB, free: 5.102 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.6694, allocations: 0 / 0.6004 GB, free: 5.102 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.6694, allocations: 0 / 0.6004 GB, free: 5.102 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000163/0.6695, allocations: 211.7 kB / 0.6006 GB, free: 4.883 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002708/0.6698, allocations: 0.5806 MB / 0.6012 GB, free: 4.297 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.456e-05/0.6699, allocations: 88.95 kB / 0.6012 GB, free: 4.191 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.741e-05/0.6699, allocations: 8 kB / 0.6012 GB, free: 4.184 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.929e-05/0.67, allocations: 3.984 kB / 0.6013 GB, free: 4.18 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.739e-05/0.67, allocations: 7.906 kB / 0.6013 GB, free: 4.172 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.155e-05/0.6701, allocations: 11.73 kB / 0.6013 GB, free: 4.164 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.994e-05/0.6701, allocations: 128.5 kB / 0.6014 GB, free: 4.055 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007854/0.6709, allocations: 39.42 kB / 0.6014 GB, free: 4.023 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.0006197/0.6716, allocations: 345.3 kB / 0.6018 GB, free: 3.762 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001093/0.6717, allocations: 49.31 kB / 0.6018 GB, free: 3.727 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.6717, allocations: 0 / 0.6018 GB, free: 3.727 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.768e-05/0.6717, allocations: 35.05 kB / 0.6018 GB, free: 3.699 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002294/0.672, allocations: 28.05 kB / 0.6019 GB, free: 3.676 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003506/0.6723, allocations: 150.2 kB / 0.602 GB, free: 3.516 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003083/0.6727, allocations: 0.7192 MB / 0.6027 GB, free: 2.77 MB / 394.7 MB Notification: Performance of SimCode: time 2.61e-07/0.6727, allocations: 0 / 0.6027 GB, free: 2.77 MB / 394.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test17_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test17.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat does not exist to compare? outputFormat=mat