Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.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.CombiTable2Ds.Test5,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test5,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_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.001142/0.001142, allocations: 205.6 kB / 8.54 MB, free: 1.805 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.156/1.156, 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.0008817/0.0008817, allocations: 95.02 kB / 286.3 MB, free: 5.316 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1629/0.1629, allocations: 45.14 MB / 383.3 MB, free: 0.543 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2155/0.3785, allocations: 69.37 MB / 452.7 MB, free: 76.1 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09485/0.4733, allocations: 63.24 MB / 0.5039 GB, free: 12.93 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2769/0.7503, allocations: 89.14 MB / 0.5909 GB, free: 13.68 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001863/0.7506, allocations: 70.78 kB / 0.591 GB, free: 13.64 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.01873/0.7693, allocations: 8.796 MB / 0.5996 GB, free: 5.863 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.7694, allocations: 12 kB / 0.5996 GB, free: 5.852 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.223e-05/0.7694, allocations: 43.44 kB / 0.5996 GB, free: 5.809 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004987/0.7699, allocations: 329.5 kB / 0.5999 GB, free: 5.457 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.101e-05/0.77, allocations: 3.906 kB / 0.5999 GB, free: 5.453 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.011e-05/0.77, allocations: 7.938 kB / 0.5999 GB, free: 5.445 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.399e-05/0.7701, allocations: 14.81 kB / 0.6 GB, free: 5.438 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.733e-05/0.7701, allocations: 40.69 kB / 0.6 GB, free: 5.395 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.7702, allocations: 0 / 0.6 GB, free: 5.395 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.124e-05/0.7702, allocations: 0 / 0.6 GB, free: 5.395 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.204e-05/0.7702, allocations: 8 kB / 0.6 GB, free: 5.387 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005259/0.7707, allocations: 419.4 kB / 0.6004 GB, free: 4.992 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001589/0.7709, allocations: 31.72 kB / 0.6004 GB, free: 4.961 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.703e-05/0.771, allocations: 8.859 kB / 0.6004 GB, free: 4.949 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.138e-05/0.771, allocations: 0 / 0.6004 GB, free: 4.949 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.482e-05/0.771, allocations: 45.8 kB / 0.6005 GB, free: 4.898 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 7.92e-07/0.771, allocations: 0 / 0.6005 GB, free: 4.898 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004517/0.7715, allocations: 181.9 kB / 0.6007 GB, free: 4.723 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.111e-05/0.7715, allocations: 55.41 kB / 0.6007 GB, free: 4.656 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001055/0.7726, allocations: 0.7579 MB / 0.6015 GB, free: 4.078 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.48e-05/0.7726, allocations: 25.7 kB / 0.6015 GB, free: 4.047 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.262e-05/0.7727, allocations: 142.4 kB / 0.6016 GB, free: 3.922 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.233e-05/0.7727, allocations: 15.75 kB / 0.6016 GB, free: 3.906 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.707e-06/0.7727, allocations: 0 / 0.6016 GB, free: 3.906 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001431/0.7729, allocations: 360.5 kB / 0.602 GB, free: 3.562 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.178e-05/0.7729, allocations: 7.125 kB / 0.602 GB, free: 3.559 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.94e-05/0.7729, allocations: 11.56 kB / 0.602 GB, free: 3.551 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.493e-05/0.7729, allocations: 7.438 kB / 0.602 GB, free: 3.547 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.91e-07/0.773, allocations: 0 / 0.602 GB, free: 3.547 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001412/0.7731, allocations: 96 kB / 0.6021 GB, free: 3.453 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/0.7731, allocations: 4 kB / 0.6021 GB, free: 3.449 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.7731, allocations: 4 kB / 0.6021 GB, free: 3.445 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.7731, allocations: 0 / 0.6021 GB, free: 3.445 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.826e-05/0.7732, allocations: 23.11 kB / 0.6021 GB, free: 3.426 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.827e-06/0.7732, allocations: 3.938 kB / 0.6021 GB, free: 3.422 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.646e-05/0.7733, allocations: 11.91 kB / 0.6021 GB, free: 3.41 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.182e-06/0.7733, allocations: 0 / 0.6021 GB, free: 3.41 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 5.585e-05/0.7734, allocations: 105 kB / 0.6022 GB, free: 3.301 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.599e-05/0.7735, allocations: 43.58 kB / 0.6023 GB, free: 3.258 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001933/0.7737, allocations: 118.8 kB / 0.6024 GB, free: 3.141 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.7737, allocations: 0 / 0.6024 GB, free: 3.141 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.848e-06/0.7737, allocations: 0 / 0.6024 GB, free: 3.141 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.429e-06/0.7737, allocations: 3.984 kB / 0.6024 GB, free: 3.137 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006303/0.7743, allocations: 0.5369 MB / 0.6029 GB, free: 2.629 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.7744, allocations: 4.375 kB / 0.6029 GB, free: 2.625 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.549e-05/0.7744, allocations: 19.42 kB / 0.6029 GB, free: 2.609 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.7744, allocations: 4 kB / 0.6029 GB, free: 2.605 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.739e-06/0.7745, allocations: 4 kB / 0.6029 GB, free: 2.602 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.7745, allocations: 0 / 0.6029 GB, free: 2.602 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.7745, allocations: 0 / 0.6029 GB, free: 2.602 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001773/0.7746, allocations: 190 kB / 0.6031 GB, free: 2.406 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003292/0.775, allocations: 0.575 MB / 0.6037 GB, free: 1.828 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001831/0.7752, allocations: 160.3 kB / 0.6038 GB, free: 1.66 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.2e-05/0.7752, allocations: 7.938 kB / 0.6039 GB, free: 1.652 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001084/0.7754, allocations: 7.984 kB / 0.6039 GB, free: 1.645 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.768e-05/0.7754, allocations: 4 kB / 0.6039 GB, free: 1.641 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.218e-06/0.7754, allocations: 4 kB / 0.6039 GB, free: 1.637 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0006662/0.7761, allocations: 0.6119 MB / 0.6045 GB, free: 1.203 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009009/0.777, allocations: 63.19 kB / 0.6045 GB, free: 1.145 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.0005552/0.7776, allocations: 287.5 kB / 0.6048 GB, free: 0.9258 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 8.428e-05/0.7776, allocations: 26.69 kB / 0.6048 GB, free: 0.9062 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.7777, allocations: 8 kB / 0.6048 GB, free: 0.8984 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.673e-05/0.7777, allocations: 18.61 kB / 0.6048 GB, free: 0.8867 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002451/0.7779, allocations: 25.25 kB / 0.6049 GB, free: 0.8672 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001098/0.7791, allocations: 0.6933 MB / 0.6055 GB, free: 212 kB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004857/0.7795, allocations: 0.8656 MB / 0.6064 GB, free: 15.33 MB / 410.7 MB Notification: Performance of SimCode: time 2.6e-07/0.7796, allocations: 0 / 0.6064 GB, free: 15.33 MB / 410.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test5_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test5.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5_res.mat does not exist to compare? outputFormat=mat