Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.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.CombiTable1D.Test4,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test4,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_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.003172/0.003172, allocations: 193 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.482/1.482, allocations: 205.2 MB / 213.4 MB, free: 13.91 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.001016/0.001016, allocations: 81.59 kB / 261.4 MB, free: 13.55 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.2074/0.2074, allocations: 43.5 MB / 352.9 MB, free: 1.977 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2078/0.4153, allocations: 64.96 MB / 417.8 MB, free: 40.48 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2689/0.6842, allocations: 58.83 MB / 476.6 MB, free: 5.184 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1194/0.8036, allocations: 85.78 MB / 0.5492 GB, free: 13.15 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00019/0.8039, allocations: 67.97 kB / 0.5493 GB, free: 13.08 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.01087/0.8147, allocations: 4.291 MB / 0.5535 GB, free: 8.746 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.434e-05/0.8148, allocations: 8 kB / 0.5535 GB, free: 8.738 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.044e-05/0.8148, allocations: 11.81 kB / 0.5535 GB, free: 8.727 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002598/0.8151, allocations: 202.9 kB / 0.5537 GB, free: 8.488 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.254e-05/0.8151, allocations: 3.906 kB / 0.5537 GB, free: 8.484 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.85e-05/0.8151, allocations: 7.984 kB / 0.5537 GB, free: 8.477 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.131e-05/0.8152, allocations: 27.94 kB / 0.5537 GB, free: 8.449 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001137/0.8154, allocations: 71.33 kB / 0.5538 GB, free: 8.367 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.8154, allocations: 0 / 0.5538 GB, free: 8.367 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.091e-05/0.8154, allocations: 4 kB / 0.5538 GB, free: 8.363 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.692e-06/0.8154, allocations: 0 / 0.5538 GB, free: 8.363 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004699/0.8159, allocations: 385.5 kB / 0.5542 GB, free: 7.945 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002469/0.8161, allocations: 67.5 kB / 0.5543 GB, free: 7.867 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.621e-05/0.8162, allocations: 25.72 kB / 0.5543 GB, free: 7.836 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.032e-05/0.8163, allocations: 3.906 kB / 0.5543 GB, free: 7.832 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.096e-05/0.8163, allocations: 34.5 kB / 0.5543 GB, free: 7.789 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.343e-06/0.8163, allocations: 0 / 0.5543 GB, free: 7.789 MB / 394.7 MB Notification: Performance of matching and sorting (n=10): time 0.0006334/0.8169, allocations: 189.1 kB / 0.5545 GB, free: 7.598 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.567e-05/0.817, allocations: 81.11 kB / 0.5546 GB, free: 7.5 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002417/0.8172, allocations: 197.4 kB / 0.5548 GB, free: 7.297 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.998e-05/0.8173, allocations: 25.7 kB / 0.5548 GB, free: 7.266 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.977e-05/0.8173, allocations: 96.03 kB / 0.5549 GB, free: 7.168 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.151e-05/0.8174, allocations: 27.56 kB / 0.5549 GB, free: 7.141 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.68e-06/0.8174, allocations: 4 kB / 0.5549 GB, free: 7.137 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001295/0.8175, allocations: 322.8 kB / 0.5552 GB, free: 6.812 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.23e-05/0.8176, allocations: 23.98 kB / 0.5552 GB, free: 6.789 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.193e-05/0.8176, allocations: 41.7 kB / 0.5553 GB, free: 6.742 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.302e-05/0.8177, allocations: 27.98 kB / 0.5553 GB, free: 6.715 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.8177, allocations: 3.906 kB / 0.5553 GB, free: 6.711 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001571/0.8179, allocations: 101.7 kB / 0.5554 GB, free: 6.605 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.8179, allocations: 10.8 kB / 0.5554 GB, free: 6.598 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.8179, allocations: 4 kB / 0.5554 GB, free: 6.594 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.8179, allocations: 4 kB / 0.5554 GB, free: 6.59 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001024/0.818, allocations: 19.98 kB / 0.5554 GB, free: 6.57 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.117e-05/0.8181, allocations: 7.906 kB / 0.5554 GB, free: 6.562 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.75e-05/0.8181, allocations: 4 kB / 0.5555 GB, free: 6.559 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.095e-05/0.8181, allocations: 4 kB / 0.5555 GB, free: 6.555 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 7.071e-05/0.8182, allocations: 110.3 kB / 0.5556 GB, free: 6.441 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.904e-05/0.8183, allocations: 11.81 kB / 0.5556 GB, free: 6.43 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002396/0.8185, allocations: 126.7 kB / 0.5557 GB, free: 6.305 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.8185, allocations: 4.406 kB / 0.5557 GB, free: 6.301 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.8186, allocations: 4 kB / 0.5557 GB, free: 6.297 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.8186, allocations: 7.922 kB / 0.5557 GB, free: 6.289 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005265/0.8191, allocations: 487 kB / 0.5562 GB, free: 5.766 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.8191, allocations: 0 / 0.5562 GB, free: 5.766 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.644e-05/0.8192, allocations: 24 kB / 0.5562 GB, free: 5.742 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.529e-05/0.8192, allocations: 7.891 kB / 0.5562 GB, free: 5.734 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.096e-05/0.8192, allocations: 7.938 kB / 0.5562 GB, free: 5.727 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.8193, allocations: 0 / 0.5562 GB, free: 5.727 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.8193, allocations: 0 / 0.5562 GB, free: 5.727 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002448/0.8195, allocations: 302.9 kB / 0.5565 GB, free: 5.398 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003932/0.8199, allocations: 0.6674 MB / 0.5572 GB, free: 4.695 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.634e-05/0.82, allocations: 101 kB / 0.5572 GB, free: 4.578 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.719e-05/0.82, allocations: 4 kB / 0.5573 GB, free: 4.574 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001576/0.8202, allocations: 11.89 kB / 0.5573 GB, free: 4.562 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.733e-05/0.8203, allocations: 8 kB / 0.5573 GB, free: 4.555 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.155e-06/0.8203, allocations: 4 kB / 0.5573 GB, free: 4.551 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001421/0.8204, allocations: 164.2 kB / 0.5574 GB, free: 4.391 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009183/0.8213, allocations: 31.94 kB / 0.5575 GB, free: 4.359 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.0006338/0.822, allocations: 297 kB / 0.5577 GB, free: 4.102 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001603/0.8221, allocations: 63.92 kB / 0.5578 GB, free: 4.039 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.8222, allocations: 4 kB / 0.5578 GB, free: 4.035 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.393e-05/0.8222, allocations: 35.92 kB / 0.5578 GB, free: 4 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002718/0.8225, allocations: 15.23 kB / 0.5579 GB, free: 3.988 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00048/0.823, allocations: 225.1 kB / 0.5581 GB, free: 3.738 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003405/0.8233, allocations: 0.7473 MB / 0.5588 GB, free: 2.965 MB / 394.7 MB Notification: Performance of SimCode: time 2.5e-07/0.8233, allocations: 0 / 0.5588 GB, free: 2.965 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test4_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test4.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.pipe 2>&1)