Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6.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.Test6,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test6,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test6",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.002785/0.002786, allocations: 191.9 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.56/1.56, 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.0007648/0.0007652, allocations: 89.94 kB / 261.4 MB, free: 13.61 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.222/0.222, allocations: 43.49 MB / 352.9 MB, free: 2.012 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2113/0.4334, allocations: 64.96 MB / 417.8 MB, free: 40.47 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3201/0.7534, allocations: 58.84 MB / 476.7 MB, free: 5.18 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1308/0.8843, allocations: 85.6 MB / 0.5491 GB, free: 13.3 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003582/0.8848, allocations: 79.89 kB / 0.5492 GB, free: 13.23 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.01169/0.8965, allocations: 4.242 MB / 0.5533 GB, free: 8.941 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.184e-05/0.8965, allocations: 8 kB / 0.5533 GB, free: 8.934 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.634e-05/0.8966, allocations: 15.81 kB / 0.5533 GB, free: 8.918 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003714/0.897, allocations: 214.8 kB / 0.5535 GB, free: 8.668 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.165e-05/0.897, allocations: 0 / 0.5535 GB, free: 8.668 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.439e-05/0.8971, allocations: 7.906 kB / 0.5535 GB, free: 8.66 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.521e-05/0.8972, allocations: 23.98 kB / 0.5536 GB, free: 8.637 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001006/0.8973, allocations: 45.69 kB / 0.5536 GB, free: 8.586 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/0.8973, allocations: 0 / 0.5536 GB, free: 8.586 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/0.8973, allocations: 0 / 0.5536 GB, free: 8.586 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.8973, allocations: 0 / 0.5536 GB, free: 8.586 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004475/0.8978, allocations: 285.3 kB / 0.5539 GB, free: 8.27 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.327e-05/0.8979, allocations: 37.72 kB / 0.5539 GB, free: 8.227 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.426e-05/0.8979, allocations: 20.98 kB / 0.5539 GB, free: 8.203 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.403e-05/0.898, allocations: 7.922 kB / 0.5539 GB, free: 8.195 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.58e-05/0.898, allocations: 30.56 kB / 0.554 GB, free: 8.156 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 1.583e-06/0.898, allocations: 0 / 0.554 GB, free: 8.156 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005914/0.8986, allocations: 145.2 kB / 0.5541 GB, free: 8.008 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.476e-05/0.8986, allocations: 55.41 kB / 0.5542 GB, free: 7.941 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002307/0.8989, allocations: 193.4 kB / 0.5543 GB, free: 7.742 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.661e-05/0.8989, allocations: 25.7 kB / 0.5544 GB, free: 7.711 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.013e-05/0.899, allocations: 100 kB / 0.5545 GB, free: 7.609 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.415e-05/0.899, allocations: 23.64 kB / 0.5545 GB, free: 7.586 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.659e-06/0.899, allocations: 0 / 0.5545 GB, free: 7.586 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000114/0.8991, allocations: 326.9 kB / 0.5548 GB, free: 7.258 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.018e-05/0.8992, allocations: 16 kB / 0.5548 GB, free: 7.242 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.636e-05/0.8992, allocations: 20 kB / 0.5548 GB, free: 7.223 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.51e-05/0.8993, allocations: 16.22 kB / 0.5548 GB, free: 7.207 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.51e-07/0.8993, allocations: 0 / 0.5548 GB, free: 7.207 MB / 394.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001264/0.8994, allocations: 73.59 kB / 0.5549 GB, free: 7.129 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.8994, allocations: 10.81 kB / 0.5549 GB, free: 7.121 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.8994, allocations: 3.938 kB / 0.5549 GB, free: 7.117 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.8994, allocations: 3.906 kB / 0.5549 GB, free: 7.113 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001184/0.8996, allocations: 23.98 kB / 0.555 GB, free: 7.09 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.8996, allocations: 0 / 0.555 GB, free: 7.09 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.432e-05/0.8996, allocations: 7.984 kB / 0.555 GB, free: 7.082 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.307e-06/0.8997, allocations: 4 kB / 0.555 GB, free: 7.078 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 (8): * Single equations (assignments): 8 * 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 9.014e-05/0.8998, allocations: 106.3 kB / 0.5551 GB, free: 6.969 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.303e-05/0.8998, allocations: 15.81 kB / 0.5551 GB, free: 6.953 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001927/0.9, allocations: 107.1 kB / 0.5552 GB, free: 6.844 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.9, allocations: 0 / 0.5552 GB, free: 6.844 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/0.9, allocations: 0 / 0.5552 GB, free: 6.844 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.053e-06/0.9, allocations: 3.984 kB / 0.5552 GB, free: 6.84 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004148/0.9005, allocations: 367 kB / 0.5555 GB, free: 6.438 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.9005, allocations: 0 / 0.5555 GB, free: 6.438 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.527e-05/0.9006, allocations: 16 kB / 0.5556 GB, free: 6.422 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.169e-06/0.9006, allocations: 11.92 kB / 0.5556 GB, free: 6.41 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.105e-06/0.9006, allocations: 0 / 0.5556 GB, free: 6.41 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.39e-06/0.9006, allocations: 3.906 kB / 0.5556 GB, free: 6.406 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.9006, allocations: 3.938 kB / 0.5556 GB, free: 6.402 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001871/0.9008, allocations: 175.4 kB / 0.5557 GB, free: 6.215 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003018/0.9011, allocations: 0.5427 MB / 0.5563 GB, free: 5.652 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.959e-05/0.9012, allocations: 97 kB / 0.5564 GB, free: 5.539 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.534e-05/0.9012, allocations: 0 / 0.5564 GB, free: 5.539 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.018e-05/0.9013, allocations: 15.89 kB / 0.5564 GB, free: 5.523 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.525e-05/0.9014, allocations: 0 / 0.5564 GB, free: 5.523 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.115e-06/0.9014, allocations: 8.125 kB / 0.5564 GB, free: 5.516 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001371/0.9015, allocations: 164.2 kB / 0.5565 GB, free: 5.355 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008899/0.9024, allocations: 32 kB / 0.5566 GB, free: 5.324 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 (8): * Single equations (assignments): 8 * 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.0006559/0.9031, allocations: 300.5 kB / 0.5569 GB, free: 5.062 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001181/0.9032, allocations: 40 kB / 0.5569 GB, free: 5.023 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.9032, allocations: 0 / 0.5569 GB, free: 5.023 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.012e-05/0.9033, allocations: 23.94 kB / 0.5569 GB, free: 5 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002315/0.9035, allocations: 19.12 kB / 0.5569 GB, free: 4.984 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004645/0.904, allocations: 187.6 kB / 0.5571 GB, free: 4.777 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000308/0.9043, allocations: 0.7386 MB / 0.5578 GB, free: 4.012 MB / 394.7 MB Notification: Performance of SimCode: time 3e-07/0.9043, allocations: 0 / 0.5578 GB, free: 4.012 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test6_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test6.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe 2>&1)