Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.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.CombiTable2Ds.Test31,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test31,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test31",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.001827/0.001826, allocations: 203 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.505/1.505, allocations: 225.5 MB / 234.4 MB, free: 3.34 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009118/0.0009118, allocations: 93.77 kB / 286.3 MB, free: 5.289 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1838/0.1838, allocations: 45.13 MB / 383.3 MB, free: 0.5703 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2584/0.4422, allocations: 69.38 MB / 452.7 MB, free: 76.13 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1126/0.5548, allocations: 63.24 MB / 0.5039 GB, free: 12.95 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3364/0.8912, allocations: 89.42 MB / 0.5912 GB, free: 13.42 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001947/0.8915, allocations: 74.7 kB / 0.5913 GB, free: 13.38 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.02814/0.9196, allocations: 12.42 MB / 0.6034 GB, free: 3.613 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.9197, allocations: 8 kB / 0.6034 GB, free: 3.605 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.538e-05/0.9198, allocations: 7.906 kB / 0.6034 GB, free: 3.598 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002774/0.92, allocations: 193.6 kB / 0.6036 GB, free: 3.375 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.13e-05/0.9201, allocations: 7.938 kB / 0.6036 GB, free: 3.367 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.902e-05/0.9201, allocations: 0 / 0.6036 GB, free: 3.367 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.553e-05/0.9202, allocations: 22.62 kB / 0.6036 GB, free: 3.352 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001065/0.9203, allocations: 58.62 kB / 0.6037 GB, free: 3.285 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.9203, allocations: 4 kB / 0.6037 GB, free: 3.281 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.026e-05/0.9203, allocations: 0 / 0.6037 GB, free: 3.281 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.9203, allocations: 0 / 0.6037 GB, free: 3.281 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003816/0.9207, allocations: 266 kB / 0.6039 GB, free: 3.004 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.747e-05/0.9208, allocations: 41.27 kB / 0.604 GB, free: 2.961 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.332e-05/0.9209, allocations: 20.33 kB / 0.604 GB, free: 2.941 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.718e-05/0.9209, allocations: 4.062 kB / 0.604 GB, free: 2.938 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.751e-05/0.9209, allocations: 34.56 kB / 0.604 GB, free: 2.895 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.9209, allocations: 0 / 0.604 GB, free: 2.895 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004957/0.9214, allocations: 138.8 kB / 0.6042 GB, free: 2.77 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.651e-05/0.9215, allocations: 77.11 kB / 0.6042 GB, free: 2.676 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001373/0.9216, allocations: 142.6 kB / 0.6044 GB, free: 2.547 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.413e-05/0.9217, allocations: 25.7 kB / 0.6044 GB, free: 2.516 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.362e-05/0.9217, allocations: 95.5 kB / 0.6045 GB, free: 2.422 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.583e-05/0.9217, allocations: 19.59 kB / 0.6045 GB, free: 2.406 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.009e-06/0.9218, allocations: 4 kB / 0.6045 GB, free: 2.402 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001064/0.9219, allocations: 318.1 kB / 0.6048 GB, free: 2.086 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.234e-05/0.9219, allocations: 11.62 kB / 0.6048 GB, free: 2.078 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.832e-05/0.922, allocations: 27.78 kB / 0.6048 GB, free: 2.051 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.817e-05/0.922, allocations: 22.64 kB / 0.6049 GB, free: 2.035 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-07/0.922, allocations: 0 / 0.6049 GB, free: 2.035 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000161/0.9222, allocations: 71.91 kB / 0.6049 GB, free: 1.965 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.9222, allocations: 11.44 kB / 0.6049 GB, free: 1.957 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/0.9222, allocations: 8.016 kB / 0.605 GB, free: 1.949 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.118e-05/0.9222, allocations: 0 / 0.605 GB, free: 1.949 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001392/0.9224, allocations: 27.92 kB / 0.605 GB, free: 1.922 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.028e-06/0.9224, allocations: 0 / 0.605 GB, free: 1.922 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.251e-05/0.9225, allocations: 19.98 kB / 0.605 GB, free: 1.902 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.286e-06/0.9225, allocations: 0 / 0.605 GB, free: 1.902 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 6.727e-05/0.9226, allocations: 101 kB / 0.6051 GB, free: 1.797 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.891e-05/0.9226, allocations: 11.81 kB / 0.6051 GB, free: 1.785 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001859/0.9228, allocations: 84.41 kB / 0.6052 GB, free: 1.703 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/0.9228, allocations: 7.938 kB / 0.6052 GB, free: 1.695 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.9228, allocations: 0 / 0.6052 GB, free: 1.695 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.9228, allocations: 4 kB / 0.6052 GB, free: 1.691 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003432/0.9232, allocations: 336.9 kB / 0.6055 GB, free: 1.352 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.9232, allocations: 0 / 0.6055 GB, free: 1.352 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001036/0.9233, allocations: 23.98 kB / 0.6055 GB, free: 1.328 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.9233, allocations: 0 / 0.6055 GB, free: 1.328 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.648e-06/0.9233, allocations: 8 kB / 0.6055 GB, free: 1.32 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.9233, allocations: 0 / 0.6055 GB, free: 1.32 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.9233, allocations: 0 / 0.6055 GB, free: 1.32 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001585/0.9235, allocations: 173.6 kB / 0.6057 GB, free: 1.148 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002562/0.9238, allocations: 0.5362 MB / 0.6062 GB, free: 0.6094 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.265e-05/0.9238, allocations: 100.5 kB / 0.6063 GB, free: 0.4961 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.367e-05/0.9239, allocations: 0 / 0.6063 GB, free: 0.4961 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001151/0.924, allocations: 15.98 kB / 0.6063 GB, free: 492 kB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.741e-05/0.924, allocations: 7.938 kB / 0.6064 GB, free: 484 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.64e-06/0.924, allocations: 0 / 0.6064 GB, free: 484 kB / 394.7 MB Notification: Performance of sort global known variables: time 7.495e-05/0.9241, allocations: 113.4 kB / 0.6065 GB, free: 384 kB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009342/0.9251, allocations: 66.34 kB / 0.6065 GB, free: 328 kB / 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 (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.0008782/0.926, allocations: 388.5 kB / 0.6069 GB, free: 20 kB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001415/0.9261, allocations: 37.55 kB / 0.6069 GB, free: 15.99 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.9261, allocations: 0 / 0.6069 GB, free: 15.99 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.508e-05/0.9262, allocations: 26.44 kB / 0.607 GB, free: 15.97 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002219/0.9264, allocations: 14.62 kB / 0.607 GB, free: 15.96 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003788/0.9268, allocations: 119.8 kB / 0.6071 GB, free: 15.84 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003505/0.9272, allocations: 0.7227 MB / 0.6078 GB, free: 15.09 MB / 410.7 MB Notification: Performance of SimCode: time 3.31e-07/0.9272, allocations: 0 / 0.6078 GB, free: 15.09 MB / 410.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test31_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test31.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31_res.mat does not exist to compare? outputFormat=mat