Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.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.Test18_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab",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.0009872/0.0009872, allocations: 207 kB / 8.542 MB, free: 1.805 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.126/1.126, allocations: 225.5 MB / 234.4 MB, free: 3.43 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000844/0.000844, allocations: 96.03 kB / 286.3 MB, free: 5.25 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1568/0.1568, allocations: 45.15 MB / 383.3 MB, free: 0.5938 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1809/0.3377, allocations: 69.36 MB / 452.7 MB, free: 76.12 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07809/0.4159, allocations: 63.25 MB / 0.5039 GB, free: 12.93 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2405/0.6564, allocations: 89.68 MB / 0.5914 GB, free: 13.13 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000181/0.6566, allocations: 73.08 kB / 0.5915 GB, free: 13.09 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.01355/0.6701, allocations: 5.314 MB / 0.5967 GB, free: 8.617 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.345e-05/0.6702, allocations: 8 kB / 0.5967 GB, free: 8.609 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.037e-05/0.6702, allocations: 7.906 kB / 0.5967 GB, free: 8.602 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002551/0.6705, allocations: 212.6 kB / 0.5969 GB, free: 8.363 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.921e-06/0.6705, allocations: 0 / 0.5969 GB, free: 8.363 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.762e-05/0.6705, allocations: 4 kB / 0.5969 GB, free: 8.359 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.456e-05/0.6706, allocations: 30.94 kB / 0.597 GB, free: 8.336 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001079/0.6707, allocations: 74 kB / 0.597 GB, free: 8.262 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.158e-06/0.6708, allocations: 0 / 0.597 GB, free: 8.262 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.6708, allocations: 4 kB / 0.597 GB, free: 8.258 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.6708, allocations: 0 / 0.597 GB, free: 8.258 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005377/0.6713, allocations: 333.3 kB / 0.5973 GB, free: 7.922 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.913e-05/0.6714, allocations: 36.72 kB / 0.5974 GB, free: 7.887 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.646e-05/0.6715, allocations: 39.88 kB / 0.5974 GB, free: 7.852 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.116e-05/0.6715, allocations: 0 / 0.5974 GB, free: 7.852 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.064e-05/0.6715, allocations: 30.56 kB / 0.5974 GB, free: 7.812 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 9.71e-07/0.6715, allocations: 0 / 0.5974 GB, free: 7.812 MB / 394.7 MB Notification: Performance of matching and sorting (n=9): time 0.0007574/0.6723, allocations: 260.6 kB / 0.5977 GB, free: 7.586 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.718e-05/0.6723, allocations: 77.11 kB / 0.5978 GB, free: 7.492 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001405/0.6725, allocations: 148.8 kB / 0.5979 GB, free: 7.355 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.766e-05/0.6725, allocations: 25.7 kB / 0.5979 GB, free: 7.324 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.754e-05/0.6726, allocations: 92.19 kB / 0.598 GB, free: 7.23 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.704e-05/0.6726, allocations: 27.25 kB / 0.5981 GB, free: 7.207 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.236e-06/0.6726, allocations: 0 / 0.5981 GB, free: 7.207 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000131/0.6728, allocations: 330.2 kB / 0.5984 GB, free: 6.879 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.327e-05/0.6728, allocations: 33.3 kB / 0.5984 GB, free: 6.859 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.841e-05/0.6729, allocations: 51.2 kB / 0.5984 GB, free: 6.812 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.954e-05/0.673, allocations: 37.55 kB / 0.5985 GB, free: 6.785 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.673, allocations: 0 / 0.5985 GB, free: 6.785 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001909/0.6732, allocations: 109 kB / 0.5986 GB, free: 6.695 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.147e-05/0.6732, allocations: 8.094 kB / 0.5986 GB, free: 6.688 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.6732, allocations: 3.938 kB / 0.5986 GB, free: 6.684 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.073e-05/0.6732, allocations: 0 / 0.5986 GB, free: 6.684 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002479/0.6735, allocations: 59.92 kB / 0.5987 GB, free: 6.625 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/0.6735, allocations: 3.906 kB / 0.5987 GB, free: 6.621 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001772/0.6737, allocations: 39.95 kB / 0.5987 GB, free: 6.582 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.282e-05/0.6737, allocations: 10.75 kB / 0.5987 GB, free: 6.574 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 (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.557e-05/0.6738, allocations: 101 kB / 0.5988 GB, free: 6.469 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.145e-05/0.6738, allocations: 15.81 kB / 0.5988 GB, free: 6.453 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002408/0.6741, allocations: 128.1 kB / 0.5989 GB, free: 6.348 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.6741, allocations: 0 / 0.5989 GB, free: 6.348 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.6741, allocations: 0 / 0.5989 GB, free: 6.348 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.6741, allocations: 0 / 0.5989 GB, free: 6.348 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004557/0.6746, allocations: 408.2 kB / 0.5993 GB, free: 5.957 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-06/0.6746, allocations: 0 / 0.5993 GB, free: 5.957 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002164/0.6748, allocations: 51.95 kB / 0.5994 GB, free: 5.906 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.6748, allocations: 4 kB / 0.5994 GB, free: 5.902 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.15e-05/0.6748, allocations: 0 / 0.5994 GB, free: 5.902 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.6748, allocations: 3.938 kB / 0.5994 GB, free: 5.898 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.6748, allocations: 0 / 0.5994 GB, free: 5.898 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001995/0.675, allocations: 209 kB / 0.5996 GB, free: 5.699 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002682/0.6753, allocations: 0.5799 MB / 0.6002 GB, free: 5.129 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.467e-05/0.6754, allocations: 96.66 kB / 0.6002 GB, free: 5.02 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.637e-05/0.6754, allocations: 0 / 0.6002 GB, free: 5.02 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002093/0.6756, allocations: 40.16 kB / 0.6003 GB, free: 4.98 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.017e-05/0.6757, allocations: 7.984 kB / 0.6003 GB, free: 4.973 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.104e-05/0.6757, allocations: 11.98 kB / 0.6003 GB, free: 4.961 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.547e-05/0.6758, allocations: 125.9 kB / 0.6004 GB, free: 4.855 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008929/0.6767, allocations: 74.34 kB / 0.6005 GB, free: 4.793 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (9): * Single equations (assignments): 9 * 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.0007266/0.6774, allocations: 393.8 kB / 0.6009 GB, free: 4.488 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001653/0.6776, allocations: 80.55 kB / 0.6009 GB, free: 4.434 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.6776, allocations: 4 kB / 0.601 GB, free: 4.43 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.856e-05/0.6777, allocations: 49.61 kB / 0.601 GB, free: 4.395 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002014/0.6779, allocations: 16.14 kB / 0.601 GB, free: 4.383 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004143/0.6783, allocations: 169.1 kB / 0.6012 GB, free: 4.211 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003122/0.6786, allocations: 0.7338 MB / 0.6019 GB, free: 3.453 MB / 394.7 MB Notification: Performance of SimCode: time 2.71e-07/0.6786, allocations: 4 kB / 0.6019 GB, free: 3.449 MB / 394.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.mat does not exist to compare? outputFormat=mat