Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28.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.Test28,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test28,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test28",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.001532/0.001532, allocations: 203.9 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.109/1.109, allocations: 225.5 MB / 234.4 MB, free: 3.477 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008304/0.0008304, allocations: 94.73 kB / 286.3 MB, free: 5.195 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1527/0.1527, allocations: 45.14 MB / 383.3 MB, free: 0.6133 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1852/0.338, allocations: 69.36 MB / 452.7 MB, free: 76.13 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07727/0.4152, allocations: 63.25 MB / 0.5039 GB, free: 12.95 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.234/0.6492, allocations: 89.65 MB / 0.5914 GB, free: 13.15 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000178/0.6494, allocations: 73.56 kB / 0.5915 GB, free: 13.11 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.01367/0.6631, allocations: 5.619 MB / 0.597 GB, free: 8.355 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.266e-05/0.6632, allocations: 8 kB / 0.597 GB, free: 8.348 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.307e-05/0.6632, allocations: 11.81 kB / 0.597 GB, free: 8.336 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002523/0.6635, allocations: 211.4 kB / 0.5972 GB, free: 8.094 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.037e-05/0.6635, allocations: 7.906 kB / 0.5972 GB, free: 8.086 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.704e-05/0.6635, allocations: 0 / 0.5972 GB, free: 8.086 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.582e-05/0.6636, allocations: 29.94 kB / 0.5972 GB, free: 8.066 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.135e-05/0.6637, allocations: 49.12 kB / 0.5973 GB, free: 8.016 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.6637, allocations: 0 / 0.5973 GB, free: 8.016 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.052e-05/0.6637, allocations: 3.984 kB / 0.5973 GB, free: 8.012 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.6637, allocations: 8 kB / 0.5973 GB, free: 8.004 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004143/0.6642, allocations: 308.4 kB / 0.5976 GB, free: 7.691 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001409/0.6643, allocations: 35.88 kB / 0.5976 GB, free: 7.656 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.625e-05/0.6644, allocations: 20.41 kB / 0.5976 GB, free: 7.637 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.942e-05/0.6644, allocations: 4 kB / 0.5976 GB, free: 7.633 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.172e-05/0.6644, allocations: 30.56 kB / 0.5977 GB, free: 7.594 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 1.282e-06/0.6644, allocations: 0 / 0.5977 GB, free: 7.594 MB / 394.7 MB Notification: Performance of matching and sorting (n=11): time 0.0006216/0.665, allocations: 240.7 kB / 0.5979 GB, free: 7.395 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.514e-05/0.6651, allocations: 51.41 kB / 0.5979 GB, free: 7.332 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000174/0.6653, allocations: 182.3 kB / 0.5981 GB, free: 7.168 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.415e-05/0.6653, allocations: 25.7 kB / 0.5981 GB, free: 7.137 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.626e-05/0.6653, allocations: 99.09 kB / 0.5982 GB, free: 7.039 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.13e-05/0.6654, allocations: 41.77 kB / 0.5983 GB, free: 7.004 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.35e-06/0.6654, allocations: 0 / 0.5983 GB, free: 7.004 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001003/0.6655, allocations: 321.8 kB / 0.5986 GB, free: 6.684 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.259e-05/0.6655, allocations: 37.98 kB / 0.5986 GB, free: 6.66 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.641e-05/0.6656, allocations: 29.75 kB / 0.5986 GB, free: 6.645 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.927e-05/0.6657, allocations: 46.09 kB / 0.5987 GB, free: 6.613 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.92e-07/0.6657, allocations: 0 / 0.5987 GB, free: 6.613 MB / 394.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001872/0.6659, allocations: 128.2 kB / 0.5988 GB, free: 6.508 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.15e-05/0.6659, allocations: 8 kB / 0.5988 GB, free: 6.5 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.625e-06/0.6659, allocations: 8.359 kB / 0.5988 GB, free: 6.492 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.458e-06/0.6659, allocations: 0 / 0.5988 GB, free: 6.492 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001283/0.666, allocations: 27.98 kB / 0.5989 GB, free: 6.465 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.6661, allocations: 4 kB / 0.5989 GB, free: 6.461 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.324e-05/0.6661, allocations: 19.98 kB / 0.5989 GB, free: 6.441 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.11e-05/0.6662, allocations: 0 / 0.5989 GB, free: 6.441 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.185e-05/0.6662, allocations: 108.4 kB / 0.599 GB, free: 6.332 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.929e-05/0.6663, allocations: 11.81 kB / 0.599 GB, free: 6.32 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002494/0.6665, allocations: 146.2 kB / 0.5991 GB, free: 6.195 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.6665, allocations: 3.906 kB / 0.5991 GB, free: 6.191 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.6666, allocations: 7.938 kB / 0.5991 GB, free: 6.184 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-06/0.6666, allocations: 3.984 kB / 0.5991 GB, free: 6.18 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004818/0.6671, allocations: 456.2 kB / 0.5996 GB, free: 5.746 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.6671, allocations: 0 / 0.5996 GB, free: 5.746 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001221/0.6672, allocations: 39.97 kB / 0.5996 GB, free: 5.707 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.347e-06/0.6672, allocations: 0 / 0.5996 GB, free: 5.707 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.168e-05/0.6672, allocations: 4 kB / 0.5996 GB, free: 5.703 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.6672, allocations: 0 / 0.5996 GB, free: 5.703 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.6672, allocations: 0 / 0.5996 GB, free: 5.703 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002189/0.6675, allocations: 260.8 kB / 0.5999 GB, free: 5.441 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000345/0.6678, allocations: 0.6328 MB / 0.6005 GB, free: 4.801 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.792e-05/0.6679, allocations: 92.92 kB / 0.6006 GB, free: 4.691 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.851e-05/0.6679, allocations: 7.984 kB / 0.6006 GB, free: 4.684 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001111/0.668, allocations: 8 kB / 0.6006 GB, free: 4.676 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.891e-05/0.6681, allocations: 11.61 kB / 0.6006 GB, free: 4.668 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.015e-05/0.6681, allocations: 8 kB / 0.6006 GB, free: 4.66 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001116/0.6682, allocations: 145.4 kB / 0.6008 GB, free: 4.539 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009328/0.6691, allocations: 43.27 kB / 0.6008 GB, free: 4.5 MB / 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.0005943/0.6697, allocations: 339.9 kB / 0.6011 GB, free: 4.242 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001607/0.6699, allocations: 89.61 kB / 0.6012 GB, free: 4.184 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.6699, allocations: 4 kB / 0.6012 GB, free: 4.18 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 6.791e-05/0.67, allocations: 47.05 kB / 0.6013 GB, free: 4.145 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002212/0.6702, allocations: 14.98 kB / 0.6013 GB, free: 4.133 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004183/0.6707, allocations: 219.8 kB / 0.6015 GB, free: 3.922 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003224/0.671, allocations: 0.7421 MB / 0.6022 GB, free: 3.156 MB / 394.7 MB Notification: Performance of SimCode: time 3e-07/0.671, allocations: 192 / 0.6022 GB, free: 3.156 MB / 394.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test28_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test28.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28_res.mat does not exist to compare? outputFormat=mat