Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27.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.Test27,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test27",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test27,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test27",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.0009893/0.0009893, allocations: 202.3 kB / 8.54 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.072/1.072, allocations: 225.5 MB / 234.4 MB, free: 3.293 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000814/0.0008142, allocations: 93.52 kB / 286.3 MB, free: 5.285 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1537/0.1537, allocations: 45.14 MB / 383.3 MB, free: 484 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.181/0.3347, allocations: 69.38 MB / 452.7 MB, free: 76.04 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07755/0.4123, allocations: 63.24 MB / 0.5039 GB, free: 12.87 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2263/0.6387, allocations: 89.64 MB / 0.5914 GB, free: 13.34 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001717/0.6389, allocations: 73.09 kB / 0.5915 GB, free: 13.31 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.01326/0.6521, allocations: 5.568 MB / 0.5969 GB, free: 8.609 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.385e-05/0.6522, allocations: 11.98 kB / 0.5969 GB, free: 8.598 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.358e-05/0.6522, allocations: 15.81 kB / 0.5969 GB, free: 8.582 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002342/0.6525, allocations: 203.6 kB / 0.5971 GB, free: 8.348 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.167e-06/0.6525, allocations: 4 kB / 0.5971 GB, free: 8.344 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.908e-05/0.6525, allocations: 3.906 kB / 0.5971 GB, free: 8.34 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.408e-05/0.6526, allocations: 26.98 kB / 0.5972 GB, free: 8.32 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.073e-05/0.6527, allocations: 56.62 kB / 0.5972 GB, free: 8.266 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/0.6527, allocations: 4 kB / 0.5972 GB, free: 8.262 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.877e-06/0.6527, allocations: 4 kB / 0.5972 GB, free: 8.258 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.067e-06/0.6527, allocations: 0 / 0.5972 GB, free: 8.258 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004061/0.6531, allocations: 298.5 kB / 0.5975 GB, free: 7.953 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001416/0.6533, allocations: 40.95 kB / 0.5976 GB, free: 7.914 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.525e-05/0.6533, allocations: 16.58 kB / 0.5976 GB, free: 7.898 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.328e-05/0.6534, allocations: 11.84 kB / 0.5976 GB, free: 7.887 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.869e-05/0.6534, allocations: 30.56 kB / 0.5976 GB, free: 7.848 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 1.012e-06/0.6534, allocations: 0 / 0.5976 GB, free: 7.848 MB / 394.7 MB Notification: Performance of matching and sorting (n=11): time 0.0006071/0.654, allocations: 239.9 kB / 0.5978 GB, free: 7.648 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.023e-05/0.6541, allocations: 51.41 kB / 0.5979 GB, free: 7.586 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001649/0.6542, allocations: 175.3 kB / 0.5981 GB, free: 7.422 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.663e-05/0.6542, allocations: 25.7 kB / 0.5981 GB, free: 7.391 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.257e-05/0.6543, allocations: 103.1 kB / 0.5982 GB, free: 7.293 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.935e-05/0.6543, allocations: 31.25 kB / 0.5982 GB, free: 7.266 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.139e-06/0.6543, allocations: 0 / 0.5982 GB, free: 7.266 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001112/0.6545, allocations: 326.6 kB / 0.5985 GB, free: 6.941 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.491e-05/0.6545, allocations: 37.86 kB / 0.5986 GB, free: 6.918 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.736e-05/0.6546, allocations: 33.92 kB / 0.5986 GB, free: 6.898 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.857e-05/0.6546, allocations: 42.3 kB / 0.5986 GB, free: 6.871 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.31e-07/0.6546, allocations: 0 / 0.5986 GB, free: 6.871 MB / 394.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001701/0.6548, allocations: 122.4 kB / 0.5987 GB, free: 6.77 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.122e-05/0.6548, allocations: 8 kB / 0.5988 GB, free: 6.762 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.6549, allocations: 7.984 kB / 0.5988 GB, free: 6.754 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/0.6549, allocations: 3.906 kB / 0.5988 GB, free: 6.75 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001247/0.655, allocations: 31.23 kB / 0.5988 GB, free: 6.723 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.655, allocations: 3.938 kB / 0.5988 GB, free: 6.719 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.547e-05/0.6551, allocations: 19.98 kB / 0.5988 GB, free: 6.699 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.142e-05/0.6551, allocations: 3.984 kB / 0.5988 GB, free: 6.695 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 8.737e-05/0.6552, allocations: 105 kB / 0.5989 GB, free: 6.586 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.016e-05/0.6553, allocations: 11.81 kB / 0.5989 GB, free: 6.574 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002407/0.6555, allocations: 152 kB / 0.5991 GB, free: 6.449 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.6555, allocations: 4 kB / 0.5991 GB, free: 6.445 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.6555, allocations: 3.938 kB / 0.5991 GB, free: 6.441 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.6555, allocations: 384 / 0.5991 GB, free: 6.441 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004544/0.656, allocations: 457.5 kB / 0.5995 GB, free: 6.004 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.656, allocations: 4 kB / 0.5995 GB, free: 6 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001303/0.6561, allocations: 36.05 kB / 0.5996 GB, free: 5.965 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.6562, allocations: 0 / 0.5996 GB, free: 5.965 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.829e-06/0.6562, allocations: 0 / 0.5996 GB, free: 5.965 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.534e-06/0.6562, allocations: 4 kB / 0.5996 GB, free: 5.961 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.6562, allocations: 3.938 kB / 0.5996 GB, free: 5.957 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002058/0.6564, allocations: 252.9 kB / 0.5998 GB, free: 5.703 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003008/0.6567, allocations: 0.6375 MB / 0.6004 GB, free: 5.059 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.041e-05/0.6568, allocations: 96.19 kB / 0.6005 GB, free: 4.949 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.616e-05/0.6568, allocations: 3.906 kB / 0.6005 GB, free: 4.945 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001119/0.6569, allocations: 15.98 kB / 0.6005 GB, free: 4.93 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.822e-05/0.657, allocations: 8 kB / 0.6006 GB, free: 4.922 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.007e-05/0.657, allocations: 11.92 kB / 0.6006 GB, free: 4.914 MB / 394.7 MB Notification: Performance of sort global known variables: time 9.56e-05/0.6571, allocations: 134.4 kB / 0.6007 GB, free: 4.801 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008529/0.6579, allocations: 43.55 kB / 0.6007 GB, free: 4.762 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.0006179/0.6586, allocations: 337.9 kB / 0.6011 GB, free: 4.504 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001507/0.6587, allocations: 83.11 kB / 0.6011 GB, free: 4.449 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.6587, allocations: 0 / 0.6011 GB, free: 4.449 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.535e-05/0.6588, allocations: 54.05 kB / 0.6012 GB, free: 4.41 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002117/0.659, allocations: 15.27 kB / 0.6012 GB, free: 4.398 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004157/0.6594, allocations: 234.3 kB / 0.6014 GB, free: 4.172 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002987/0.6598, allocations: 0.7385 MB / 0.6021 GB, free: 3.41 MB / 394.7 MB Notification: Performance of SimCode: time 3e-07/0.6598, allocations: 0 / 0.6021 GB, free: 3.41 MB / 394.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test27_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test27.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27_res.mat does not exist to compare? outputFormat=mat