Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test30.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.Test30,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test30,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test30",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.001585/0.001585, allocations: 190.3 kB / 7.803 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.447/1.447, allocations: 205.2 MB / 213.4 MB, free: 13.86 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.001051/0.001051, allocations: 81.83 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.1928/0.1928, allocations: 43.49 MB / 352.8 MB, free: 2.02 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1802/0.373, allocations: 64.96 MB / 417.8 MB, free: 40.48 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3236/0.6967, allocations: 58.84 MB / 476.7 MB, free: 5.18 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1312/0.828, allocations: 85.67 MB / 0.5491 GB, free: 13.24 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002831/0.8283, allocations: 67.97 kB / 0.5492 GB, free: 13.17 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.0119/0.8402, allocations: 3.954 MB / 0.5531 GB, free: 9.18 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.2e-05/0.8403, allocations: 12 kB / 0.5531 GB, free: 9.168 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.391e-05/0.8404, allocations: 11.84 kB / 0.5531 GB, free: 9.156 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000336/0.8407, allocations: 205.6 kB / 0.5533 GB, free: 8.918 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.041e-05/0.8408, allocations: 0 / 0.5533 GB, free: 8.918 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.886e-05/0.8408, allocations: 0 / 0.5533 GB, free: 8.918 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.473e-05/0.8409, allocations: 12 kB / 0.5533 GB, free: 8.906 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001081/0.841, allocations: 41.69 kB / 0.5533 GB, free: 8.859 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.803e-05/0.841, allocations: 4 kB / 0.5533 GB, free: 8.855 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/0.841, allocations: 0 / 0.5533 GB, free: 8.855 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.8411, allocations: 4 kB / 0.5534 GB, free: 8.852 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005183/0.8416, allocations: 277.3 kB / 0.5536 GB, free: 8.543 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001964/0.8418, allocations: 25.81 kB / 0.5536 GB, free: 8.512 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.052e-05/0.8419, allocations: 16.84 kB / 0.5537 GB, free: 8.492 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.905e-05/0.8419, allocations: 8 kB / 0.5537 GB, free: 8.484 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.369e-05/0.8419, allocations: 30.56 kB / 0.5537 GB, free: 8.445 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.273e-06/0.8419, allocations: 0 / 0.5537 GB, free: 8.445 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005103/0.8424, allocations: 117.2 kB / 0.5538 GB, free: 8.324 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.755e-05/0.8425, allocations: 51.41 kB / 0.5539 GB, free: 8.262 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002248/0.8427, allocations: 181.3 kB / 0.554 GB, free: 8.078 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.714e-05/0.8428, allocations: 25.7 kB / 0.5541 GB, free: 8.047 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.509e-05/0.8429, allocations: 92.12 kB / 0.5541 GB, free: 7.953 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.591e-05/0.8429, allocations: 19.73 kB / 0.5542 GB, free: 7.934 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.362e-06/0.8429, allocations: 0 / 0.5542 GB, free: 7.934 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001955/0.8431, allocations: 322.8 kB / 0.5545 GB, free: 7.609 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.165e-05/0.8432, allocations: 15.98 kB / 0.5545 GB, free: 7.594 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.482e-05/0.8432, allocations: 12 kB / 0.5545 GB, free: 7.582 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.587e-05/0.8432, allocations: 12 kB / 0.5545 GB, free: 7.57 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.51e-07/0.8433, allocations: 4 kB / 0.5545 GB, free: 7.566 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001252/0.8434, allocations: 65.5 kB / 0.5546 GB, free: 7.496 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.8434, allocations: 11.98 kB / 0.5546 GB, free: 7.484 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.8434, allocations: 0 / 0.5546 GB, free: 7.484 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.8434, allocations: 0 / 0.5546 GB, free: 7.484 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.582e-05/0.8435, allocations: 15.94 kB / 0.5546 GB, free: 7.469 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/0.8436, allocations: 0 / 0.5546 GB, free: 7.469 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.36e-05/0.8436, allocations: 11.98 kB / 0.5546 GB, free: 7.457 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.478e-06/0.8436, allocations: 4 kB / 0.5546 GB, free: 7.453 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 8.787e-05/0.8437, allocations: 102.5 kB / 0.5547 GB, free: 7.348 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.259e-05/0.8438, allocations: 11.81 kB / 0.5547 GB, free: 7.336 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001953/0.844, allocations: 86.16 kB / 0.5548 GB, free: 7.242 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.942e-05/0.844, allocations: 4 kB / 0.5548 GB, free: 7.238 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.213e-06/0.844, allocations: 0 / 0.5548 GB, free: 7.238 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.002e-06/0.844, allocations: 0 / 0.5548 GB, free: 7.238 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000443/0.8445, allocations: 339 kB / 0.5551 GB, free: 6.863 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.8445, allocations: 3.938 kB / 0.5551 GB, free: 6.859 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.619e-05/0.8446, allocations: 12 kB / 0.5551 GB, free: 6.848 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.232e-06/0.8446, allocations: 4 kB / 0.5551 GB, free: 6.844 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.208e-06/0.8446, allocations: 0 / 0.5551 GB, free: 6.844 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.8446, allocations: 0 / 0.5551 GB, free: 6.844 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.07e-06/0.8446, allocations: 3.984 kB / 0.5552 GB, free: 6.84 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001702/0.8448, allocations: 171.3 kB / 0.5553 GB, free: 6.656 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002971/0.8451, allocations: 0.5349 MB / 0.5558 GB, free: 6.102 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.261e-05/0.8452, allocations: 93 kB / 0.5559 GB, free: 5.992 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.367e-05/0.8452, allocations: 0 / 0.5559 GB, free: 5.992 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.252e-05/0.8453, allocations: 8 kB / 0.5559 GB, free: 5.984 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.706e-05/0.8454, allocations: 15.89 kB / 0.556 GB, free: 5.969 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.248e-06/0.8454, allocations: 0 / 0.556 GB, free: 5.969 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001248/0.8455, allocations: 148.1 kB / 0.5561 GB, free: 5.824 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008782/0.8464, allocations: 27.94 kB / 0.5561 GB, free: 5.797 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.0007761/0.8472, allocations: 300.8 kB / 0.5564 GB, free: 5.531 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001122/0.8473, allocations: 35.98 kB / 0.5564 GB, free: 5.496 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.8473, allocations: 0 / 0.5564 GB, free: 5.496 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.596e-05/0.8474, allocations: 20 kB / 0.5565 GB, free: 5.477 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002346/0.8476, allocations: 15.12 kB / 0.5565 GB, free: 5.465 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004196/0.848, allocations: 159.8 kB / 0.5566 GB, free: 5.277 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003653/0.8484, allocations: 0.7264 MB / 0.5573 GB, free: 4.527 MB / 394.7 MB Notification: Performance of SimCode: time 3.01e-07/0.8484, allocations: 4 kB / 0.5573 GB, free: 4.523 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test30.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test30.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test30.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test30_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test30_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test30.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test30.pipe 2>&1)