Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.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.Test5,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test5,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test5",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.001047/0.001047, allocations: 203.4 kB / 8.537 MB, free: 1.727 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.081/1.081, allocations: 225.5 MB / 234.4 MB, free: 3.273 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008912/0.0008912, allocations: 94.38 kB / 286.3 MB, free: 5.301 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1535/0.1535, allocations: 45.15 MB / 383.4 MB, free: 0.5 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1747/0.3282, allocations: 69.36 MB / 452.7 MB, free: 76.08 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07627/0.4045, allocations: 63.24 MB / 0.5039 GB, free: 12.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2315/0.6361, allocations: 89.6 MB / 0.5914 GB, free: 13.47 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001715/0.6363, allocations: 70.09 kB / 0.5914 GB, free: 13.44 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.01825/0.6546, allocations: 8.889 MB / 0.6001 GB, free: 5.574 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.088e-05/0.6546, allocations: 8 kB / 0.6001 GB, free: 5.566 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.751e-05/0.6547, allocations: 47.34 kB / 0.6002 GB, free: 5.52 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004446/0.6551, allocations: 327.4 kB / 0.6005 GB, free: 5.172 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.424e-06/0.6551, allocations: 0 / 0.6005 GB, free: 5.172 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.762e-05/0.6552, allocations: 4 kB / 0.6005 GB, free: 5.168 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.395e-05/0.6552, allocations: 23.91 kB / 0.6005 GB, free: 5.148 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.062e-05/0.6553, allocations: 52.25 kB / 0.6005 GB, free: 5.098 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.6553, allocations: 4 kB / 0.6006 GB, free: 5.094 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.326e-06/0.6554, allocations: 0 / 0.6006 GB, free: 5.094 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.6554, allocations: 4 kB / 0.6006 GB, free: 5.09 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005174/0.6559, allocations: 420.8 kB / 0.601 GB, free: 4.695 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001488/0.6561, allocations: 40.73 kB / 0.601 GB, free: 4.652 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.708e-05/0.6561, allocations: 15.98 kB / 0.601 GB, free: 4.637 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.98e-05/0.6561, allocations: 3.984 kB / 0.601 GB, free: 4.633 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.622e-05/0.6561, allocations: 30.56 kB / 0.601 GB, free: 4.594 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.192e-06/0.6561, allocations: 0 / 0.601 GB, free: 4.594 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004258/0.6566, allocations: 189.2 kB / 0.6012 GB, free: 4.414 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.547e-05/0.6566, allocations: 55.41 kB / 0.6013 GB, free: 4.348 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001026/0.6577, allocations: 0.7648 MB / 0.602 GB, free: 3.762 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.381e-05/0.6577, allocations: 25.7 kB / 0.6021 GB, free: 3.73 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.003e-05/0.6577, allocations: 136.6 kB / 0.6022 GB, free: 3.613 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.933e-05/0.6578, allocations: 19.67 kB / 0.6022 GB, free: 3.594 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.296e-06/0.6578, allocations: 0 / 0.6022 GB, free: 3.594 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001309/0.6579, allocations: 362.5 kB / 0.6025 GB, free: 3.25 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.543e-05/0.658, allocations: 15.38 kB / 0.6026 GB, free: 3.238 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.132e-05/0.658, allocations: 15.92 kB / 0.6026 GB, free: 3.227 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.002e-05/0.658, allocations: 14.75 kB / 0.6026 GB, free: 3.219 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.658, allocations: 3.906 kB / 0.6026 GB, free: 3.215 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001417/0.6582, allocations: 96.34 kB / 0.6027 GB, free: 3.121 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.143e-05/0.6582, allocations: 7.938 kB / 0.6027 GB, free: 3.113 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.6582, allocations: 3.906 kB / 0.6027 GB, free: 3.109 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.077e-06/0.6582, allocations: 0 / 0.6027 GB, free: 3.109 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.716e-05/0.6583, allocations: 15.98 kB / 0.6027 GB, free: 3.094 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.698e-06/0.6583, allocations: 4 kB / 0.6027 GB, free: 3.09 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.437e-05/0.6584, allocations: 8 kB / 0.6027 GB, free: 3.082 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.927e-06/0.6584, allocations: 3.984 kB / 0.6027 GB, free: 3.078 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 (5): * Single equations (assignments): 5 * 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.782e-05/0.6585, allocations: 112.2 kB / 0.6028 GB, free: 2.965 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.445e-05/0.6586, allocations: 39.44 kB / 0.6029 GB, free: 2.926 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002054/0.6588, allocations: 117.9 kB / 0.603 GB, free: 2.812 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.6588, allocations: 4 kB / 0.603 GB, free: 2.809 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.878e-06/0.6588, allocations: 4 kB / 0.603 GB, free: 2.805 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.6588, allocations: 3.906 kB / 0.603 GB, free: 2.801 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006047/0.6594, allocations: 0.5417 MB / 0.6035 GB, free: 2.289 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.6594, allocations: 384 / 0.6035 GB, free: 2.289 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.82e-05/0.6595, allocations: 19.92 kB / 0.6035 GB, free: 2.273 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.6595, allocations: 4 kB / 0.6035 GB, free: 2.27 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.704e-06/0.6595, allocations: 8 kB / 0.6036 GB, free: 2.262 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.6595, allocations: 3.906 kB / 0.6036 GB, free: 2.258 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.6595, allocations: 0 / 0.6036 GB, free: 2.258 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001699/0.6597, allocations: 198.6 kB / 0.6037 GB, free: 2.059 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003027/0.66, allocations: 0.5721 MB / 0.6043 GB, free: 1.477 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001591/0.6602, allocations: 167 kB / 0.6045 GB, free: 1.305 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.901e-05/0.6602, allocations: 0 / 0.6045 GB, free: 1.305 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001096/0.6604, allocations: 11.98 kB / 0.6045 GB, free: 1.293 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.165e-05/0.6604, allocations: 0 / 0.6045 GB, free: 1.293 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.803e-06/0.6604, allocations: 4 kB / 0.6045 GB, free: 1.289 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.000569/0.661, allocations: 0.6114 MB / 0.6051 GB, free: 0.8555 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008862/0.6619, allocations: 75.2 kB / 0.6051 GB, free: 0.7852 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 (5): * Single equations (assignments): 5 * 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.0005342/0.6624, allocations: 300.8 kB / 0.6054 GB, free: 0.5586 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 8.738e-05/0.6625, allocations: 33.55 kB / 0.6055 GB, free: 0.5352 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.342e-06/0.6625, allocations: 3.938 kB / 0.6055 GB, free: 0.5312 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.055e-05/0.6626, allocations: 15.38 kB / 0.6055 GB, free: 0.5195 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002295/0.6628, allocations: 28.95 kB / 0.6055 GB, free: 0.4961 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00101/0.6638, allocations: 0.711 MB / 0.6062 GB, free: 15.82 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004455/0.6643, allocations: 0.8705 MB / 0.6071 GB, free: 14.94 MB / 410.7 MB Notification: Performance of SimCode: time 2.6e-07/0.6643, allocations: 0 / 0.6071 GB, free: 14.94 MB / 410.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test5_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test5.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5_res.mat does not exist to compare? outputFormat=mat