Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test14.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.Test14,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test14",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test14,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test14",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.001056/0.001056, allocations: 205.5 kB / 8.544 MB, free: 1.816 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.088/1.088, allocations: 225.5 MB / 234.4 MB, free: 3.457 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007838/0.0007838, allocations: 93.84 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.1565/0.1565, allocations: 45.15 MB / 383.3 MB, free: 0.5586 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2098/0.3663, allocations: 69.37 MB / 452.7 MB, free: 76.09 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0881/0.4545, allocations: 63.24 MB / 0.5039 GB, free: 12.93 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2495/0.704, allocations: 89.87 MB / 0.5916 GB, free: 12.93 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001943/0.7042, allocations: 69.09 kB / 0.5917 GB, free: 12.89 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.02541/0.7297, allocations: 12.12 MB / 0.6035 GB, free: 3.34 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.098e-05/0.7297, allocations: 8 kB / 0.6035 GB, free: 3.332 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.617e-05/0.7298, allocations: 7.906 kB / 0.6036 GB, free: 3.324 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002242/0.73, allocations: 205.2 kB / 0.6037 GB, free: 3.09 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.704e-06/0.73, allocations: 4 kB / 0.6038 GB, free: 3.086 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.749e-05/0.73, allocations: 7.688 kB / 0.6038 GB, free: 3.082 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.223e-05/0.7301, allocations: 14.94 kB / 0.6038 GB, free: 3.07 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.702e-05/0.7302, allocations: 62.25 kB / 0.6038 GB, free: 3.004 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.7302, allocations: 3.938 kB / 0.6038 GB, free: 3 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.113e-05/0.7302, allocations: 3.984 kB / 0.6038 GB, free: 2.996 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.7302, allocations: 0 / 0.6038 GB, free: 2.996 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003702/0.7306, allocations: 291.8 kB / 0.6041 GB, free: 2.695 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.755e-05/0.7307, allocations: 37.38 kB / 0.6042 GB, free: 2.656 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.294e-05/0.7307, allocations: 20.77 kB / 0.6042 GB, free: 2.637 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.963e-05/0.7308, allocations: 0 / 0.6042 GB, free: 2.637 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.083e-05/0.7308, allocations: 38.56 kB / 0.6042 GB, free: 2.59 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 2.625e-06/0.7308, allocations: 0 / 0.6042 GB, free: 2.59 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004414/0.7312, allocations: 165.7 kB / 0.6044 GB, free: 2.445 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.869e-05/0.7313, allocations: 85.09 kB / 0.6044 GB, free: 2.344 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001094/0.7314, allocations: 132.7 kB / 0.6046 GB, free: 2.223 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.297e-05/0.7314, allocations: 25.7 kB / 0.6046 GB, free: 2.191 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.48e-05/0.7315, allocations: 95.94 kB / 0.6047 GB, free: 2.098 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.012e-05/0.7315, allocations: 14.91 kB / 0.6047 GB, free: 2.086 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.459e-06/0.7315, allocations: 0 / 0.6047 GB, free: 2.086 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.364e-05/0.7316, allocations: 326.4 kB / 0.605 GB, free: 1.762 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.369e-05/0.7316, allocations: 23.62 kB / 0.605 GB, free: 1.746 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.117e-05/0.7317, allocations: 32.83 kB / 0.6051 GB, free: 1.715 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.273e-05/0.7317, allocations: 30.17 kB / 0.6051 GB, free: 1.695 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.12e-07/0.7317, allocations: 3.938 kB / 0.6051 GB, free: 1.691 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000129/0.7319, allocations: 81.09 kB / 0.6052 GB, free: 1.617 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.716e-06/0.7319, allocations: 4 kB / 0.6052 GB, free: 1.613 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.396e-06/0.7319, allocations: 0 / 0.6052 GB, free: 1.613 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.196e-06/0.7319, allocations: 0 / 0.6052 GB, free: 1.613 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001287/0.732, allocations: 32 kB / 0.6052 GB, free: 1.582 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.437e-06/0.732, allocations: 0 / 0.6052 GB, free: 1.582 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.887e-05/0.7321, allocations: 15.19 kB / 0.6052 GB, free: 1.57 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.464e-06/0.7321, allocations: 4 kB / 0.6052 GB, free: 1.566 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 (7): * Single equations (assignments): 7 * 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.494e-05/0.7322, allocations: 112.9 kB / 0.6053 GB, free: 1.449 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.731e-05/0.7323, allocations: 7.906 kB / 0.6053 GB, free: 1.441 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001789/0.7325, allocations: 104.1 kB / 0.6054 GB, free: 1.348 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.7325, allocations: 7.969 kB / 0.6055 GB, free: 1.34 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.7325, allocations: 0 / 0.6055 GB, free: 1.34 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.7325, allocations: 0 / 0.6055 GB, free: 1.34 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003344/0.7328, allocations: 357.9 kB / 0.6058 GB, free: 0.9844 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.7328, allocations: 3.938 kB / 0.6058 GB, free: 0.9805 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001023/0.733, allocations: 23.98 kB / 0.6058 GB, free: 0.957 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.733, allocations: 0 / 0.6058 GB, free: 0.957 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.865e-06/0.733, allocations: 0 / 0.6058 GB, free: 0.957 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.733, allocations: 0 / 0.6058 GB, free: 0.957 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.733, allocations: 0 / 0.6058 GB, free: 0.957 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001478/0.7331, allocations: 189.8 kB / 0.606 GB, free: 0.7695 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002452/0.7334, allocations: 0.5629 MB / 0.6066 GB, free: 216 kB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.102e-05/0.7334, allocations: 88.75 kB / 0.6066 GB, free: 112 kB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.416e-05/0.7335, allocations: 4 kB / 0.6066 GB, free: 108 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000111/0.7336, allocations: 15.98 kB / 0.6067 GB, free: 92 kB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.578e-05/0.7336, allocations: 4 kB / 0.6067 GB, free: 88 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.77e-06/0.7336, allocations: 0 / 0.6067 GB, free: 88 kB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001023/0.7337, allocations: 124.6 kB / 0.6068 GB, free: 15.98 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008865/0.7346, allocations: 65.64 kB / 0.6068 GB, free: 15.93 MB / 410.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 (7): * Single equations (assignments): 7 * 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.0007066/0.7354, allocations: 385.4 kB / 0.6072 GB, free: 15.62 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001283/0.7355, allocations: 54.61 kB / 0.6073 GB, free: 15.59 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.332e-06/0.7355, allocations: 0 / 0.6073 GB, free: 15.59 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.226e-05/0.7356, allocations: 26.5 kB / 0.6073 GB, free: 15.57 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001984/0.7358, allocations: 15.92 kB / 0.6073 GB, free: 15.56 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003294/0.7361, allocations: 141 kB / 0.6074 GB, free: 15.41 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003284/0.7364, allocations: 0.7304 MB / 0.6082 GB, free: 14.66 MB / 410.7 MB Notification: Performance of SimCode: time 2.51e-07/0.7365, allocations: 0 / 0.6082 GB, free: 14.66 MB / 410.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test14.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test14_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test14_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test14.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test14_res.mat does not exist to compare? outputFormat=mat