Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31.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.Test31,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test31,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test31",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.001384/0.001384, allocations: 180.6 kB / 7.799 MB, free: 2.148 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.342/1.342, allocations: 205.2 MB / 213.4 MB, free: 13.84 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.0008649/0.0008651, allocations: 90.95 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.195/0.195, allocations: 43.5 MB / 352.9 MB, free: 1.949 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2048/0.3998, allocations: 64.96 MB / 417.8 MB, free: 40.46 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2578/0.6576, allocations: 58.84 MB / 476.7 MB, free: 5.164 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1137/0.7713, allocations: 85.56 MB / 0.549 GB, free: 13.34 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002231/0.7716, allocations: 75.95 kB / 0.5491 GB, free: 13.27 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.01059/0.7822, allocations: 4.158 MB / 0.5532 GB, free: 9.07 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.7823, allocations: 8 kB / 0.5532 GB, free: 9.062 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.904e-05/0.7823, allocations: 15.81 kB / 0.5532 GB, free: 9.047 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002858/0.7826, allocations: 214.6 kB / 0.5534 GB, free: 8.797 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.838e-06/0.7826, allocations: 0 / 0.5534 GB, free: 8.797 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.884e-05/0.7827, allocations: 4 kB / 0.5534 GB, free: 8.793 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.675e-05/0.7827, allocations: 15.98 kB / 0.5534 GB, free: 8.777 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.906e-05/0.7828, allocations: 33.64 kB / 0.5535 GB, free: 8.738 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.7828, allocations: 4 kB / 0.5535 GB, free: 8.734 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.7829, allocations: 7.906 kB / 0.5535 GB, free: 8.727 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.107e-06/0.7829, allocations: 0 / 0.5535 GB, free: 8.727 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003535/0.7832, allocations: 281.3 kB / 0.5537 GB, free: 8.414 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001556/0.7834, allocations: 33.64 kB / 0.5538 GB, free: 8.375 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.947e-05/0.7834, allocations: 12.86 kB / 0.5538 GB, free: 8.359 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.097e-05/0.7835, allocations: 0 / 0.5538 GB, free: 8.359 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.295e-05/0.7835, allocations: 34.56 kB / 0.5538 GB, free: 8.316 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.263e-06/0.7835, allocations: 0 / 0.5538 GB, free: 8.316 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004132/0.7839, allocations: 105.3 kB / 0.5539 GB, free: 8.207 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.831e-05/0.784, allocations: 59.34 kB / 0.554 GB, free: 8.137 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002365/0.7842, allocations: 225.6 kB / 0.5542 GB, free: 7.906 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.73e-05/0.7842, allocations: 29.7 kB / 0.5542 GB, free: 7.871 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.844e-05/0.7843, allocations: 100.1 kB / 0.5543 GB, free: 7.77 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.435e-05/0.7843, allocations: 15.66 kB / 0.5543 GB, free: 7.754 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.276e-06/0.7843, allocations: 3.938 kB / 0.5543 GB, free: 7.75 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001242/0.7844, allocations: 330.8 kB / 0.5546 GB, free: 7.418 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.052e-05/0.7845, allocations: 4 kB / 0.5546 GB, free: 7.414 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.693e-05/0.7845, allocations: 8 kB / 0.5547 GB, free: 7.402 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.793e-05/0.7845, allocations: 8 kB / 0.5547 GB, free: 7.395 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.52e-07/0.7845, allocations: 0 / 0.5547 GB, free: 7.395 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001016/0.7846, allocations: 73.5 kB / 0.5547 GB, free: 7.316 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.075e-05/0.7847, allocations: 4 kB / 0.5547 GB, free: 7.312 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.7847, allocations: 0 / 0.5547 GB, free: 7.312 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/0.7847, allocations: 0 / 0.5547 GB, free: 7.312 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.594e-05/0.7848, allocations: 15.98 kB / 0.5547 GB, free: 7.297 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.7848, allocations: 3.938 kB / 0.5548 GB, free: 7.293 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.039e-05/0.7848, allocations: 8 kB / 0.5548 GB, free: 7.285 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.941e-06/0.7849, allocations: 4 kB / 0.5548 GB, free: 7.281 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 6.156e-05/0.7849, allocations: 106.5 kB / 0.5549 GB, free: 7.172 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.454e-05/0.785, allocations: 15.81 kB / 0.5549 GB, free: 7.156 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001443/0.7851, allocations: 79.16 kB / 0.555 GB, free: 7.074 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.7851, allocations: 3.984 kB / 0.555 GB, free: 7.07 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.593e-06/0.7851, allocations: 7.891 kB / 0.555 GB, free: 7.062 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.7851, allocations: 0 / 0.555 GB, free: 7.062 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003357/0.7855, allocations: 343.1 kB / 0.5553 GB, free: 6.684 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.7855, allocations: 0 / 0.5553 GB, free: 6.684 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.28e-05/0.7856, allocations: 12 kB / 0.5553 GB, free: 6.672 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.7856, allocations: 0 / 0.5553 GB, free: 6.672 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-06/0.7856, allocations: 3.906 kB / 0.5553 GB, free: 6.668 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.437e-06/0.7856, allocations: 3.984 kB / 0.5553 GB, free: 6.664 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.7856, allocations: 3.938 kB / 0.5553 GB, free: 6.66 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001283/0.7857, allocations: 167.4 kB / 0.5555 GB, free: 6.48 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002242/0.786, allocations: 0.5349 MB / 0.556 GB, free: 5.926 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.264e-05/0.786, allocations: 100.9 kB / 0.5561 GB, free: 5.809 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.322e-05/0.7861, allocations: 0 / 0.5561 GB, free: 5.809 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.097e-05/0.7862, allocations: 11.98 kB / 0.5561 GB, free: 5.797 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.536e-05/0.7862, allocations: 4 kB / 0.5561 GB, free: 5.793 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.038e-06/0.7862, allocations: 0 / 0.5561 GB, free: 5.793 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001538/0.7864, allocations: 192.3 kB / 0.5563 GB, free: 5.605 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007935/0.7872, allocations: 27.94 kB / 0.5563 GB, free: 5.578 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.0006043/0.7878, allocations: 289.1 kB / 0.5566 GB, free: 5.328 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 9.2e-05/0.7879, allocations: 31.94 kB / 0.5566 GB, free: 5.297 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.7879, allocations: 3.938 kB / 0.5566 GB, free: 5.293 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.707e-05/0.7879, allocations: 12 kB / 0.5566 GB, free: 5.281 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000223/0.7882, allocations: 31.36 kB / 0.5567 GB, free: 5.25 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000395/0.7886, allocations: 196 kB / 0.5569 GB, free: 5.027 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002939/0.7889, allocations: 0.7421 MB / 0.5576 GB, free: 4.262 MB / 394.7 MB Notification: Performance of SimCode: time 2.41e-07/0.7889, allocations: 3.938 kB / 0.5576 GB, free: 4.258 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test31_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test31.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe 2>&1)