Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test19.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.Test19,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test19,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test19",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.001641/0.001641, allocations: 199.2 kB / 8.539 MB, free: 1.824 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.43/1.43, allocations: 225.5 MB / 234.4 MB, free: 3.301 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009267/0.0009264, allocations: 90.69 kB / 286.3 MB, free: 5.289 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2348/0.2348, allocations: 45.15 MB / 383.4 MB, free: 484 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2921/0.527, allocations: 69.36 MB / 452.7 MB, free: 76.07 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1703/0.6974, allocations: 63.24 MB / 0.5039 GB, free: 12.89 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5101/1.208, allocations: 91.12 MB / 0.5928 GB, free: 11.66 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003485/1.208, allocations: 73.7 kB / 0.5929 GB, free: 11.62 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.03918/1.247, allocations: 10.02 MB / 0.6027 GB, free: 3.191 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.677e-05/1.247, allocations: 8 kB / 0.6027 GB, free: 3.184 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001806/1.247, allocations: 43.44 kB / 0.6028 GB, free: 3.141 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009582/1.248, allocations: 364.3 kB / 0.6031 GB, free: 2.773 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.879e-05/1.248, allocations: 4 kB / 0.6031 GB, free: 2.77 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.179e-05/1.248, allocations: 4 kB / 0.6031 GB, free: 2.766 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001611/1.249, allocations: 33 kB / 0.6031 GB, free: 2.746 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000181/1.249, allocations: 67.52 kB / 0.6032 GB, free: 2.684 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.342e-05/1.249, allocations: 7.922 kB / 0.6032 GB, free: 2.676 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.499e-05/1.249, allocations: 0 / 0.6032 GB, free: 2.676 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/1.249, allocations: 4 kB / 0.6032 GB, free: 2.672 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009189/1.25, allocations: 442.1 kB / 0.6036 GB, free: 2.27 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001377/1.25, allocations: 49.33 kB / 0.6037 GB, free: 2.223 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.956e-05/1.25, allocations: 16.48 kB / 0.6037 GB, free: 2.207 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.786e-05/1.25, allocations: 7.984 kB / 0.6037 GB, free: 2.199 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.668e-05/1.25, allocations: 41.94 kB / 0.6038 GB, free: 2.152 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 2.094e-06/1.25, allocations: 0 / 0.6038 GB, free: 2.152 MB / 394.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003829/1.251, allocations: 95.59 kB / 0.6038 GB, free: 2.062 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.563e-05/1.251, allocations: 51.41 kB / 0.6039 GB, free: 2 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001006/1.252, allocations: 0.4976 MB / 0.6044 GB, free: 1.605 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.098e-05/1.252, allocations: 25.7 kB / 0.6044 GB, free: 1.574 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001125/1.252, allocations: 133.3 kB / 0.6045 GB, free: 1.453 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.824e-05/1.252, allocations: 19.16 kB / 0.6045 GB, free: 1.438 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.171e-06/1.252, allocations: 7.938 kB / 0.6046 GB, free: 1.43 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002363/1.252, allocations: 352.7 kB / 0.6049 GB, free: 1.09 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.427e-05/1.252, allocations: 18.69 kB / 0.6049 GB, free: 1.078 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.884e-05/1.252, allocations: 11.62 kB / 0.6049 GB, free: 1.07 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.507e-05/1.252, allocations: 14.5 kB / 0.6049 GB, free: 1.062 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/1.252, allocations: 0 / 0.6049 GB, free: 1.062 MB / 394.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002804/1.253, allocations: 99.47 kB / 0.605 GB, free: 0.9688 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.249e-05/1.253, allocations: 4 kB / 0.605 GB, free: 0.9648 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.174e-05/1.253, allocations: 0 / 0.605 GB, free: 0.9648 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.047e-05/1.253, allocations: 3.938 kB / 0.605 GB, free: 0.9609 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001488/1.253, allocations: 19.98 kB / 0.6051 GB, free: 0.9414 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/1.253, allocations: 3.906 kB / 0.6051 GB, free: 0.9375 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000138/1.253, allocations: 7.938 kB / 0.6051 GB, free: 0.9297 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.336e-05/1.253, allocations: 4 kB / 0.6051 GB, free: 0.9258 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 (6): * Single equations (assignments): 6 * 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 9.381e-05/1.253, allocations: 104.9 kB / 0.6052 GB, free: 0.8164 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001291/1.253, allocations: 43.42 kB / 0.6052 GB, free: 0.7734 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003563/1.254, allocations: 122.5 kB / 0.6053 GB, free: 0.6602 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.638e-06/1.254, allocations: 0 / 0.6053 GB, free: 0.6602 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/1.254, allocations: 0 / 0.6053 GB, free: 0.6602 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.353e-05/1.254, allocations: 4 kB / 0.6053 GB, free: 0.6562 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004549/1.254, allocations: 284 kB / 0.6056 GB, free: 396 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/1.254, allocations: 0 / 0.6056 GB, free: 396 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001029/1.254, allocations: 15.98 kB / 0.6056 GB, free: 380 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.097e-06/1.254, allocations: 0 / 0.6056 GB, free: 380 kB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.088e-05/1.254, allocations: 0 / 0.6056 GB, free: 380 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/1.254, allocations: 320 / 0.6056 GB, free: 380 kB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/1.254, allocations: 4 kB / 0.6056 GB, free: 376 kB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003397/1.255, allocations: 209 kB / 0.6058 GB, free: 164 kB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004842/1.255, allocations: 0.5747 MB / 0.6064 GB, free: 15.58 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000218/1.256, allocations: 138.5 kB / 0.6065 GB, free: 15.44 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.147e-05/1.256, allocations: 4 kB / 0.6065 GB, free: 15.43 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001896/1.256, allocations: 11.89 kB / 0.6065 GB, free: 15.42 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.119e-05/1.256, allocations: 4 kB / 0.6065 GB, free: 15.42 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.178e-05/1.256, allocations: 4 kB / 0.6065 GB, free: 15.41 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0006827/1.257, allocations: 401.6 kB / 0.6069 GB, free: 15.12 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001715/1.258, allocations: 55.36 kB / 0.607 GB, free: 15.07 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 (6): * Single equations (assignments): 6 * 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.001564/1.26, allocations: 441.8 kB / 0.6074 GB, free: 14.75 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000208/1.26, allocations: 36.94 kB / 0.6074 GB, free: 14.73 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/1.26, allocations: 0 / 0.6074 GB, free: 14.73 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.686e-05/1.26, allocations: 23.55 kB / 0.6075 GB, free: 14.71 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007753/1.261, allocations: 69.72 kB / 0.6075 GB, free: 14.66 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00167/1.263, allocations: 468.9 kB / 0.608 GB, free: 14.21 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000686/1.263, allocations: 0.8389 MB / 0.6088 GB, free: 13.36 MB / 410.7 MB Notification: Performance of SimCode: time 5.41e-07/1.263, allocations: 4 kB / 0.6088 GB, free: 13.36 MB / 410.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test19.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test19.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test19.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test19.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test19_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test19_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test19.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test19.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test19_res.mat does not exist to compare? outputFormat=mat