Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.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.Test4,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test4,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test4",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.001337/0.001337, allocations: 185.5 kB / 7.806 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.389/1.389, 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.00116/0.00116, allocations: 86.28 kB / 261.4 MB, free: 13.62 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.2377/0.2377, allocations: 43.48 MB / 352.8 MB, free: 2.027 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2539/0.4916, allocations: 64.98 MB / 417.8 MB, free: 40.48 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4449/0.9365, allocations: 58.84 MB / 476.7 MB, free: 5.309 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1681/1.105, allocations: 85.61 MB / 0.5491 GB, free: 13.41 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000349/1.105, allocations: 67.97 kB / 0.5491 GB, free: 13.34 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.01496/1.12, allocations: 4.238 MB / 0.5533 GB, free: 9.062 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.813e-05/1.12, allocations: 12 kB / 0.5533 GB, free: 9.051 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.281e-05/1.12, allocations: 11.81 kB / 0.5533 GB, free: 9.039 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003341/1.121, allocations: 210.9 kB / 0.5535 GB, free: 8.793 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.291e-05/1.121, allocations: 0 / 0.5535 GB, free: 8.793 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.072e-05/1.121, allocations: 11.91 kB / 0.5535 GB, free: 8.781 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.914e-05/1.121, allocations: 19.98 kB / 0.5535 GB, free: 8.762 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001117/1.121, allocations: 49.62 kB / 0.5536 GB, free: 8.707 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/1.121, allocations: 0 / 0.5536 GB, free: 8.707 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.216e-05/1.121, allocations: 0 / 0.5536 GB, free: 8.707 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/1.121, allocations: 0 / 0.5536 GB, free: 8.707 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004766/1.121, allocations: 281.3 kB / 0.5539 GB, free: 8.395 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.351e-05/1.122, allocations: 45.7 kB / 0.5539 GB, free: 8.344 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.48e-05/1.122, allocations: 12.98 kB / 0.5539 GB, free: 8.328 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.791e-05/1.122, allocations: 3.938 kB / 0.5539 GB, free: 8.324 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.154e-05/1.122, allocations: 38.56 kB / 0.554 GB, free: 8.277 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 1.773e-06/1.122, allocations: 3.938 kB / 0.554 GB, free: 8.273 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.000633/1.122, allocations: 133.2 kB / 0.5541 GB, free: 8.137 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.348e-05/1.122, allocations: 55.41 kB / 0.5541 GB, free: 8.07 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002918/1.123, allocations: 197.4 kB / 0.5543 GB, free: 7.867 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.829e-05/1.123, allocations: 29.7 kB / 0.5544 GB, free: 7.832 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.972e-05/1.123, allocations: 92.05 kB / 0.5544 GB, free: 7.738 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.785e-05/1.123, allocations: 27.64 kB / 0.5545 GB, free: 7.711 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.001e-06/1.123, allocations: 0 / 0.5545 GB, free: 7.711 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001329/1.123, allocations: 326.9 kB / 0.5548 GB, free: 7.383 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.098e-05/1.123, allocations: 16 kB / 0.5548 GB, free: 7.367 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.899e-05/1.123, allocations: 16 kB / 0.5548 GB, free: 7.352 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.047e-05/1.123, allocations: 20.05 kB / 0.5548 GB, free: 7.332 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.11e-07/1.123, allocations: 3.938 kB / 0.5548 GB, free: 7.328 MB / 394.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001822/1.123, allocations: 77.81 kB / 0.5549 GB, free: 7.246 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/1.123, allocations: 8 kB / 0.5549 GB, free: 7.238 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/1.123, allocations: 0 / 0.5549 GB, free: 7.238 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.322e-05/1.123, allocations: 3.906 kB / 0.5549 GB, free: 7.234 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001637/1.124, allocations: 23.98 kB / 0.5549 GB, free: 7.211 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/1.124, allocations: 0 / 0.5549 GB, free: 7.211 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.219e-05/1.124, allocations: 11.94 kB / 0.555 GB, free: 7.199 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.148e-05/1.124, allocations: 0 / 0.555 GB, free: 7.199 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 (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 prepare postOptimizeDAE: time 0.000116/1.124, allocations: 102.4 kB / 0.555 GB, free: 7.094 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.41e-05/1.124, allocations: 15.81 kB / 0.5551 GB, free: 7.078 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002982/1.124, allocations: 107.1 kB / 0.5552 GB, free: 6.969 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/1.124, allocations: 0 / 0.5552 GB, free: 6.969 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/1.124, allocations: 0 / 0.5552 GB, free: 6.969 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/1.124, allocations: 0 / 0.5552 GB, free: 6.969 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005747/1.125, allocations: 370.9 kB / 0.5555 GB, free: 6.562 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/1.125, allocations: 0 / 0.5555 GB, free: 6.562 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001072/1.125, allocations: 19.98 kB / 0.5555 GB, free: 6.543 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/1.125, allocations: 4 kB / 0.5555 GB, free: 6.539 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.074e-05/1.125, allocations: 0 / 0.5555 GB, free: 6.539 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.016e-05/1.125, allocations: 7.906 kB / 0.5556 GB, free: 6.531 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/1.125, allocations: 3.938 kB / 0.5556 GB, free: 6.527 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002238/1.125, allocations: 175.3 kB / 0.5557 GB, free: 6.34 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003384/1.126, allocations: 0.5505 MB / 0.5563 GB, free: 5.77 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001098/1.126, allocations: 97 kB / 0.5564 GB, free: 5.656 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.29e-05/1.126, allocations: 4 kB / 0.5564 GB, free: 5.652 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001191/1.126, allocations: 7.906 kB / 0.5564 GB, free: 5.645 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.38e-05/1.126, allocations: 7.984 kB / 0.5564 GB, free: 5.637 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.752e-06/1.126, allocations: 0 / 0.5564 GB, free: 5.637 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001842/1.126, allocations: 160.2 kB / 0.5565 GB, free: 5.48 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001335/1.128, allocations: 31.98 kB / 0.5566 GB, free: 5.449 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.001029/1.129, allocations: 298.4 kB / 0.5568 GB, free: 5.191 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002009/1.129, allocations: 55.89 kB / 0.5569 GB, free: 5.137 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.848e-06/1.129, allocations: 0 / 0.5569 GB, free: 5.137 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 6.053e-05/1.129, allocations: 20 kB / 0.5569 GB, free: 5.117 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003724/1.129, allocations: 15.84 kB / 0.5569 GB, free: 5.102 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00067/1.13, allocations: 187.5 kB / 0.5571 GB, free: 4.895 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004819/1.13, allocations: 0.7348 MB / 0.5578 GB, free: 4.133 MB / 394.7 MB Notification: Performance of SimCode: time 5.01e-07/1.13, allocations: 0 / 0.5578 GB, free: 4.133 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test4_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test4.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe 2>&1)