Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.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.Test17,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test17",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test17,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test17",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.001305/0.001305, allocations: 203.4 kB / 8.541 MB, free: 1.832 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.333/1.333, allocations: 225.5 MB / 234.4 MB, free: 3.43 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008644/0.0008644, allocations: 91.19 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.1974/0.1974, allocations: 45.15 MB / 383.3 MB, free: 0.6172 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2608/0.4583, allocations: 69.37 MB / 452.7 MB, free: 76.14 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.135/0.5932, allocations: 63.23 MB / 0.5039 GB, free: 12.98 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3932/0.9865, allocations: 87.97 MB / 0.5898 GB, free: 14.62 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002169/0.9867, allocations: 75.89 kB / 0.5898 GB, free: 14.58 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.01153/0.9983, allocations: 4.64 MB / 0.5944 GB, free: 10.85 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.9983, allocations: 8 kB / 0.5944 GB, free: 10.84 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.783e-05/0.9984, allocations: 7.906 kB / 0.5944 GB, free: 10.84 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001488/0.9985, allocations: 171 kB / 0.5945 GB, free: 10.63 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.121e-05/0.9985, allocations: 0 / 0.5945 GB, free: 10.63 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.744e-05/0.9986, allocations: 7.984 kB / 0.5946 GB, free: 10.62 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.63e-05/0.9987, allocations: 42.52 kB / 0.5946 GB, free: 10.59 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001579/0.9988, allocations: 173.2 kB / 0.5948 GB, free: 10.38 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.9989, allocations: 3.938 kB / 0.5948 GB, free: 10.37 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.9989, allocations: 0 / 0.5948 GB, free: 10.37 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.561e-05/0.9989, allocations: 11.56 kB / 0.5948 GB, free: 10.36 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008401/0.9998, allocations: 1.675 MB / 0.5964 GB, free: 8.637 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.214e-05/0.9998, allocations: 173 kB / 0.5966 GB, free: 8.457 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.503e-05/0.9999, allocations: 84.12 kB / 0.5967 GB, free: 8.371 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.054e-05/0.9999, allocations: 78.16 kB / 0.5967 GB, free: 8.297 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.065e-05/1, allocations: 109.8 kB / 0.5968 GB, free: 8.18 MB / 394.7 MB Notification: Performance of pre-optimization done (n=0): time 9.01e-07/1, allocations: 0 / 0.5968 GB, free: 8.18 MB / 394.7 MB Notification: Performance of matching and sorting (n=0): time 7.885e-05/1, allocations: 37.55 kB / 0.5969 GB, free: 8.137 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.847e-05/1, allocations: 55.34 kB / 0.5969 GB, free: 8.07 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001499/1, allocations: 170.3 kB / 0.5971 GB, free: 7.914 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 9.618e-06/1, allocations: 25.7 kB / 0.5971 GB, free: 7.883 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.432e-05/1, allocations: 145.2 kB / 0.5972 GB, free: 7.746 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.685e-06/1, allocations: 0 / 0.5972 GB, free: 7.746 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.719e-06/1, allocations: 4 kB / 0.5973 GB, free: 7.742 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001078/1, allocations: 318 kB / 0.5976 GB, free: 7.426 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.278e-05/1.001, allocations: 32.02 kB / 0.5976 GB, free: 7.402 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001103/1.001, allocations: 151.2 kB / 0.5977 GB, free: 7.211 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.427e-05/1.001, allocations: 69.53 kB / 0.5978 GB, free: 7.156 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/1.001, allocations: 4 kB / 0.5978 GB, free: 7.152 MB / 394.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002675/1.001, allocations: 170.7 kB / 0.598 GB, free: 6.996 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/1.001, allocations: 4 kB / 0.598 GB, free: 6.992 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/1.001, allocations: 4 kB / 0.598 GB, free: 6.988 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/1.001, allocations: 8 kB / 0.598 GB, free: 6.98 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001259/1.001, allocations: 35.92 kB / 0.598 GB, free: 6.941 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/1.001, allocations: 8 kB / 0.598 GB, free: 6.934 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.243e-05/1.001, allocations: 19.75 kB / 0.598 GB, free: 6.914 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.274e-05/1.001, allocations: 8 kB / 0.598 GB, free: 6.906 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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 8.704e-05/1.001, allocations: 199.6 kB / 0.5982 GB, free: 6.707 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.768e-05/1.002, allocations: 112.8 kB / 0.5983 GB, free: 6.59 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.2e-05/1.002, allocations: 116.3 kB / 0.5985 GB, free: 6.465 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.337e-05/1.002, allocations: 176.3 kB / 0.5986 GB, free: 6.285 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.435e-05/1.002, allocations: 186.6 kB / 0.5988 GB, free: 6.098 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.949e-05/1.002, allocations: 184.2 kB / 0.599 GB, free: 5.91 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002246/1.002, allocations: 400.9 kB / 0.5994 GB, free: 5.48 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-05/1.002, allocations: 104.9 kB / 0.5995 GB, free: 5.371 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.539e-05/1.002, allocations: 105 kB / 0.5996 GB, free: 5.262 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.17e-05/1.002, allocations: 180.2 kB / 0.5997 GB, free: 5.078 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.605e-05/1.002, allocations: 191.3 kB / 0.5999 GB, free: 4.887 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.837e-05/1.002, allocations: 180.3 kB / 0.6001 GB, free: 4.703 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.716e-05/1.002, allocations: 176.3 kB / 0.6003 GB, free: 4.523 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001446/1.003, allocations: 315.3 kB / 0.6006 GB, free: 4.195 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002574/1.003, allocations: 0.6788 MB / 0.6012 GB, free: 3.492 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.06e-05/1.003, allocations: 197.5 kB / 0.6014 GB, free: 3.277 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.79e-05/1.003, allocations: 176.3 kB / 0.6016 GB, free: 3.098 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.2e-05/1.003, allocations: 108.9 kB / 0.6017 GB, free: 2.984 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.845e-05/1.003, allocations: 176.3 kB / 0.6018 GB, free: 2.805 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.158e-05/1.003, allocations: 113 kB / 0.602 GB, free: 2.688 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.871e-05/1.003, allocations: 122.4 kB / 0.6021 GB, free: 2.582 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009056/1.004, allocations: 19.91 kB / 0.6021 GB, free: 2.562 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 (0): * Single equations (assignments): 0 * 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.0004475/1.005, allocations: 245.8 kB / 0.6023 GB, free: 2.336 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001256/1.005, allocations: 63.73 kB / 0.6024 GB, free: 2.285 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/1.005, allocations: 0 / 0.6024 GB, free: 2.285 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 1.193e-06/1.005, allocations: 256 / 0.6024 GB, free: 2.285 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002605/1.005, allocations: 0.5292 MB / 0.6029 GB, free: 1.758 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002999/1.005, allocations: 197.8 kB / 0.6031 GB, free: 1.543 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002953/1.006, allocations: 0.7189 MB / 0.6038 GB, free: 0.8008 MB / 394.7 MB Notification: Performance of SimCode: time 4.01e-07/1.006, allocations: 4 kB / 0.6038 GB, free: 0.7969 MB / 394.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test17_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test17.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17_res.mat does not exist to compare? outputFormat=mat