Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29.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.CombiTable2Dv.Test29,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test29",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test29,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test29",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.001059/0.001059, allocations: 196.5 kB / 8.54 MB, free: 1.82 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.449 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008102/0.0008101, allocations: 95.52 kB / 286.3 MB, free: 5.223 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1575/0.1575, allocations: 45.15 MB / 383.3 MB, free: 0.6211 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.183/0.3405, allocations: 69.37 MB / 452.7 MB, free: 76.11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07781/0.4183, allocations: 63.24 MB / 0.5039 GB, free: 12.95 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2485/0.6668, allocations: 89.65 MB / 0.5914 GB, free: 13.41 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001688/0.667, allocations: 73.28 kB / 0.5915 GB, free: 13.38 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.01367/0.6807, allocations: 5.682 MB / 0.597 GB, free: 8.57 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.137e-05/0.6808, allocations: 8 kB / 0.597 GB, free: 8.562 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.218e-05/0.6808, allocations: 15.81 kB / 0.5971 GB, free: 8.547 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002616/0.6811, allocations: 223.9 kB / 0.5973 GB, free: 8.297 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.324e-06/0.6811, allocations: 0 / 0.5973 GB, free: 8.297 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.85e-05/0.6811, allocations: 8 kB / 0.5973 GB, free: 8.289 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.425e-05/0.6812, allocations: 26.75 kB / 0.5973 GB, free: 8.27 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.021e-05/0.6813, allocations: 52.17 kB / 0.5973 GB, free: 8.219 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.186e-06/0.6813, allocations: 0 / 0.5973 GB, free: 8.219 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.6813, allocations: 0 / 0.5973 GB, free: 8.219 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.11e-05/0.6813, allocations: 7.844 kB / 0.5974 GB, free: 8.211 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004048/0.6818, allocations: 313.3 kB / 0.5977 GB, free: 7.891 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001354/0.6819, allocations: 36.27 kB / 0.5977 GB, free: 7.855 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.742e-05/0.6819, allocations: 16.3 kB / 0.5977 GB, free: 7.84 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.894e-05/0.682, allocations: 0 / 0.5977 GB, free: 7.84 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.83e-05/0.682, allocations: 42.09 kB / 0.5977 GB, free: 7.793 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 9.32e-07/0.682, allocations: 0 / 0.5977 GB, free: 7.793 MB / 394.7 MB Notification: Performance of matching and sorting (n=11): time 0.0006166/0.6826, allocations: 233.7 kB / 0.598 GB, free: 7.598 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.567e-05/0.6827, allocations: 55.41 kB / 0.598 GB, free: 7.531 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001844/0.6829, allocations: 187.2 kB / 0.5982 GB, free: 7.363 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.54e-05/0.6829, allocations: 25.7 kB / 0.5982 GB, free: 7.332 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.104e-05/0.6829, allocations: 99.94 kB / 0.5983 GB, free: 7.234 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.19e-05/0.683, allocations: 35.02 kB / 0.5984 GB, free: 7.203 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.611e-06/0.683, allocations: 3.938 kB / 0.5984 GB, free: 7.199 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.695e-05/0.6831, allocations: 330.4 kB / 0.5987 GB, free: 6.875 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.334e-05/0.6831, allocations: 41.3 kB / 0.5987 GB, free: 6.848 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.656e-05/0.6832, allocations: 36.69 kB / 0.5987 GB, free: 6.824 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.306e-05/0.6833, allocations: 42.66 kB / 0.5988 GB, free: 6.797 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.91e-07/0.6833, allocations: 4 kB / 0.5988 GB, free: 6.793 MB / 394.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001692/0.6834, allocations: 119.8 kB / 0.5989 GB, free: 6.695 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.778e-06/0.6835, allocations: 4 kB / 0.5989 GB, free: 6.691 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.6835, allocations: 4 kB / 0.5989 GB, free: 6.688 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.638e-06/0.6835, allocations: 0 / 0.5989 GB, free: 6.688 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001264/0.6836, allocations: 35.97 kB / 0.5989 GB, free: 6.652 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.847e-06/0.6836, allocations: 0 / 0.5989 GB, free: 6.652 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.42e-05/0.6837, allocations: 15.98 kB / 0.599 GB, free: 6.637 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.916e-06/0.6837, allocations: 0 / 0.599 GB, free: 6.637 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.642e-05/0.6838, allocations: 112.9 kB / 0.5991 GB, free: 6.52 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.163e-05/0.6838, allocations: 14.5 kB / 0.5991 GB, free: 6.508 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002398/0.6841, allocations: 148.3 kB / 0.5992 GB, free: 6.391 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.6841, allocations: 4 kB / 0.5992 GB, free: 6.387 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.6841, allocations: 3.906 kB / 0.5992 GB, free: 6.383 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.6841, allocations: 3.984 kB / 0.5992 GB, free: 6.379 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004888/0.6846, allocations: 462.8 kB / 0.5997 GB, free: 5.938 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.6846, allocations: 384 / 0.5997 GB, free: 5.938 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001191/0.6847, allocations: 27.98 kB / 0.5997 GB, free: 5.91 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.478e-06/0.6848, allocations: 4 kB / 0.5997 GB, free: 5.906 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.038e-05/0.6848, allocations: 4 kB / 0.5997 GB, free: 5.902 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.6848, allocations: 0 / 0.5997 GB, free: 5.902 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/0.6848, allocations: 8.062 kB / 0.5997 GB, free: 5.895 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002276/0.685, allocations: 260.1 kB / 0.6 GB, free: 5.637 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003277/0.6854, allocations: 0.6292 MB / 0.6006 GB, free: 5 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.28e-05/0.6854, allocations: 100.2 kB / 0.6007 GB, free: 4.887 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.515e-05/0.6855, allocations: 0 / 0.6007 GB, free: 4.887 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001158/0.6856, allocations: 19.98 kB / 0.6007 GB, free: 4.867 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.832e-05/0.6857, allocations: 11.98 kB / 0.6007 GB, free: 4.855 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.467e-06/0.6857, allocations: 11.25 kB / 0.6007 GB, free: 4.848 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001134/0.6858, allocations: 160.1 kB / 0.6009 GB, free: 4.715 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00087/0.6867, allocations: 38.88 kB / 0.6009 GB, free: 4.68 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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 Backend phase and start with SimCode phase: time 0.0006227/0.6873, allocations: 338.6 kB / 0.6012 GB, free: 4.422 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001673/0.6875, allocations: 91.05 kB / 0.6013 GB, free: 4.363 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.6875, allocations: 0 / 0.6013 GB, free: 4.363 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.509e-05/0.6876, allocations: 48.8 kB / 0.6014 GB, free: 4.328 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002176/0.6878, allocations: 23.48 kB / 0.6014 GB, free: 4.305 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004596/0.6883, allocations: 242.1 kB / 0.6016 GB, free: 4.066 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003341/0.6886, allocations: 0.7463 MB / 0.6023 GB, free: 3.301 MB / 394.7 MB Notification: Performance of SimCode: time 2.71e-07/0.6886, allocations: 0 / 0.6023 GB, free: 3.301 MB / 394.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test29_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test29.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test29_res.mat does not exist to compare? outputFormat=mat