Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.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.Test40,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test40",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test40,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test40",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.0009564/0.0009564, allocations: 202.3 kB / 8.54 MB, free: 1.809 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.075/1.075, allocations: 225.5 MB / 234.4 MB, free: 14.96 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008358/0.0008359, allocations: 94.27 kB / 286.4 MB, free: 12.62 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2481/0.2481, allocations: 45.15 MB / 383.3 MB, free: 41.09 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.09961/0.3477, allocations: 69.37 MB / 452.7 MB, free: 5.488 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2314/0.5791, allocations: 63.24 MB / 0.5039 GB, free: 35.53 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08874/0.6678, allocations: 89.96 MB / 0.5917 GB, free: 4.41 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001665/0.668, allocations: 75.95 kB / 0.5918 GB, free: 4.336 MB / 410.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.01732/0.6854, allocations: 6.622 MB / 0.5983 GB, free: 13.67 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.192e-05/0.6854, allocations: 8 kB / 0.5983 GB, free: 13.66 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.431e-05/0.6855, allocations: 11.81 kB / 0.5983 GB, free: 13.65 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002998/0.6858, allocations: 222.8 kB / 0.5985 GB, free: 13.39 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.522e-05/0.6858, allocations: 4 kB / 0.5985 GB, free: 13.39 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.733e-05/0.6858, allocations: 3.984 kB / 0.5985 GB, free: 13.39 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.547e-05/0.6859, allocations: 20 kB / 0.5985 GB, free: 13.37 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.448e-05/0.686, allocations: 49.67 kB / 0.5986 GB, free: 13.31 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.686, allocations: 4 kB / 0.5986 GB, free: 13.31 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.779e-06/0.686, allocations: 0 / 0.5986 GB, free: 13.31 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.686, allocations: 0 / 0.5986 GB, free: 13.31 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003331/0.6864, allocations: 281.4 kB / 0.5988 GB, free: 13 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.926e-05/0.6865, allocations: 46.7 kB / 0.5989 GB, free: 12.94 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.439e-05/0.6865, allocations: 24.97 kB / 0.5989 GB, free: 12.91 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.297e-05/0.6865, allocations: 4 kB / 0.5989 GB, free: 12.91 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.855e-05/0.6866, allocations: 71.19 kB / 0.599 GB, free: 12.83 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 2.695e-06/0.6866, allocations: 0 / 0.599 GB, free: 12.83 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003744/0.687, allocations: 137.1 kB / 0.5991 GB, free: 12.69 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.293e-05/0.6871, allocations: 55.41 kB / 0.5992 GB, free: 12.62 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001809/0.6873, allocations: 194.7 kB / 0.5993 GB, free: 12.42 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.471e-05/0.6873, allocations: 29.7 kB / 0.5994 GB, free: 12.38 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.465e-05/0.6873, allocations: 96.12 kB / 0.5995 GB, free: 12.29 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.931e-05/0.6874, allocations: 27.64 kB / 0.5995 GB, free: 12.26 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.449e-06/0.6874, allocations: 0 / 0.5995 GB, free: 12.26 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.904e-05/0.6875, allocations: 322.8 kB / 0.5998 GB, free: 11.93 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.399e-05/0.6875, allocations: 16 kB / 0.5998 GB, free: 11.92 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.041e-05/0.6876, allocations: 33.66 kB / 0.5998 GB, free: 11.88 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.434e-05/0.6876, allocations: 23.98 kB / 0.5999 GB, free: 11.86 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.12e-07/0.6876, allocations: 4 kB / 0.5999 GB, free: 11.85 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001457/0.6878, allocations: 89.5 kB / 0.6 GB, free: 11.76 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.078e-05/0.6878, allocations: 4 kB / 0.6 GB, free: 11.75 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.6878, allocations: 0 / 0.6 GB, free: 11.75 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.468e-06/0.6878, allocations: 4 kB / 0.6 GB, free: 11.75 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.262e-05/0.6879, allocations: 19.92 kB / 0.6 GB, free: 11.73 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.361e-06/0.6879, allocations: 4.141 kB / 0.6 GB, free: 11.73 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.026e-05/0.688, allocations: 4.188 kB / 0.6 GB, free: 11.72 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.166e-05/0.688, allocations: 12 kB / 0.6 GB, free: 11.71 MB / 426.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 7.552e-05/0.6881, allocations: 112.9 kB / 0.6001 GB, free: 11.59 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.436e-05/0.6881, allocations: 15.81 kB / 0.6001 GB, free: 11.58 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002143/0.6883, allocations: 99.02 kB / 0.6002 GB, free: 11.48 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.6883, allocations: 0 / 0.6002 GB, free: 11.48 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.259e-06/0.6884, allocations: 3.984 kB / 0.6002 GB, free: 11.47 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.6884, allocations: 0 / 0.6002 GB, free: 11.47 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003848/0.6888, allocations: 387.8 kB / 0.6006 GB, free: 11.05 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.6888, allocations: 4.031 kB / 0.6006 GB, free: 11.04 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.149e-05/0.6888, allocations: 8 kB / 0.6006 GB, free: 11.04 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.556e-06/0.6888, allocations: 4.281 kB / 0.6006 GB, free: 11.03 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.867e-06/0.6888, allocations: 0 / 0.6006 GB, free: 11.03 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.955e-06/0.6888, allocations: 3.984 kB / 0.6006 GB, free: 11.03 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.6889, allocations: 3.938 kB / 0.6006 GB, free: 11.02 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001938/0.6891, allocations: 209.8 kB / 0.6008 GB, free: 10.79 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003065/0.6894, allocations: 0.5803 MB / 0.6014 GB, free: 10.18 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.276e-05/0.6894, allocations: 96.92 kB / 0.6015 GB, free: 10.07 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.87e-05/0.6895, allocations: 3.938 kB / 0.6015 GB, free: 10.07 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.816e-05/0.6896, allocations: 11.98 kB / 0.6015 GB, free: 10.05 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.08e-05/0.6896, allocations: 0 / 0.6015 GB, free: 10.05 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.003e-05/0.6896, allocations: 4 kB / 0.6015 GB, free: 10.05 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0001357/0.6898, allocations: 164.1 kB / 0.6016 GB, free: 9.891 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0008601/0.6906, allocations: 31.94 kB / 0.6017 GB, free: 9.859 MB / 426.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.0006701/0.6913, allocations: 350.2 kB / 0.602 GB, free: 9.605 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000127/0.6915, allocations: 59.97 kB / 0.6021 GB, free: 9.547 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.6915, allocations: 0 / 0.6021 GB, free: 9.547 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 4.961e-05/0.6915, allocations: 27.94 kB / 0.6021 GB, free: 9.52 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002582/0.6918, allocations: 20.17 kB / 0.6021 GB, free: 9.496 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004107/0.6922, allocations: 187.4 kB / 0.6023 GB, free: 9.289 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003138/0.6925, allocations: 0.7425 MB / 0.603 GB, free: 8.52 MB / 426.7 MB Notification: Performance of SimCode: time 2.31e-07/0.6925, allocations: 0 / 0.603 GB, free: 8.52 MB / 426.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test40_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test40.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat does not exist to compare? outputFormat=mat