Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.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.Test3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test3",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.001015/0.001015, allocations: 205.6 kB / 8.54 MB, free: 1.828 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.129/1.129, allocations: 225.5 MB / 234.4 MB, free: 3.324 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009113/0.0009113, allocations: 93.72 kB / 286.3 MB, free: 5.25 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1682/0.1682, allocations: 45.14 MB / 383.3 MB, free: 0.5352 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2116/0.3798, allocations: 69.37 MB / 452.7 MB, free: 76.06 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0941/0.474, allocations: 63.24 MB / 0.5039 GB, free: 12.9 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.272/0.746, allocations: 89.2 MB / 0.591 GB, free: 13.59 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001942/0.7462, allocations: 71.47 kB / 0.591 GB, free: 13.56 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.01992/0.7662, allocations: 9.383 MB / 0.6002 GB, free: 5.293 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.7662, allocations: 8 kB / 0.6002 GB, free: 5.285 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.291e-05/0.7663, allocations: 43.44 kB / 0.6003 GB, free: 5.242 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004702/0.7668, allocations: 337.2 kB / 0.6006 GB, free: 4.883 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.034e-05/0.7668, allocations: 4 kB / 0.6006 GB, free: 4.879 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.966e-05/0.7668, allocations: 4 kB / 0.6006 GB, free: 4.875 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.02e-05/0.7669, allocations: 18.88 kB / 0.6006 GB, free: 4.863 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.779e-05/0.767, allocations: 47.44 kB / 0.6006 GB, free: 4.816 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.447e-06/0.767, allocations: 4 kB / 0.6007 GB, free: 4.812 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.598e-06/0.767, allocations: 0 / 0.6007 GB, free: 4.812 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-06/0.767, allocations: 0 / 0.6007 GB, free: 4.812 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005201/0.7676, allocations: 432.3 kB / 0.6011 GB, free: 4.41 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001446/0.7677, allocations: 32.34 kB / 0.6011 GB, free: 4.379 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.177e-05/0.7678, allocations: 20.34 kB / 0.6011 GB, free: 4.359 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.205e-05/0.7678, allocations: 0 / 0.6011 GB, free: 4.359 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.785e-05/0.7678, allocations: 34.56 kB / 0.6011 GB, free: 4.316 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 8.42e-07/0.7678, allocations: 0 / 0.6011 GB, free: 4.316 MB / 394.7 MB Notification: Performance of matching and sorting (n=11): time 0.0006088/0.7684, allocations: 276.2 kB / 0.6014 GB, free: 4.07 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.439e-05/0.7685, allocations: 54.66 kB / 0.6015 GB, free: 4.008 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00101/0.7695, allocations: 0.7588 MB / 0.6022 GB, free: 3.426 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.432e-05/0.7695, allocations: 33.58 kB / 0.6022 GB, free: 3.387 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.673e-05/0.7696, allocations: 133.5 kB / 0.6024 GB, free: 3.27 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.306e-05/0.7696, allocations: 39.14 kB / 0.6024 GB, free: 3.234 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.179e-06/0.7696, allocations: 0 / 0.6024 GB, free: 3.234 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001128/0.7698, allocations: 363.3 kB / 0.6027 GB, free: 2.891 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.101e-05/0.7698, allocations: 22.06 kB / 0.6028 GB, free: 2.879 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.797e-05/0.7698, allocations: 22.5 kB / 0.6028 GB, free: 2.867 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.756e-05/0.7699, allocations: 25.92 kB / 0.6028 GB, free: 2.852 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.61e-07/0.7699, allocations: 3.938 kB / 0.6028 GB, free: 2.848 MB / 394.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001876/0.7701, allocations: 133.4 kB / 0.6029 GB, free: 2.73 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/0.7701, allocations: 7.938 kB / 0.603 GB, free: 2.723 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.7701, allocations: 4 kB / 0.603 GB, free: 2.719 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.118e-05/0.7701, allocations: 0 / 0.603 GB, free: 2.719 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001283/0.7703, allocations: 35.97 kB / 0.603 GB, free: 2.684 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.7703, allocations: 0 / 0.603 GB, free: 2.684 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.869e-05/0.7704, allocations: 15.98 kB / 0.603 GB, free: 2.668 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.096e-05/0.7704, allocations: 4 kB / 0.603 GB, free: 2.664 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 6.142e-05/0.7705, allocations: 104.9 kB / 0.6031 GB, free: 2.555 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.857e-05/0.7706, allocations: 47.34 kB / 0.6032 GB, free: 2.508 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002459/0.7708, allocations: 154.6 kB / 0.6033 GB, free: 2.375 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.7708, allocations: 3.984 kB / 0.6033 GB, free: 2.371 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.7708, allocations: 4 kB / 0.6033 GB, free: 2.367 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.7709, allocations: 4 kB / 0.6033 GB, free: 2.363 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007449/0.7716, allocations: 0.6312 MB / 0.6039 GB, free: 1.781 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.7716, allocations: 0 / 0.6039 GB, free: 1.781 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001202/0.7717, allocations: 32.05 kB / 0.604 GB, free: 1.75 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.7718, allocations: 4 kB / 0.604 GB, free: 1.746 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.053e-05/0.7718, allocations: 4.312 kB / 0.604 GB, free: 1.742 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.7718, allocations: 4 kB / 0.604 GB, free: 1.738 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.7718, allocations: 3.906 kB / 0.604 GB, free: 1.734 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002319/0.772, allocations: 270.2 kB / 0.6042 GB, free: 1.461 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003275/0.7724, allocations: 0.6447 MB / 0.6049 GB, free: 0.8008 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001589/0.7725, allocations: 163.4 kB / 0.605 GB, free: 0.6328 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.412e-05/0.7726, allocations: 7.938 kB / 0.605 GB, free: 0.625 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001401/0.7727, allocations: 15.89 kB / 0.605 GB, free: 0.6094 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.124e-05/0.7728, allocations: 11.92 kB / 0.6051 GB, free: 0.5977 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.456e-06/0.7728, allocations: 7.5 kB / 0.6051 GB, free: 0.5938 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0005552/0.7734, allocations: 0.618 MB / 0.6057 GB, free: 156 kB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009235/0.7743, allocations: 67 kB / 0.6057 GB, free: 92 kB / 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.0006838/0.775, allocations: 335.5 kB / 0.606 GB, free: 15.84 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001474/0.7751, allocations: 67.06 kB / 0.6061 GB, free: 15.79 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.7751, allocations: 0 / 0.6061 GB, free: 15.79 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.79e-05/0.7752, allocations: 42.8 kB / 0.6062 GB, free: 15.76 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002749/0.7755, allocations: 17.91 kB / 0.6062 GB, free: 15.75 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001097/0.7766, allocations: 0.7575 MB / 0.6069 GB, free: 15.04 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004453/0.7771, allocations: 0.8741 MB / 0.6078 GB, free: 14.15 MB / 410.7 MB Notification: Performance of SimCode: time 3e-07/0.7771, allocations: 0 / 0.6078 GB, free: 14.15 MB / 410.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test3_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test3.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3_res.mat does not exist to compare? outputFormat=mat