Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.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.CombiTable1Ds.Test25_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab",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.001377/0.001377, allocations: 204.1 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.47/1.47, allocations: 225.5 MB / 234.4 MB, free: 3.355 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008746/0.0008746, allocations: 97.34 kB / 286.3 MB, free: 5.301 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1972/0.1972, allocations: 45.14 MB / 383.4 MB, free: 0.5703 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2737/0.4709, allocations: 69.37 MB / 452.7 MB, free: 76.12 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1209/0.5918, allocations: 63.24 MB / 0.5039 GB, free: 12.96 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3654/0.9572, allocations: 88.66 MB / 0.5904 GB, free: 14.15 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000242/0.9575, allocations: 67.06 kB / 0.5905 GB, free: 14.12 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.01406/0.9716, allocations: 4.978 MB / 0.5954 GB, free: 9.957 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/0.9717, allocations: 8 kB / 0.5954 GB, free: 9.949 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.038e-05/0.9717, allocations: 7.906 kB / 0.5954 GB, free: 9.941 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003425/0.9721, allocations: 201.8 kB / 0.5956 GB, free: 9.711 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.147e-05/0.9721, allocations: 0 / 0.5956 GB, free: 9.711 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.174e-05/0.9721, allocations: 0 / 0.5956 GB, free: 9.711 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.87e-05/0.9723, allocations: 27.86 kB / 0.5956 GB, free: 9.688 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001125/0.9724, allocations: 58.84 kB / 0.5957 GB, free: 9.625 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.388e-05/0.9724, allocations: 3.906 kB / 0.5957 GB, free: 9.621 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.214e-05/0.9724, allocations: 0 / 0.5957 GB, free: 9.621 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.9724, allocations: 0 / 0.5957 GB, free: 9.621 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004141/0.9729, allocations: 279 kB / 0.5959 GB, free: 9.332 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.624e-05/0.973, allocations: 44.16 kB / 0.596 GB, free: 9.289 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.538e-05/0.973, allocations: 24.66 kB / 0.596 GB, free: 9.266 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.906e-05/0.973, allocations: 0 / 0.596 GB, free: 9.266 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.326e-05/0.9731, allocations: 34.25 kB / 0.596 GB, free: 9.227 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 9.61e-07/0.9731, allocations: 0.5625 kB / 0.596 GB, free: 9.227 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005284/0.9736, allocations: 131.4 kB / 0.5962 GB, free: 9.109 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.728e-05/0.9737, allocations: 81.05 kB / 0.5962 GB, free: 9.012 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001717/0.9739, allocations: 142 kB / 0.5964 GB, free: 8.883 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.999e-05/0.9739, allocations: 25.7 kB / 0.5964 GB, free: 8.852 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.548e-05/0.974, allocations: 87.08 kB / 0.5965 GB, free: 8.766 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.279e-05/0.974, allocations: 34.92 kB / 0.5965 GB, free: 8.734 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.919e-06/0.974, allocations: 0 / 0.5965 GB, free: 8.734 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001531/0.9742, allocations: 321.5 kB / 0.5968 GB, free: 8.414 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.83e-05/0.9742, allocations: 18.56 kB / 0.5968 GB, free: 8.402 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.498e-05/0.9743, allocations: 32.28 kB / 0.5969 GB, free: 8.375 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.886e-05/0.9743, allocations: 26.42 kB / 0.5969 GB, free: 8.355 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.71e-07/0.9743, allocations: 0 / 0.5969 GB, free: 8.355 MB / 394.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001442/0.9745, allocations: 94.86 kB / 0.597 GB, free: 8.27 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/0.9745, allocations: 4 kB / 0.597 GB, free: 8.266 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.9745, allocations: 0 / 0.597 GB, free: 8.266 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.348e-06/0.9745, allocations: 0 / 0.597 GB, free: 8.266 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001218/0.9747, allocations: 24.02 kB / 0.597 GB, free: 8.242 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.007e-06/0.9747, allocations: 4 kB / 0.597 GB, free: 8.238 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.365e-05/0.9747, allocations: 7.984 kB / 0.597 GB, free: 8.23 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.162e-05/0.9748, allocations: 4 kB / 0.597 GB, free: 8.227 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 (9): * Single equations (assignments): 9 * 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.137e-05/0.9748, allocations: 104.9 kB / 0.5971 GB, free: 8.117 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.684e-05/0.9749, allocations: 15.81 kB / 0.5971 GB, free: 8.102 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001913/0.9751, allocations: 95.91 kB / 0.5972 GB, free: 8.016 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.521e-06/0.9751, allocations: 4 kB / 0.5972 GB, free: 8.012 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.9751, allocations: 3.984 kB / 0.5972 GB, free: 8.008 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.9751, allocations: 0 / 0.5972 GB, free: 8.008 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004025/0.9755, allocations: 353.6 kB / 0.5976 GB, free: 7.648 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.9755, allocations: 4 kB / 0.5976 GB, free: 7.645 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.513e-05/0.9756, allocations: 23.56 kB / 0.5976 GB, free: 7.625 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.9756, allocations: 3.938 kB / 0.5976 GB, free: 7.621 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.084e-05/0.9757, allocations: 4.266 kB / 0.5976 GB, free: 7.617 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.9757, allocations: 4 kB / 0.5976 GB, free: 7.613 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.9757, allocations: 3.906 kB / 0.5976 GB, free: 7.609 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001797/0.9759, allocations: 176.8 kB / 0.5978 GB, free: 7.434 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003637/0.9762, allocations: 0.5482 MB / 0.5983 GB, free: 6.883 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.861e-05/0.9763, allocations: 89 kB / 0.5984 GB, free: 6.777 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.411e-05/0.9763, allocations: 0 / 0.5984 GB, free: 6.777 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.191e-05/0.9764, allocations: 8 kB / 0.5984 GB, free: 6.77 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.313e-05/0.9765, allocations: 7.547 kB / 0.5984 GB, free: 6.762 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.183e-06/0.9765, allocations: 8 kB / 0.5984 GB, free: 6.754 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001008/0.9766, allocations: 114 kB / 0.5985 GB, free: 6.656 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009795/0.9776, allocations: 62.5 kB / 0.5986 GB, free: 6.605 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 (8): * Single equations (assignments): 8 * 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.001012/0.9786, allocations: 393.1 kB / 0.599 GB, free: 6.305 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001477/0.9788, allocations: 50.8 kB / 0.599 GB, free: 6.27 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/0.9788, allocations: 8 kB / 0.599 GB, free: 6.262 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.466e-05/0.9789, allocations: 23.56 kB / 0.5991 GB, free: 6.242 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00024/0.9791, allocations: 14.62 kB / 0.5991 GB, free: 6.23 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000409/0.9795, allocations: 126.1 kB / 0.5992 GB, free: 6.098 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000454/0.98, allocations: 0.7227 MB / 0.5999 GB, free: 5.352 MB / 394.7 MB Notification: Performance of SimCode: time 5.01e-07/0.98, allocations: 0 / 0.5999 GB, free: 5.352 MB / 394.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.mat does not exist to compare? outputFormat=mat