Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test29.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.CombiTable2D.Test29,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test29",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test29,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test29",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.001344/0.001344, allocations: 190.3 kB / 7.802 MB, free: 2.504 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.376/1.376, allocations: 205.2 MB / 213.4 MB, free: 13.92 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.0009202/0.0009202, allocations: 99.59 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.2207/0.2207, allocations: 43.5 MB / 352.8 MB, free: 1.969 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2772/0.4979, allocations: 64.97 MB / 417.8 MB, free: 40.46 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.426/0.9239, allocations: 58.83 MB / 476.6 MB, free: 5.184 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1805/1.104, allocations: 86.02 MB / 0.5495 GB, free: 12.89 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003141/1.105, allocations: 71.95 kB / 0.5495 GB, free: 12.82 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.01699/1.122, allocations: 4.323 MB / 0.5538 GB, free: 8.445 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.481e-05/1.122, allocations: 8 kB / 0.5538 GB, free: 8.438 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.172e-05/1.122, allocations: 11.91 kB / 0.5538 GB, free: 8.426 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003972/1.122, allocations: 204.9 kB / 0.554 GB, free: 8.184 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.611e-05/1.122, allocations: 8 kB / 0.554 GB, free: 8.176 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.736e-05/1.122, allocations: 0 / 0.554 GB, free: 8.176 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001091/1.123, allocations: 23.94 kB / 0.554 GB, free: 8.152 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001191/1.123, allocations: 41.69 kB / 0.5541 GB, free: 8.105 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.494e-05/1.123, allocations: 0 / 0.5541 GB, free: 8.105 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.54e-05/1.123, allocations: 3.906 kB / 0.5541 GB, free: 8.102 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.315e-06/1.123, allocations: 4 kB / 0.5541 GB, free: 8.098 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005632/1.123, allocations: 277.3 kB / 0.5543 GB, free: 7.789 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001043/1.123, allocations: 34.56 kB / 0.5544 GB, free: 7.746 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.367e-05/1.124, allocations: 20.78 kB / 0.5544 GB, free: 7.723 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.663e-05/1.124, allocations: 0 / 0.5544 GB, free: 7.723 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.977e-05/1.124, allocations: 34.56 kB / 0.5544 GB, free: 7.68 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.312e-06/1.124, allocations: 3.938 kB / 0.5544 GB, free: 7.676 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0006964/1.124, allocations: 137.4 kB / 0.5545 GB, free: 7.535 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.559e-05/1.124, allocations: 55.31 kB / 0.5546 GB, free: 7.469 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003022/1.125, allocations: 182.4 kB / 0.5548 GB, free: 7.277 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.803e-05/1.125, allocations: 29.7 kB / 0.5548 GB, free: 7.242 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.092e-05/1.125, allocations: 100.1 kB / 0.5549 GB, free: 7.141 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.519e-05/1.125, allocations: 23.64 kB / 0.5549 GB, free: 7.117 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.793e-06/1.125, allocations: 3.938 kB / 0.5549 GB, free: 7.113 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001739/1.125, allocations: 322.8 kB / 0.5552 GB, free: 6.789 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.207e-05/1.125, allocations: 16 kB / 0.5552 GB, free: 6.773 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.298e-05/1.125, allocations: 12 kB / 0.5553 GB, free: 6.762 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.238e-05/1.125, allocations: 12 kB / 0.5553 GB, free: 6.75 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/1.125, allocations: 0 / 0.5553 GB, free: 6.75 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002034/1.126, allocations: 77.5 kB / 0.5553 GB, free: 6.668 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/1.126, allocations: 4 kB / 0.5553 GB, free: 6.664 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/1.126, allocations: 4 kB / 0.5554 GB, free: 6.66 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.792e-05/1.126, allocations: 4 kB / 0.5554 GB, free: 6.656 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001912/1.126, allocations: 19.98 kB / 0.5554 GB, free: 6.637 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/1.126, allocations: 0 / 0.5554 GB, free: 6.637 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001256/1.126, allocations: 19.98 kB / 0.5554 GB, free: 6.617 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.461e-05/1.126, allocations: 4 kB / 0.5554 GB, free: 6.613 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 (7): * Single equations (assignments): 7 * 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.0001023/1.126, allocations: 108.8 kB / 0.5555 GB, free: 6.5 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.54e-05/1.126, allocations: 11.84 kB / 0.5555 GB, free: 6.488 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002654/1.126, allocations: 99.27 kB / 0.5556 GB, free: 6.391 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/1.126, allocations: 0 / 0.5556 GB, free: 6.391 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/1.126, allocations: 0 / 0.5556 GB, free: 6.391 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/1.126, allocations: 7.984 kB / 0.5556 GB, free: 6.383 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005809/1.127, allocations: 343 kB / 0.5559 GB, free: 6.004 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.095e-06/1.127, allocations: 0 / 0.5559 GB, free: 6.004 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001578/1.127, allocations: 31.89 kB / 0.556 GB, free: 5.973 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/1.127, allocations: 0 / 0.556 GB, free: 5.973 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.507e-05/1.127, allocations: 8 kB / 0.556 GB, free: 5.965 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/1.127, allocations: 0 / 0.556 GB, free: 5.965 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/1.127, allocations: 0 / 0.556 GB, free: 5.965 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002461/1.128, allocations: 167.4 kB / 0.5561 GB, free: 5.785 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000406/1.128, allocations: 0.5465 MB / 0.5567 GB, free: 5.219 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.122e-05/1.128, allocations: 97 kB / 0.5568 GB, free: 5.105 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.287e-05/1.128, allocations: 0 / 0.5568 GB, free: 5.105 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001727/1.128, allocations: 15.98 kB / 0.5568 GB, free: 5.09 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.957e-05/1.128, allocations: 15.89 kB / 0.5568 GB, free: 5.074 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.116e-05/1.128, allocations: 4 kB / 0.5568 GB, free: 5.07 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001936/1.129, allocations: 144.9 kB / 0.5569 GB, free: 4.93 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001629/1.13, allocations: 31.94 kB / 0.557 GB, free: 4.898 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 (7): * Single equations (assignments): 7 * 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.0009878/1.131, allocations: 305.2 kB / 0.5573 GB, free: 4.641 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001797/1.131, allocations: 39.94 kB / 0.5573 GB, free: 4.602 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/1.131, allocations: 0 / 0.5573 GB, free: 4.602 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.334e-05/1.132, allocations: 27.98 kB / 0.5573 GB, free: 4.574 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003628/1.132, allocations: 11.86 kB / 0.5573 GB, free: 4.562 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006481/1.133, allocations: 175.5 kB / 0.5575 GB, free: 4.371 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005923/1.133, allocations: 0.7309 MB / 0.5582 GB, free: 3.613 MB / 394.7 MB Notification: Performance of SimCode: time 3.5e-07/1.133, allocations: 0 / 0.5582 GB, free: 3.613 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test29.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test29.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test29.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test29.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test29_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test29_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test29.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test29.pipe 2>&1)