Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test16,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test16,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test16",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 3.2.3+maint.om/package.mo): time 0.002171/0.002171, allocations: 185.1 kB / 7.8 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.521/1.521, allocations: 205.2 MB / 213.4 MB, free: 13.85 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001065/0.001065, allocations: 90.28 kB / 261.4 MB, free: 13.47 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2328/0.2328, allocations: 43.48 MB / 352.8 MB, free: 1.887 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2227/0.4556, allocations: 64.97 MB / 417.8 MB, free: 40.35 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3528/0.8085, allocations: 58.85 MB / 476.7 MB, free: 5.109 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1358/0.9444, allocations: 85.56 MB / 0.549 GB, free: 13.23 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002395/0.9446, allocations: 71.95 kB / 0.5491 GB, free: 13.16 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.01117/0.9558, allocations: 3.93 MB / 0.5529 GB, free: 9.191 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/0.9559, allocations: 8 kB / 0.553 GB, free: 9.184 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.796e-05/0.956, allocations: 11.91 kB / 0.553 GB, free: 9.172 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002998/0.9563, allocations: 205.6 kB / 0.5532 GB, free: 8.934 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.25e-05/0.9563, allocations: 0 / 0.5532 GB, free: 8.934 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.776e-05/0.9563, allocations: 0 / 0.5532 GB, free: 8.934 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.8e-05/0.9564, allocations: 16 kB / 0.5532 GB, free: 8.918 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.959e-05/0.9565, allocations: 45.62 kB / 0.5532 GB, free: 8.867 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.9565, allocations: 0 / 0.5532 GB, free: 8.867 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.556e-06/0.9565, allocations: 0 / 0.5532 GB, free: 8.867 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.9565, allocations: 0 / 0.5532 GB, free: 8.867 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003588/0.9569, allocations: 257.4 kB / 0.5535 GB, free: 8.578 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001861/0.9571, allocations: 37.7 kB / 0.5535 GB, free: 8.535 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.227e-05/0.9571, allocations: 8.859 kB / 0.5535 GB, free: 8.523 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.456e-05/0.9572, allocations: 4 kB / 0.5535 GB, free: 8.52 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.717e-05/0.9572, allocations: 34.5 kB / 0.5535 GB, free: 8.477 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.663e-06/0.9572, allocations: 0 / 0.5535 GB, free: 8.477 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004816/0.9577, allocations: 105.4 kB / 0.5536 GB, free: 8.367 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.291e-05/0.9577, allocations: 59.41 kB / 0.5537 GB, free: 8.297 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00021/0.958, allocations: 177.3 kB / 0.5539 GB, free: 8.117 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.054e-05/0.958, allocations: 29.7 kB / 0.5539 GB, free: 8.082 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.349e-05/0.9581, allocations: 92.12 kB / 0.554 GB, free: 7.988 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.997e-05/0.9581, allocations: 11.75 kB / 0.554 GB, free: 7.977 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.398e-06/0.9581, allocations: 3.938 kB / 0.554 GB, free: 7.973 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001426/0.9582, allocations: 322.8 kB / 0.5543 GB, free: 7.648 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.411e-05/0.9583, allocations: 8 kB / 0.5543 GB, free: 7.641 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.137e-05/0.9583, allocations: 12 kB / 0.5543 GB, free: 7.629 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.813e-05/0.9583, allocations: 15.94 kB / 0.5543 GB, free: 7.613 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.81e-07/0.9584, allocations: 0 / 0.5543 GB, free: 7.613 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000122/0.9585, allocations: 65.5 kB / 0.5544 GB, free: 7.543 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.9585, allocations: 4 kB / 0.5544 GB, free: 7.539 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.9585, allocations: 0 / 0.5544 GB, free: 7.539 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.9585, allocations: 0 / 0.5544 GB, free: 7.539 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.969e-05/0.9586, allocations: 15.98 kB / 0.5544 GB, free: 7.523 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.9586, allocations: 0 / 0.5544 GB, free: 7.523 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.844e-05/0.9587, allocations: 15.94 kB / 0.5544 GB, free: 7.508 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-06/0.9587, allocations: 0 / 0.5544 GB, free: 7.508 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 (5): * Single equations (assignments): 5 * 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.392e-05/0.9588, allocations: 102.5 kB / 0.5545 GB, free: 7.402 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.352e-05/0.9589, allocations: 19.8 kB / 0.5546 GB, free: 7.383 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001684/0.959, allocations: 73.8 kB / 0.5546 GB, free: 7.301 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.959, allocations: 0 / 0.5546 GB, free: 7.301 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.326e-06/0.9591, allocations: 4 kB / 0.5546 GB, free: 7.297 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.9591, allocations: 0 / 0.5546 GB, free: 7.297 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004021/0.9595, allocations: 323 kB / 0.5549 GB, free: 6.938 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-06/0.9595, allocations: 0 / 0.5549 GB, free: 6.938 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.964e-05/0.9596, allocations: 19.92 kB / 0.555 GB, free: 6.918 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.9596, allocations: 0 / 0.555 GB, free: 6.918 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.478e-06/0.9596, allocations: 0 / 0.555 GB, free: 6.918 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.9596, allocations: 4.375 kB / 0.555 GB, free: 6.914 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.9596, allocations: 4 kB / 0.555 GB, free: 6.91 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001749/0.9598, allocations: 159.4 kB / 0.5551 GB, free: 6.738 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003451/0.9602, allocations: 0.531 MB / 0.5556 GB, free: 6.188 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.362e-05/0.9602, allocations: 97 kB / 0.5557 GB, free: 6.074 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.62e-05/0.9603, allocations: 4 kB / 0.5557 GB, free: 6.07 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.029e-05/0.9604, allocations: 7.938 kB / 0.5557 GB, free: 6.062 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.765e-05/0.9604, allocations: 11.89 kB / 0.5558 GB, free: 6.051 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.378e-06/0.9604, allocations: 0 / 0.5558 GB, free: 6.051 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001457/0.9606, allocations: 152.1 kB / 0.5559 GB, free: 5.902 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008704/0.9615, allocations: 23.94 kB / 0.5559 GB, free: 5.879 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 (5): * Single equations (assignments): 5 * 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.0007385/0.9622, allocations: 302 kB / 0.5562 GB, free: 5.613 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 9.39e-05/0.9623, allocations: 28.12 kB / 0.5562 GB, free: 5.586 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.9623, allocations: 0 / 0.5562 GB, free: 5.586 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.045e-05/0.9624, allocations: 15.94 kB / 0.5562 GB, free: 5.57 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000261/0.9626, allocations: 19.84 kB / 0.5563 GB, free: 5.551 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004463/0.9631, allocations: 147.8 kB / 0.5564 GB, free: 5.375 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004574/0.9636, allocations: 0.7263 MB / 0.5571 GB, free: 4.625 MB / 394.7 MB Notification: Performance of SimCode: time 2.5e-07/0.9636, allocations: 0 / 0.5571 GB, free: 4.625 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test16_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test16.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe 2>&1)