Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.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.Test4,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test4,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test4",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.001517/0.001517, allocations: 199.3 kB / 8.544 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.089/1.089, allocations: 225.5 MB / 234.4 MB, free: 3.309 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008295/0.0008296, allocations: 94.8 kB / 286.3 MB, free: 5.27 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1518/0.1518, allocations: 45.15 MB / 383.3 MB, free: 500 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1797/0.3315, allocations: 69.36 MB / 452.7 MB, free: 76.05 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07828/0.4098, allocations: 63.25 MB / 0.5039 GB, free: 12.88 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2269/0.6368, allocations: 89.59 MB / 0.5914 GB, free: 13.11 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001791/0.637, allocations: 74.02 kB / 0.5914 GB, free: 13.07 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.01816/0.6552, allocations: 8.888 MB / 0.6001 GB, free: 5.215 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.6552, allocations: 8.844 kB / 0.6001 GB, free: 5.207 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.9e-05/0.6553, allocations: 47.34 kB / 0.6002 GB, free: 5.16 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004123/0.6557, allocations: 326.8 kB / 0.6005 GB, free: 4.812 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.035e-06/0.6557, allocations: 8 kB / 0.6005 GB, free: 4.805 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.311e-05/0.6557, allocations: 0 / 0.6005 GB, free: 4.805 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.405e-05/0.6558, allocations: 22.48 kB / 0.6005 GB, free: 4.789 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.447e-05/0.6559, allocations: 52.86 kB / 0.6005 GB, free: 4.734 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.6559, allocations: 0 / 0.6005 GB, free: 4.734 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.246e-06/0.6559, allocations: 0 / 0.6005 GB, free: 4.734 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.6559, allocations: 7.938 kB / 0.6006 GB, free: 4.727 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000516/0.6565, allocations: 429.2 kB / 0.601 GB, free: 4.324 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001353/0.6566, allocations: 37.42 kB / 0.601 GB, free: 4.285 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.384e-05/0.6566, allocations: 12.17 kB / 0.601 GB, free: 4.273 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.751e-05/0.6567, allocations: 0 / 0.601 GB, free: 4.273 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.446e-05/0.6567, allocations: 38.5 kB / 0.601 GB, free: 4.227 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 7.51e-07/0.6567, allocations: 4 kB / 0.6011 GB, free: 4.223 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004088/0.6571, allocations: 187.8 kB / 0.6012 GB, free: 4.047 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.472e-05/0.6571, allocations: 51.41 kB / 0.6013 GB, free: 3.984 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001014/0.6582, allocations: 0.7631 MB / 0.602 GB, free: 3.398 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.399e-05/0.6582, allocations: 25.7 kB / 0.6021 GB, free: 3.367 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.945e-05/0.6582, allocations: 138.6 kB / 0.6022 GB, free: 3.246 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.069e-05/0.6583, allocations: 19.75 kB / 0.6022 GB, free: 3.227 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.617e-06/0.6583, allocations: 0 / 0.6022 GB, free: 3.227 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001178/0.6584, allocations: 362.9 kB / 0.6025 GB, free: 2.883 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.643e-05/0.6584, allocations: 11.94 kB / 0.6026 GB, free: 2.875 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.008e-05/0.6585, allocations: 15.06 kB / 0.6026 GB, free: 2.863 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.078e-05/0.6585, allocations: 18.92 kB / 0.6026 GB, free: 2.852 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.6585, allocations: 3.906 kB / 0.6026 GB, free: 2.848 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001323/0.6586, allocations: 92.72 kB / 0.6027 GB, free: 2.758 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.008e-05/0.6587, allocations: 6.812 kB / 0.6027 GB, free: 2.754 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.6587, allocations: 7.906 kB / 0.6027 GB, free: 2.746 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.776e-06/0.6587, allocations: 4 kB / 0.6027 GB, free: 2.742 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.451e-05/0.6588, allocations: 15.98 kB / 0.6027 GB, free: 2.727 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.376e-06/0.6588, allocations: 0 / 0.6027 GB, free: 2.727 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.277e-05/0.6588, allocations: 4 kB / 0.6027 GB, free: 2.723 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.266e-06/0.6589, allocations: 4 kB / 0.6027 GB, free: 2.719 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 4.896e-05/0.6589, allocations: 108.2 kB / 0.6028 GB, free: 2.609 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.322e-05/0.659, allocations: 43.44 kB / 0.6029 GB, free: 2.566 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001973/0.6592, allocations: 126 kB / 0.603 GB, free: 2.445 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.6592, allocations: 0 / 0.603 GB, free: 2.445 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.6592, allocations: 0 / 0.603 GB, free: 2.445 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.6592, allocations: 3.906 kB / 0.603 GB, free: 2.441 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000591/0.6598, allocations: 0.543 MB / 0.6035 GB, free: 1.93 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.6598, allocations: 384 / 0.6035 GB, free: 1.93 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.01e-05/0.6599, allocations: 23.92 kB / 0.6035 GB, free: 1.906 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.6599, allocations: 0 / 0.6035 GB, free: 1.906 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.614e-06/0.6599, allocations: 4 kB / 0.6036 GB, free: 1.902 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.6599, allocations: 3.906 kB / 0.6036 GB, free: 1.898 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.6599, allocations: 0 / 0.6036 GB, free: 1.898 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001732/0.6601, allocations: 194.2 kB / 0.6037 GB, free: 1.703 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002704/0.6604, allocations: 0.5829 MB / 0.6043 GB, free: 1.117 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001599/0.6606, allocations: 170.8 kB / 0.6045 GB, free: 0.9414 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.72e-05/0.6606, allocations: 0 / 0.6045 GB, free: 0.9414 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001077/0.6607, allocations: 4 kB / 0.6045 GB, free: 0.9375 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.543e-05/0.6608, allocations: 7.984 kB / 0.6045 GB, free: 0.9297 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.382e-06/0.6608, allocations: 4 kB / 0.6045 GB, free: 0.9258 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0005416/0.6613, allocations: 0.6182 MB / 0.6051 GB, free: 496 kB / 394.7 MB Notification: Performance of remove unused functions: time 0.00087/0.6622, allocations: 63.59 kB / 0.6052 GB, free: 436 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 (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.00051/0.6627, allocations: 299.8 kB / 0.6054 GB, free: 200 kB / 394.7 MB Notification: Performance of simCode: created initialization part: time 8.572e-05/0.6628, allocations: 30.62 kB / 0.6055 GB, free: 180 kB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.263e-06/0.6628, allocations: 0 / 0.6055 GB, free: 180 kB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.313e-05/0.6629, allocations: 27.67 kB / 0.6055 GB, free: 156 kB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002267/0.6631, allocations: 20.47 kB / 0.6055 GB, free: 140 kB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001055/0.6642, allocations: 0.7103 MB / 0.6062 GB, free: 15.46 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004338/0.6646, allocations: 0.8624 MB / 0.607 GB, free: 14.59 MB / 410.7 MB Notification: Performance of SimCode: time 2.31e-07/0.6646, allocations: 0 / 0.607 GB, free: 14.59 MB / 410.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test4_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test4.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat does not exist to compare? outputFormat=mat