Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.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.Test23,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test23,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test23",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.0009734/0.0009734, allocations: 198.1 kB / 8.539 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.084/1.084, allocations: 225.5 MB / 234.4 MB, free: 3.305 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000824/0.000824, allocations: 93.47 kB / 286.3 MB, free: 5.293 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1567/0.1567, allocations: 45.14 MB / 383.3 MB, free: 0.5 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1802/0.3369, allocations: 69.38 MB / 452.7 MB, free: 76.07 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07761/0.4146, allocations: 63.24 MB / 0.5039 GB, free: 12.89 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2424/0.657, allocations: 89.91 MB / 0.5917 GB, free: 12.87 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001751/0.6572, allocations: 70.95 kB / 0.5918 GB, free: 12.84 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.01652/0.6737, allocations: 6.444 MB / 0.598 GB, free: 7.469 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.415e-05/0.6737, allocations: 8 kB / 0.5981 GB, free: 7.461 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.206e-05/0.6738, allocations: 11.81 kB / 0.5981 GB, free: 7.449 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002896/0.6741, allocations: 222.7 kB / 0.5983 GB, free: 7.203 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.306e-05/0.6741, allocations: 0 / 0.5983 GB, free: 7.203 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.757e-05/0.6741, allocations: 4 kB / 0.5983 GB, free: 7.199 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.763e-05/0.6742, allocations: 26.61 kB / 0.5983 GB, free: 7.18 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.851e-05/0.6743, allocations: 53.36 kB / 0.5984 GB, free: 7.125 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.6743, allocations: 0 / 0.5984 GB, free: 7.125 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/0.6743, allocations: 3.984 kB / 0.5984 GB, free: 7.121 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.6743, allocations: 0 / 0.5984 GB, free: 7.121 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003073/0.6747, allocations: 274 kB / 0.5986 GB, free: 6.836 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.855e-05/0.6748, allocations: 52.44 kB / 0.5987 GB, free: 6.785 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.222e-05/0.6748, allocations: 22.3 kB / 0.5987 GB, free: 6.766 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.179e-05/0.6748, allocations: 0 / 0.5987 GB, free: 6.766 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.726e-05/0.6749, allocations: 67.92 kB / 0.5988 GB, free: 6.695 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.232e-06/0.6749, allocations: 0 / 0.5988 GB, free: 6.695 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003533/0.6753, allocations: 142.5 kB / 0.5989 GB, free: 6.57 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.185e-05/0.6753, allocations: 59.34 kB / 0.5989 GB, free: 6.5 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001544/0.6755, allocations: 185 kB / 0.5991 GB, free: 6.336 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.222e-05/0.6755, allocations: 33.69 kB / 0.5992 GB, free: 6.297 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.046e-05/0.6755, allocations: 87.52 kB / 0.5992 GB, free: 6.211 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.662e-05/0.6756, allocations: 23.52 kB / 0.5993 GB, free: 6.191 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.907e-06/0.6756, allocations: 0 / 0.5993 GB, free: 6.191 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.941e-05/0.6757, allocations: 329.4 kB / 0.5996 GB, free: 5.867 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.265e-05/0.6757, allocations: 18.75 kB / 0.5996 GB, free: 5.855 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.594e-05/0.6758, allocations: 31.77 kB / 0.5996 GB, free: 5.824 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.699e-05/0.6758, allocations: 18.44 kB / 0.5996 GB, free: 5.812 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.6758, allocations: 4 kB / 0.5996 GB, free: 5.809 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001335/0.676, allocations: 93.39 kB / 0.5997 GB, free: 5.727 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.156e-05/0.676, allocations: 8 kB / 0.5997 GB, free: 5.719 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.718e-06/0.676, allocations: 3.906 kB / 0.5997 GB, free: 5.715 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.137e-06/0.676, allocations: 0 / 0.5997 GB, free: 5.715 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.493e-05/0.6761, allocations: 12 kB / 0.5998 GB, free: 5.703 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.6761, allocations: 4 kB / 0.5998 GB, free: 5.699 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.796e-05/0.6762, allocations: 4.172 kB / 0.5998 GB, free: 5.695 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.287e-06/0.6762, allocations: 12.03 kB / 0.5998 GB, free: 5.684 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 8.697e-05/0.6763, allocations: 112.9 kB / 0.5999 GB, free: 5.566 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.173e-05/0.6763, allocations: 11.81 kB / 0.5999 GB, free: 5.555 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001801/0.6765, allocations: 103.6 kB / 0.6 GB, free: 5.469 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.6765, allocations: 0 / 0.6 GB, free: 5.469 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.6765, allocations: 4 kB / 0.6 GB, free: 5.465 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.6765, allocations: 0 / 0.6 GB, free: 5.465 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000356/0.6769, allocations: 378.7 kB / 0.6004 GB, free: 5.082 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.6769, allocations: 0 / 0.6004 GB, free: 5.082 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.186e-05/0.6769, allocations: 11.94 kB / 0.6004 GB, free: 5.07 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.033e-06/0.6769, allocations: 0 / 0.6004 GB, free: 5.07 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.131e-05/0.677, allocations: 7.938 kB / 0.6004 GB, free: 5.066 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.766e-06/0.677, allocations: 4.188 kB / 0.6004 GB, free: 5.062 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.677, allocations: 3.984 kB / 0.6004 GB, free: 5.059 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001787/0.6772, allocations: 208.5 kB / 0.6006 GB, free: 4.844 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002737/0.6774, allocations: 0.5709 MB / 0.6011 GB, free: 4.266 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.938e-05/0.6775, allocations: 96.91 kB / 0.6012 GB, free: 4.152 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.823e-05/0.6776, allocations: 0 / 0.6012 GB, free: 4.152 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.522e-05/0.6777, allocations: 11.98 kB / 0.6012 GB, free: 4.141 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.413e-05/0.6777, allocations: 11.69 kB / 0.6013 GB, free: 4.133 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.055e-06/0.6777, allocations: 3.938 kB / 0.6013 GB, free: 4.129 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001049/0.6778, allocations: 151.6 kB / 0.6014 GB, free: 4.004 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007889/0.6786, allocations: 34.33 kB / 0.6014 GB, free: 3.973 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.0006022/0.6792, allocations: 345.5 kB / 0.6018 GB, free: 3.715 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001256/0.6794, allocations: 56.92 kB / 0.6018 GB, free: 3.672 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.6794, allocations: 0 / 0.6018 GB, free: 3.672 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.732e-05/0.6794, allocations: 25.81 kB / 0.6018 GB, free: 3.656 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000249/0.6797, allocations: 21.3 kB / 0.6019 GB, free: 3.641 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003492/0.68, allocations: 179.7 kB / 0.602 GB, free: 3.445 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002972/0.6803, allocations: 0.7341 MB / 0.6028 GB, free: 2.688 MB / 394.7 MB Notification: Performance of SimCode: time 3.3e-07/0.6804, allocations: 3.938 kB / 0.6028 GB, free: 2.684 MB / 394.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test23_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test23.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat does not exist to compare? outputFormat=mat