Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test7.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.Test7,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test7,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test7",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.00103/0.00103, allocations: 187.3 kB / 7.807 MB, free: 2.492 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.321/1.321, allocations: 205.2 MB / 213.4 MB, free: 13.87 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.0009903/0.0009903, allocations: 91.66 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.1858/0.1858, allocations: 43.49 MB / 352.8 MB, free: 1.977 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2082/0.394, allocations: 64.97 MB / 417.8 MB, free: 40.49 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3558/0.7498, allocations: 58.84 MB / 476.7 MB, free: 5.176 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1385/0.8884, allocations: 85.63 MB / 0.5491 GB, free: 13.3 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002403/0.8887, allocations: 79.45 kB / 0.5492 GB, free: 13.22 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.01035/0.899, allocations: 3.594 MB / 0.5527 GB, free: 9.59 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.643e-05/0.8991, allocations: 12 kB / 0.5527 GB, free: 9.578 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.604e-05/0.8992, allocations: 11.81 kB / 0.5527 GB, free: 9.566 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003777/0.8996, allocations: 187 kB / 0.5529 GB, free: 9.344 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.332e-05/0.8996, allocations: 4 kB / 0.5529 GB, free: 9.34 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.523e-05/0.8997, allocations: 0 / 0.5529 GB, free: 9.34 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.96e-05/0.8998, allocations: 8 kB / 0.5529 GB, free: 9.332 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001055/0.8999, allocations: 41.69 kB / 0.5529 GB, free: 9.285 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.673e-05/0.8999, allocations: 4 kB / 0.5529 GB, free: 9.281 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/0.8999, allocations: 0 / 0.5529 GB, free: 9.281 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.396e-05/0.8999, allocations: 7.984 kB / 0.5529 GB, free: 9.273 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004465/0.9004, allocations: 261.4 kB / 0.5532 GB, free: 8.98 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001885/0.9006, allocations: 33.7 kB / 0.5532 GB, free: 8.941 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.303e-05/0.9006, allocations: 16.86 kB / 0.5532 GB, free: 8.922 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.886e-05/0.9007, allocations: 3.906 kB / 0.5533 GB, free: 8.918 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.37e-05/0.9007, allocations: 30.56 kB / 0.5533 GB, free: 8.879 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.533e-06/0.9007, allocations: 0 / 0.5533 GB, free: 8.879 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005178/0.9012, allocations: 113.3 kB / 0.5534 GB, free: 8.762 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.933e-05/0.9013, allocations: 55.41 kB / 0.5534 GB, free: 8.695 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001646/0.9015, allocations: 137.2 kB / 0.5536 GB, free: 8.551 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.928e-05/0.9015, allocations: 25.7 kB / 0.5536 GB, free: 8.52 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.722e-05/0.9015, allocations: 84.14 kB / 0.5537 GB, free: 8.434 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.574e-05/0.9016, allocations: 23.73 kB / 0.5537 GB, free: 8.41 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.398e-06/0.9016, allocations: 0 / 0.5537 GB, free: 8.41 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001452/0.9018, allocations: 318.8 kB / 0.554 GB, free: 8.09 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.303e-05/0.9018, allocations: 15.98 kB / 0.554 GB, free: 8.074 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.34e-05/0.9018, allocations: 16 kB / 0.554 GB, free: 8.059 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.427e-05/0.9019, allocations: 20.12 kB / 0.5541 GB, free: 8.039 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.11e-07/0.9019, allocations: 0 / 0.5541 GB, free: 8.039 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001214/0.902, allocations: 65.53 kB / 0.5541 GB, free: 7.969 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.902, allocations: 4 kB / 0.5541 GB, free: 7.965 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.902, allocations: 4 kB / 0.5541 GB, free: 7.961 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.845e-05/0.9021, allocations: 3.984 kB / 0.5541 GB, free: 7.957 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.312e-05/0.9022, allocations: 12 kB / 0.5541 GB, free: 7.945 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.183e-06/0.9022, allocations: 0 / 0.5541 GB, free: 7.945 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.045e-05/0.9022, allocations: 15.92 kB / 0.5542 GB, free: 7.93 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.114e-05/0.9023, allocations: 4 kB / 0.5542 GB, free: 7.926 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 0.0001196/0.9024, allocations: 102.4 kB / 0.5543 GB, free: 7.82 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.648e-05/0.9024, allocations: 11.81 kB / 0.5543 GB, free: 7.809 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002019/0.9026, allocations: 81.78 kB / 0.5543 GB, free: 7.719 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.9027, allocations: 0 / 0.5543 GB, free: 7.719 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.832e-06/0.9027, allocations: 0 / 0.5543 GB, free: 7.719 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/0.9027, allocations: 4 kB / 0.5543 GB, free: 7.715 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003807/0.9031, allocations: 315 kB / 0.5546 GB, free: 7.363 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.9031, allocations: 0 / 0.5546 GB, free: 7.363 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.43e-05/0.9032, allocations: 19.98 kB / 0.5547 GB, free: 7.344 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.9032, allocations: 0 / 0.5547 GB, free: 7.344 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.413e-05/0.9032, allocations: 4 kB / 0.5547 GB, free: 7.34 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.9032, allocations: 0 / 0.5547 GB, free: 7.34 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.9032, allocations: 4 kB / 0.5547 GB, free: 7.336 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002076/0.9034, allocations: 167.7 kB / 0.5548 GB, free: 7.156 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003429/0.9038, allocations: 0.5349 MB / 0.5554 GB, free: 6.602 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.368e-05/0.9039, allocations: 85.02 kB / 0.5554 GB, free: 6.5 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.521e-05/0.9039, allocations: 3.984 kB / 0.5554 GB, free: 6.496 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.953e-05/0.904, allocations: 12 kB / 0.5555 GB, free: 6.484 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.398e-05/0.904, allocations: 0 / 0.5555 GB, free: 6.484 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.803e-06/0.904, allocations: 3.984 kB / 0.5555 GB, free: 6.48 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001105/0.9042, allocations: 122.6 kB / 0.5556 GB, free: 6.363 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008936/0.9051, allocations: 20 kB / 0.5556 GB, free: 6.344 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.0007265/0.9058, allocations: 305.7 kB / 0.5559 GB, free: 6.074 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001116/0.9059, allocations: 32 kB / 0.5559 GB, free: 6.043 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.9059, allocations: 0 / 0.5559 GB, free: 6.043 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.174e-05/0.906, allocations: 20.23 kB / 0.5559 GB, free: 6.023 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002299/0.9062, allocations: 11.8 kB / 0.5559 GB, free: 6.012 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003775/0.9066, allocations: 119.8 kB / 0.5561 GB, free: 5.871 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004021/0.907, allocations: 0.7224 MB / 0.5568 GB, free: 5.125 MB / 394.7 MB Notification: Performance of SimCode: time 2.61e-07/0.907, allocations: 0 / 0.5568 GB, free: 5.125 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test7.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test7.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test7_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test7_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test7.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test7.pipe 2>&1)