Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.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.CombiTable2Ds.Test11,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test11,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_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.001774/0.001774, allocations: 196.7 kB / 8.54 MB, free: 1.816 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.341/1.341, allocations: 225.5 MB / 234.4 MB, free: 3.305 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001072/0.001072, allocations: 91.33 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.185/0.185, allocations: 45.14 MB / 383.3 MB, free: 0.5234 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2217/0.4067, allocations: 69.37 MB / 452.7 MB, free: 76.07 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1042/0.5109, allocations: 63.24 MB / 0.5039 GB, free: 12.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3154/0.8263, allocations: 89.42 MB / 0.5912 GB, free: 13.31 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001947/0.8265, allocations: 76.08 kB / 0.5913 GB, free: 13.27 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.0283/0.8548, allocations: 12.15 MB / 0.6031 GB, free: 3.707 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.8549, allocations: 8 kB / 0.6031 GB, free: 3.699 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.896e-05/0.8549, allocations: 7.906 kB / 0.6031 GB, free: 3.691 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002883/0.8552, allocations: 205.8 kB / 0.6033 GB, free: 3.457 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.005e-05/0.8553, allocations: 8 kB / 0.6033 GB, free: 3.449 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.969e-05/0.8553, allocations: 0 / 0.6033 GB, free: 3.449 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.053e-05/0.8554, allocations: 19.25 kB / 0.6034 GB, free: 3.438 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.798e-05/0.8555, allocations: 58.88 kB / 0.6034 GB, free: 3.371 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.298e-06/0.8555, allocations: 4 kB / 0.6034 GB, free: 3.367 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.508e-06/0.8555, allocations: 0 / 0.6034 GB, free: 3.367 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.8555, allocations: 0 / 0.6034 GB, free: 3.367 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003256/0.8558, allocations: 268.9 kB / 0.6037 GB, free: 3.09 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.035e-05/0.8559, allocations: 30.2 kB / 0.6037 GB, free: 3.055 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.848e-05/0.856, allocations: 16.05 kB / 0.6037 GB, free: 3.039 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.316e-05/0.856, allocations: 7.984 kB / 0.6037 GB, free: 3.031 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.289e-05/0.856, allocations: 34.56 kB / 0.6038 GB, free: 2.988 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 2.495e-06/0.856, allocations: 7.984 kB / 0.6038 GB, free: 2.98 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004562/0.8565, allocations: 132.4 kB / 0.6039 GB, free: 2.863 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.279e-05/0.8565, allocations: 77.11 kB / 0.604 GB, free: 2.77 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001441/0.8567, allocations: 137.4 kB / 0.6041 GB, free: 2.645 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.51e-05/0.8567, allocations: 29.7 kB / 0.6041 GB, free: 2.609 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.696e-05/0.8568, allocations: 95.56 kB / 0.6042 GB, free: 2.516 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.475e-05/0.8568, allocations: 19.7 kB / 0.6042 GB, free: 2.496 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.912e-06/0.8568, allocations: 0 / 0.6042 GB, free: 2.496 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001182/0.8569, allocations: 320.6 kB / 0.6045 GB, free: 2.18 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.9e-05/0.857, allocations: 11.12 kB / 0.6046 GB, free: 2.172 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.18e-05/0.857, allocations: 32.08 kB / 0.6046 GB, free: 2.141 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.016e-05/0.8571, allocations: 22.81 kB / 0.6046 GB, free: 2.125 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.8571, allocations: 0 / 0.6046 GB, free: 2.125 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001304/0.8572, allocations: 71.28 kB / 0.6047 GB, free: 2.059 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.8572, allocations: 11.12 kB / 0.6047 GB, free: 2.051 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.389e-06/0.8572, allocations: 0 / 0.6047 GB, free: 2.051 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.788e-06/0.8573, allocations: 0 / 0.6047 GB, free: 2.051 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001326/0.8574, allocations: 23.98 kB / 0.6047 GB, free: 2.027 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.727e-06/0.8574, allocations: 4 kB / 0.6047 GB, free: 2.023 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.085e-05/0.8575, allocations: 15.98 kB / 0.6047 GB, free: 2.008 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.767e-06/0.8575, allocations: 7.125 kB / 0.6047 GB, free: 2.004 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.645e-05/0.8576, allocations: 101 kB / 0.6048 GB, free: 1.898 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.803e-05/0.8576, allocations: 15.75 kB / 0.6048 GB, free: 1.883 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001773/0.8578, allocations: 90.7 kB / 0.6049 GB, free: 1.793 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.8578, allocations: 4 kB / 0.6049 GB, free: 1.789 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.8578, allocations: 0 / 0.6049 GB, free: 1.789 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.8578, allocations: 0 / 0.6049 GB, free: 1.789 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003588/0.8582, allocations: 332.8 kB / 0.6053 GB, free: 1.453 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.8582, allocations: 0 / 0.6053 GB, free: 1.453 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001054/0.8583, allocations: 31.97 kB / 0.6053 GB, free: 1.422 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.8583, allocations: 0 / 0.6053 GB, free: 1.422 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.081e-05/0.8584, allocations: 4 kB / 0.6053 GB, free: 1.418 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.618e-06/0.8584, allocations: 4 kB / 0.6053 GB, free: 1.414 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.544e-06/0.8584, allocations: 0 / 0.6053 GB, free: 1.414 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001602/0.8585, allocations: 173.7 kB / 0.6055 GB, free: 1.242 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002766/0.8588, allocations: 0.5405 MB / 0.606 GB, free: 0.6992 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.657e-05/0.8589, allocations: 96.28 kB / 0.6061 GB, free: 0.5898 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.18e-05/0.8589, allocations: 0 / 0.6061 GB, free: 0.5898 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001115/0.859, allocations: 15.98 kB / 0.6061 GB, free: 0.5742 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.806e-05/0.8591, allocations: 11.98 kB / 0.6061 GB, free: 0.5625 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.491e-06/0.8591, allocations: 0 / 0.6061 GB, free: 0.5625 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.817e-05/0.8592, allocations: 112.5 kB / 0.6062 GB, free: 476 kB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009313/0.8601, allocations: 58.23 kB / 0.6063 GB, free: 428 kB / 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 (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.0007777/0.8609, allocations: 398.8 kB / 0.6066 GB, free: 112 kB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001178/0.861, allocations: 37.88 kB / 0.6067 GB, free: 88 kB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.8611, allocations: 0 / 0.6067 GB, free: 88 kB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.181e-05/0.8611, allocations: 29.62 kB / 0.6067 GB, free: 64 kB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002075/0.8613, allocations: 14.86 kB / 0.6067 GB, free: 52 kB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003473/0.8617, allocations: 121 kB / 0.6068 GB, free: 15.92 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003573/0.862, allocations: 0.719 MB / 0.6075 GB, free: 15.18 MB / 410.7 MB Notification: Performance of SimCode: time 2.51e-07/0.8621, allocations: 0 / 0.6075 GB, free: 15.18 MB / 410.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test11.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test11.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test11.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test11.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test11_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test11_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test11.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test11.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test11_res.mat does not exist to compare? outputFormat=mat