Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8.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.Test8,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test8,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test8",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.001869/0.001869, allocations: 192.6 kB / 7.807 MB, free: 2.488 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.537/1.537, allocations: 205.2 MB / 213.4 MB, free: 13.71 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.0009597/0.0009598, allocations: 88.55 kB / 261.4 MB, free: 13.54 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.1933/0.1933, allocations: 43.49 MB / 352.9 MB, free: 1.953 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.221/0.4143, allocations: 64.96 MB / 417.8 MB, free: 40.47 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.213/0.6273, allocations: 58.84 MB / 476.7 MB, free: 5.18 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1286/0.756, allocations: 85.52 MB / 0.549 GB, free: 13.4 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002434/0.7563, allocations: 75.95 kB / 0.5491 GB, free: 13.32 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.01078/0.7671, allocations: 3.567 MB / 0.5526 GB, free: 9.719 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.7671, allocations: 8 kB / 0.5526 GB, free: 9.711 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.306e-05/0.7672, allocations: 11.81 kB / 0.5526 GB, free: 9.699 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002736/0.7675, allocations: 189.8 kB / 0.5528 GB, free: 9.477 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.208e-05/0.7675, allocations: 0 / 0.5528 GB, free: 9.477 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.955e-05/0.7675, allocations: 0 / 0.5528 GB, free: 9.477 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.54e-05/0.7676, allocations: 15.98 kB / 0.5528 GB, free: 9.461 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.195e-05/0.7677, allocations: 41.69 kB / 0.5528 GB, free: 9.414 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.238e-06/0.7677, allocations: 7.938 kB / 0.5528 GB, free: 9.406 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.007e-06/0.7677, allocations: 0 / 0.5528 GB, free: 9.406 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.7677, allocations: 4 kB / 0.5528 GB, free: 9.402 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003426/0.7681, allocations: 249.4 kB / 0.5531 GB, free: 9.121 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001698/0.7683, allocations: 25.81 kB / 0.5531 GB, free: 9.09 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.761e-05/0.7683, allocations: 12.84 kB / 0.5531 GB, free: 9.074 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.884e-05/0.7683, allocations: 11.91 kB / 0.5531 GB, free: 9.062 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.891e-05/0.7684, allocations: 34.5 kB / 0.5531 GB, free: 9.02 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.232e-06/0.7684, allocations: 0 / 0.5531 GB, free: 9.02 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004256/0.7688, allocations: 101.3 kB / 0.5532 GB, free: 8.914 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.766e-05/0.7689, allocations: 51.41 kB / 0.5533 GB, free: 8.852 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001606/0.769, allocations: 145.2 kB / 0.5534 GB, free: 8.699 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.007e-05/0.7691, allocations: 25.7 kB / 0.5534 GB, free: 8.668 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.279e-05/0.7691, allocations: 80.14 kB / 0.5535 GB, free: 8.586 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.031e-05/0.7691, allocations: 23.73 kB / 0.5535 GB, free: 8.562 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.797e-06/0.7692, allocations: 0 / 0.5535 GB, free: 8.562 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001931/0.7694, allocations: 318.8 kB / 0.5539 GB, free: 8.242 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.085e-05/0.7694, allocations: 11.94 kB / 0.5539 GB, free: 8.23 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.94e-05/0.7694, allocations: 8 kB / 0.5539 GB, free: 8.223 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.036e-05/0.7694, allocations: 16.17 kB / 0.5539 GB, free: 8.207 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.91e-07/0.7695, allocations: 4 kB / 0.5539 GB, free: 8.203 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001217/0.7696, allocations: 61.55 kB / 0.5539 GB, free: 8.137 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.7696, allocations: 4 kB / 0.554 GB, free: 8.133 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.371e-06/0.7696, allocations: 0 / 0.554 GB, free: 8.133 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.111e-05/0.7697, allocations: 4 kB / 0.554 GB, free: 8.129 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.847e-05/0.7697, allocations: 15.98 kB / 0.554 GB, free: 8.113 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.7698, allocations: 0 / 0.554 GB, free: 8.113 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.113e-05/0.7698, allocations: 11.98 kB / 0.554 GB, free: 8.102 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.202e-06/0.7698, allocations: 0 / 0.554 GB, free: 8.102 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 9.461e-05/0.7699, allocations: 106.4 kB / 0.5541 GB, free: 7.992 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.952e-05/0.77, allocations: 7.812 kB / 0.5541 GB, free: 7.984 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001732/0.7702, allocations: 77.8 kB / 0.5542 GB, free: 7.898 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.207e-06/0.7702, allocations: 3.984 kB / 0.5542 GB, free: 7.895 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.7702, allocations: 0 / 0.5542 GB, free: 7.895 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.7702, allocations: 0 / 0.5542 GB, free: 7.895 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003619/0.7706, allocations: 303.1 kB / 0.5545 GB, free: 7.555 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.7706, allocations: 4 kB / 0.5545 GB, free: 7.551 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.698e-05/0.7706, allocations: 11.98 kB / 0.5545 GB, free: 7.539 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.269e-06/0.7707, allocations: 4 kB / 0.5545 GB, free: 7.535 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.238e-06/0.7707, allocations: 0 / 0.5545 GB, free: 7.535 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-06/0.7707, allocations: 0 / 0.5545 GB, free: 7.535 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.7707, allocations: 3.938 kB / 0.5545 GB, free: 7.531 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001923/0.7709, allocations: 163.8 kB / 0.5546 GB, free: 7.355 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003555/0.7713, allocations: 0.531 MB / 0.5552 GB, free: 6.805 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.924e-05/0.7713, allocations: 89 kB / 0.5552 GB, free: 6.699 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.273e-05/0.7714, allocations: 0 / 0.5552 GB, free: 6.699 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.15e-05/0.7715, allocations: 8 kB / 0.5552 GB, free: 6.691 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.542e-05/0.7715, allocations: 3.984 kB / 0.5553 GB, free: 6.688 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.378e-06/0.7715, allocations: 4 kB / 0.5553 GB, free: 6.684 MB / 394.7 MB Notification: Performance of sort global known variables: time 9.606e-05/0.7716, allocations: 122.5 kB / 0.5554 GB, free: 6.566 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008853/0.7725, allocations: 20 kB / 0.5554 GB, free: 6.547 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.0007416/0.7733, allocations: 295.5 kB / 0.5557 GB, free: 6.293 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001285/0.7734, allocations: 24 kB / 0.5557 GB, free: 6.27 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.7734, allocations: 4 kB / 0.5557 GB, free: 6.266 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.24e-05/0.7735, allocations: 15.94 kB / 0.5557 GB, free: 6.25 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002806/0.7738, allocations: 16.22 kB / 0.5557 GB, free: 6.234 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005026/0.7743, allocations: 111.7 kB / 0.5558 GB, free: 6.102 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004545/0.7747, allocations: 0.7186 MB / 0.5565 GB, free: 5.359 MB / 394.7 MB Notification: Performance of SimCode: time 3e-07/0.7748, allocations: 4 kB / 0.5565 GB, free: 5.355 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test8_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test8.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe 2>&1)