Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.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.Test22,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test22",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test22,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test22",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.001302/0.001302, allocations: 202.7 kB / 8.542 MB, free: 1.812 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.08/1.08, allocations: 225.5 MB / 234.4 MB, free: 3.367 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008978/0.0008979, allocations: 91.52 kB / 286.3 MB, free: 5.262 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.155/0.155, allocations: 45.13 MB / 383.3 MB, free: 0.5781 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1771/0.3321, allocations: 69.38 MB / 452.7 MB, free: 76.1 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07648/0.4086, allocations: 63.24 MB / 0.5039 GB, free: 12.94 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2282/0.6368, allocations: 90.68 MB / 0.5924 GB, free: 12.45 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001811/0.637, allocations: 70.5 kB / 0.5925 GB, free: 12.42 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.02794/0.665, allocations: 10.53 MB / 0.6028 GB, free: 3.504 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/0.665, allocations: 15.94 kB / 0.6028 GB, free: 3.488 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002719/0.6653, allocations: 79.23 kB / 0.6029 GB, free: 3.41 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007963/0.6661, allocations: 0.4963 MB / 0.6033 GB, free: 2.918 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.43e-05/0.6661, allocations: 4 kB / 0.6034 GB, free: 2.914 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.355e-05/0.6662, allocations: 7.938 kB / 0.6034 GB, free: 2.906 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002259/0.6664, allocations: 77.03 kB / 0.6034 GB, free: 2.852 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002885/0.6667, allocations: 128.5 kB / 0.6036 GB, free: 2.734 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.792e-05/0.6668, allocations: 4 kB / 0.6036 GB, free: 2.73 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.029e-05/0.6668, allocations: 3.984 kB / 0.6036 GB, free: 2.727 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.967e-06/0.6668, allocations: 3.906 kB / 0.6036 GB, free: 2.723 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001363/0.6682, allocations: 0.7048 MB / 0.6043 GB, free: 2.066 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001296/0.6683, allocations: 84.17 kB / 0.6043 GB, free: 1.992 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.835e-05/0.6684, allocations: 36.98 kB / 0.6044 GB, free: 1.957 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.08e-05/0.6685, allocations: 8 kB / 0.6044 GB, free: 1.949 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.02e-05/0.6685, allocations: 37.69 kB / 0.6044 GB, free: 1.906 MB / 394.7 MB Notification: Performance of pre-optimization done (n=10): time 1.783e-06/0.6685, allocations: 0 / 0.6044 GB, free: 1.906 MB / 394.7 MB Notification: Performance of matching and sorting (n=16): time 0.001669/0.6702, allocations: 468.7 kB / 0.6049 GB, free: 1.488 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.421e-05/0.6703, allocations: 81.11 kB / 0.6049 GB, free: 1.391 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001399/0.6717, allocations: 0.7777 MB / 0.6057 GB, free: 0.7656 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.502e-05/0.6718, allocations: 25.7 kB / 0.6057 GB, free: 0.7344 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001139/0.6719, allocations: 165.3 kB / 0.6059 GB, free: 0.5898 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.041e-05/0.672, allocations: 50.02 kB / 0.6059 GB, free: 0.5469 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.312e-05/0.672, allocations: 7.938 kB / 0.6059 GB, free: 0.5391 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001798/0.6722, allocations: 375.9 kB / 0.6063 GB, free: 188 kB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00013/0.6723, allocations: 43.48 kB / 0.6063 GB, free: 160 kB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001446/0.6725, allocations: 60.45 kB / 0.6064 GB, free: 112 kB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001864/0.6727, allocations: 60.16 kB / 0.6064 GB, free: 68 kB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.6727, allocations: 0 / 0.6064 GB, free: 68 kB / 394.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004401/0.6731, allocations: 193 kB / 0.6066 GB, free: 15.9 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.6732, allocations: 4 kB / 0.6066 GB, free: 15.89 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.6732, allocations: 8.219 kB / 0.6066 GB, free: 15.89 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.6732, allocations: 0 / 0.6066 GB, free: 15.89 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000356/0.6736, allocations: 55.39 kB / 0.6067 GB, free: 15.84 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.814e-06/0.6736, allocations: 0 / 0.6067 GB, free: 15.84 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002868/0.6739, allocations: 16 kB / 0.6067 GB, free: 15.82 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.126e-05/0.6739, allocations: 15.89 kB / 0.6067 GB, free: 15.8 MB / 410.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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * 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 0.0001002/0.6741, allocations: 104.9 kB / 0.6068 GB, free: 15.7 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001913/0.6743, allocations: 55.25 kB / 0.6069 GB, free: 15.64 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007353/0.675, allocations: 258.6 kB / 0.6071 GB, free: 15.42 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.675, allocations: 0 / 0.6071 GB, free: 15.42 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.675, allocations: 0 / 0.6071 GB, free: 15.42 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.6751, allocations: 4 kB / 0.6071 GB, free: 15.42 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00156/0.6766, allocations: 0.8174 MB / 0.6079 GB, free: 14.69 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.6767, allocations: 4 kB / 0.6079 GB, free: 14.68 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002757/0.6769, allocations: 39.97 kB / 0.608 GB, free: 14.64 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.677, allocations: 4 kB / 0.608 GB, free: 14.64 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.004e-05/0.677, allocations: 3.812 kB / 0.608 GB, free: 14.64 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/0.677, allocations: 4 kB / 0.608 GB, free: 14.64 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.677, allocations: 3.938 kB / 0.608 GB, free: 14.63 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005918/0.6776, allocations: 395.7 kB / 0.6084 GB, free: 14.26 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000705/0.6783, allocations: 0.7662 MB / 0.6091 GB, free: 13.51 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003298/0.6787, allocations: 179.3 kB / 0.6093 GB, free: 13.32 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001186/0.6788, allocations: 0 / 0.6093 GB, free: 13.32 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003995/0.6792, allocations: 16.36 kB / 0.6093 GB, free: 13.31 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.118e-05/0.6793, allocations: 18.77 kB / 0.6093 GB, free: 13.29 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.403e-05/0.6794, allocations: 7.984 kB / 0.6093 GB, free: 13.29 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0009617/0.6803, allocations: 0.6177 MB / 0.6099 GB, free: 12.81 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001018/0.6814, allocations: 78.81 kB / 0.61 GB, free: 12.74 MB / 410.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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * 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.0005717/0.6819, allocations: 299.3 kB / 0.6103 GB, free: 12.52 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002528/0.6822, allocations: 122.6 kB / 0.6104 GB, free: 12.43 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.6822, allocations: 0 / 0.6104 GB, free: 12.43 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001484/0.6824, allocations: 69.11 kB / 0.6105 GB, free: 12.38 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000552/0.6829, allocations: 65.27 kB / 0.6105 GB, free: 12.34 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001731/0.6847, allocations: 0.7369 MB / 0.6113 GB, free: 11.63 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007828/0.6855, allocations: 0.9319 MB / 0.6122 GB, free: 10.69 MB / 410.7 MB Notification: Performance of SimCode: time 3.11e-07/0.6855, allocations: 0 / 0.6122 GB, free: 10.69 MB / 410.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test22_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test22.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat does not exist to compare? outputFormat=mat