Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test25.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.Test25,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test25",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test25,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test25",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.001176/0.001176, allocations: 195.7 kB / 8.538 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.524/1.524, allocations: 225.5 MB / 234.4 MB, free: 14.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001058/0.001058, allocations: 103.8 kB / 286.4 MB, free: 12.66 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.407/0.407, allocations: 45.15 MB / 383.3 MB, free: 40.9 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1523/0.5594, allocations: 69.37 MB / 452.7 MB, free: 5.426 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4339/0.9933, allocations: 63.24 MB / 0.5039 GB, free: 35.47 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1283/1.122, allocations: 89.2 MB / 0.591 GB, free: 5.164 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003415/1.122, allocations: 67.95 kB / 0.591 GB, free: 5.098 MB / 410.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.01504/1.137, allocations: 5.383 MB / 0.5963 GB, free: 15.67 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/1.137, allocations: 8 kB / 0.5963 GB, free: 15.66 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.613e-05/1.137, allocations: 19.75 kB / 0.5963 GB, free: 15.64 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002796/1.138, allocations: 202.9 kB / 0.5965 GB, free: 15.4 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.24e-05/1.138, allocations: 4 kB / 0.5965 GB, free: 15.4 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.797e-05/1.138, allocations: 3.938 kB / 0.5965 GB, free: 15.39 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.888e-05/1.138, allocations: 20 kB / 0.5965 GB, free: 15.38 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.133e-05/1.138, allocations: 49.62 kB / 0.5966 GB, free: 15.32 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/1.138, allocations: 3.906 kB / 0.5966 GB, free: 15.32 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.069e-05/1.138, allocations: 0 / 0.5966 GB, free: 15.32 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/1.138, allocations: 0 / 0.5966 GB, free: 15.32 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003807/1.138, allocations: 289.3 kB / 0.5969 GB, free: 15 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001651/1.138, allocations: 33.73 kB / 0.5969 GB, free: 14.96 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.895e-05/1.138, allocations: 20.98 kB / 0.5969 GB, free: 14.93 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.513e-05/1.138, allocations: 0 / 0.5969 GB, free: 14.93 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.078e-05/1.139, allocations: 30.56 kB / 0.5969 GB, free: 14.89 MB / 426.7 MB Notification: Performance of pre-optimization done (n=5): time 9.62e-07/1.139, allocations: 8 kB / 0.597 GB, free: 14.89 MB / 426.7 MB Notification: Performance of matching and sorting (n=11): time 0.0006337/1.139, allocations: 197 kB / 0.5971 GB, free: 14.69 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.769e-05/1.139, allocations: 55.41 kB / 0.5972 GB, free: 14.62 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002073/1.139, allocations: 158.3 kB / 0.5973 GB, free: 14.46 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.525e-05/1.139, allocations: 25.7 kB / 0.5974 GB, free: 14.43 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.115e-05/1.139, allocations: 96.03 kB / 0.5975 GB, free: 14.33 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.499e-05/1.14, allocations: 35.45 kB / 0.5975 GB, free: 14.3 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.212e-06/1.14, allocations: 0 / 0.5975 GB, free: 14.3 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001141/1.14, allocations: 326.8 kB / 0.5978 GB, free: 13.97 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.379e-05/1.14, allocations: 20 kB / 0.5978 GB, free: 13.95 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.306e-05/1.14, allocations: 28 kB / 0.5979 GB, free: 13.92 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.566e-05/1.14, allocations: 25.64 kB / 0.5979 GB, free: 13.9 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.02e-07/1.14, allocations: 0 / 0.5979 GB, free: 13.9 MB / 426.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001592/1.14, allocations: 97.48 kB / 0.598 GB, free: 13.8 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/1.14, allocations: 9.094 kB / 0.598 GB, free: 13.79 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/1.14, allocations: 0 / 0.598 GB, free: 13.79 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/1.14, allocations: 0 / 0.598 GB, free: 13.79 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001451/1.14, allocations: 39.92 kB / 0.598 GB, free: 13.75 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/1.14, allocations: 3.938 kB / 0.598 GB, free: 13.75 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.933e-05/1.14, allocations: 15.98 kB / 0.598 GB, free: 13.73 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.273e-05/1.14, allocations: 4 kB / 0.598 GB, free: 13.73 MB / 426.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 7.124e-05/1.14, allocations: 101 kB / 0.5981 GB, free: 13.62 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.831e-05/1.14, allocations: 15.81 kB / 0.5981 GB, free: 13.61 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002634/1.141, allocations: 120.3 kB / 0.5983 GB, free: 13.49 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/1.141, allocations: 3.938 kB / 0.5983 GB, free: 13.48 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/1.141, allocations: 0 / 0.5983 GB, free: 13.48 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/1.141, allocations: 0 / 0.5983 GB, free: 13.48 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000545/1.141, allocations: 424.4 kB / 0.5987 GB, free: 13.02 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/1.141, allocations: 4.062 kB / 0.5987 GB, free: 13.02 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001231/1.141, allocations: 31.92 kB / 0.5987 GB, free: 12.98 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.806e-06/1.141, allocations: 0 / 0.5987 GB, free: 12.98 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.41e-05/1.141, allocations: 4 kB / 0.5987 GB, free: 12.98 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/1.141, allocations: 0 / 0.5987 GB, free: 12.98 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.918e-06/1.141, allocations: 0 / 0.5987 GB, free: 12.98 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002485/1.142, allocations: 240.4 kB / 0.5989 GB, free: 12.71 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000434/1.142, allocations: 0.6063 MB / 0.5995 GB, free: 12.07 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.424e-05/1.142, allocations: 97 kB / 0.5996 GB, free: 11.95 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.83e-05/1.142, allocations: 4.312 kB / 0.5996 GB, free: 11.95 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000178/1.143, allocations: 19.98 kB / 0.5996 GB, free: 11.93 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.55e-05/1.143, allocations: 7.906 kB / 0.5997 GB, free: 11.92 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.325e-05/1.143, allocations: 15.98 kB / 0.5997 GB, free: 11.91 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0001515/1.143, allocations: 132.7 kB / 0.5998 GB, free: 11.78 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0009848/1.144, allocations: 35.98 kB / 0.5998 GB, free: 11.74 MB / 426.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.0008039/1.145, allocations: 334.4 kB / 0.6001 GB, free: 11.5 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001783/1.145, allocations: 60 kB / 0.6002 GB, free: 11.44 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/1.145, allocations: 0 / 0.6002 GB, free: 11.44 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 6.579e-05/1.145, allocations: 39.94 kB / 0.6002 GB, free: 11.4 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002625/1.145, allocations: 15.97 kB / 0.6003 GB, free: 11.39 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00054/1.146, allocations: 194.4 kB / 0.6004 GB, free: 11.17 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004545/1.146, allocations: 0.7321 MB / 0.6012 GB, free: 10.41 MB / 426.7 MB Notification: Performance of SimCode: time 2.71e-07/1.146, allocations: 0 / 0.6012 GB, free: 10.41 MB / 426.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test25.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test25_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test25_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test25.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test25_res.mat does not exist to compare? outputFormat=mat