Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test11.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.Test11,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test11,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test11",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.001007/0.001007, allocations: 209.3 kB / 8.545 MB, free: 1.82 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.073/1.073, allocations: 225.5 MB / 234.4 MB, free: 3.375 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008138/0.0008138, allocations: 93.69 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.1511/0.1511, allocations: 45.15 MB / 383.4 MB, free: 0.543 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1732/0.3243, allocations: 69.36 MB / 452.7 MB, free: 76.12 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07671/0.401, allocations: 63.24 MB / 0.5039 GB, free: 12.95 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2312/0.6322, allocations: 89.87 MB / 0.5916 GB, free: 12.95 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000177/0.6325, allocations: 67.03 kB / 0.5917 GB, free: 12.91 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.02515/0.6576, allocations: 12.26 MB / 0.6037 GB, free: 3.25 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.086e-05/0.6576, allocations: 8 kB / 0.6037 GB, free: 3.242 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.945e-05/0.6577, allocations: 11.89 kB / 0.6037 GB, free: 3.23 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002237/0.6579, allocations: 202.5 kB / 0.6039 GB, free: 3 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.474e-06/0.6579, allocations: 0 / 0.6039 GB, free: 3 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.137e-05/0.658, allocations: 4 kB / 0.6039 GB, free: 2.996 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.811e-05/0.6581, allocations: 19.25 kB / 0.6039 GB, free: 2.984 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001012/0.6582, allocations: 69.98 kB / 0.604 GB, free: 2.91 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.687e-06/0.6582, allocations: 0 / 0.604 GB, free: 2.91 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.137e-06/0.6582, allocations: 0 / 0.604 GB, free: 2.91 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.6582, allocations: 4 kB / 0.604 GB, free: 2.906 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003661/0.6586, allocations: 290.3 kB / 0.6042 GB, free: 2.605 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.3e-05/0.6586, allocations: 34.19 kB / 0.6043 GB, free: 2.566 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.861e-05/0.6587, allocations: 20.7 kB / 0.6043 GB, free: 2.547 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.07e-05/0.6587, allocations: 3.688 kB / 0.6043 GB, free: 2.547 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2e-05/0.6587, allocations: 38.5 kB / 0.6043 GB, free: 2.5 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.6587, allocations: 4 kB / 0.6043 GB, free: 2.496 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004613/0.6592, allocations: 149.9 kB / 0.6045 GB, free: 2.363 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.535e-05/0.6593, allocations: 81.11 kB / 0.6046 GB, free: 2.266 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000121/0.6594, allocations: 134.3 kB / 0.6047 GB, free: 2.145 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.373e-05/0.6594, allocations: 25.7 kB / 0.6047 GB, free: 2.113 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.245e-05/0.6594, allocations: 95.62 kB / 0.6048 GB, free: 2.02 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.087e-05/0.6595, allocations: 14.91 kB / 0.6048 GB, free: 2.008 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.538e-06/0.6595, allocations: 0 / 0.6048 GB, free: 2.008 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.794e-05/0.6596, allocations: 330.7 kB / 0.6051 GB, free: 1.68 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.638e-05/0.6596, allocations: 19.25 kB / 0.6052 GB, free: 1.668 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.157e-05/0.6597, allocations: 40.77 kB / 0.6052 GB, free: 1.629 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.134e-05/0.6597, allocations: 26.92 kB / 0.6052 GB, free: 1.609 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.72e-07/0.6597, allocations: 0 / 0.6052 GB, free: 1.609 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001273/0.6599, allocations: 88.31 kB / 0.6053 GB, free: 1.531 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.135e-05/0.6599, allocations: 7.984 kB / 0.6053 GB, free: 1.523 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.6599, allocations: 0 / 0.6053 GB, free: 1.523 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.716e-06/0.6599, allocations: 0 / 0.6053 GB, free: 1.523 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001229/0.66, allocations: 28.02 kB / 0.6053 GB, free: 1.496 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.453e-05/0.66, allocations: 4.062 kB / 0.6053 GB, free: 1.492 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.942e-05/0.6601, allocations: 19.98 kB / 0.6054 GB, free: 1.473 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.434e-06/0.6601, allocations: 3.938 kB / 0.6054 GB, free: 1.469 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 (7): * Single equations (assignments): 7 * 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.148e-05/0.6602, allocations: 116 kB / 0.6055 GB, free: 1.352 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.653e-05/0.6603, allocations: 7.906 kB / 0.6055 GB, free: 1.344 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001783/0.6604, allocations: 95.41 kB / 0.6056 GB, free: 1.258 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.6604, allocations: 0 / 0.6056 GB, free: 1.258 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.6605, allocations: 0 / 0.6056 GB, free: 1.258 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.6605, allocations: 0 / 0.6056 GB, free: 1.258 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003575/0.6608, allocations: 364.8 kB / 0.6059 GB, free: 0.8945 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.6608, allocations: 0 / 0.6059 GB, free: 0.8945 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001041/0.6609, allocations: 27.98 kB / 0.606 GB, free: 0.8672 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.275e-06/0.661, allocations: 0 / 0.606 GB, free: 0.8672 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.904e-06/0.661, allocations: 0 / 0.606 GB, free: 0.8672 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.661, allocations: 0 / 0.606 GB, free: 0.8672 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.661, allocations: 4 kB / 0.606 GB, free: 0.8633 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001628/0.6611, allocations: 182.8 kB / 0.6061 GB, free: 0.6836 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002645/0.6614, allocations: 0.5645 MB / 0.6067 GB, free: 124 kB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.323e-05/0.6615, allocations: 92.81 kB / 0.6068 GB, free: 16 kB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.226e-05/0.6615, allocations: 0 / 0.6068 GB, free: 16 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001097/0.6616, allocations: 15.98 kB / 0.6068 GB, free: 0 / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.364e-05/0.6617, allocations: 7.984 kB / 0.6068 GB, free: 15.99 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.541e-06/0.6617, allocations: 0 / 0.6068 GB, free: 15.99 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.687e-05/0.6618, allocations: 119.6 kB / 0.6069 GB, free: 15.89 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008882/0.6627, allocations: 62.53 kB / 0.607 GB, free: 15.84 MB / 410.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 (7): * Single equations (assignments): 7 * 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.0006825/0.6634, allocations: 394.2 kB / 0.6073 GB, free: 15.54 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001197/0.6635, allocations: 55.91 kB / 0.6074 GB, free: 15.5 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.6635, allocations: 0 / 0.6074 GB, free: 15.5 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.625e-05/0.6636, allocations: 30.69 kB / 0.6074 GB, free: 15.48 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001881/0.6638, allocations: 16.17 kB / 0.6074 GB, free: 15.46 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003166/0.6641, allocations: 149.4 kB / 0.6076 GB, free: 15.31 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002819/0.6644, allocations: 0.7263 MB / 0.6083 GB, free: 14.56 MB / 410.7 MB Notification: Performance of SimCode: time 2.605e-06/0.6644, allocations: 0 / 0.6083 GB, free: 14.56 MB / 410.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test11.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test11_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test11_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test11.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test11_res.mat does not exist to compare? outputFormat=mat