Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test12,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test12,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test12",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 4.0.0+maint.om/package.mo): time 0.001139/0.001139, allocations: 191.4 kB / 8.529 MB, free: 1.832 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.328/1.328, allocations: 221.4 MB / 230.3 MB, free: 7.703 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001231/0.001231, allocations: 80.77 kB / 281.2 MB, free: 5.473 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1948/0.1948, allocations: 44.15 MB / 376.1 MB, free: 3.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.257/0.4519, allocations: 68.02 MB / 444.1 MB, free: 15.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1261/0.578, allocations: 61.91 MB / 0.4942 GB, free: 1.539 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2953/0.8734, allocations: 87.24 MB / 0.5794 GB, free: 9.484 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002174/0.8736, allocations: 82.94 kB / 0.5795 GB, free: 9.406 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.00954/0.8832, allocations: 3.778 MB / 0.5831 GB, free: 5.605 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/0.8832, allocations: 11.94 kB / 0.5832 GB, free: 5.594 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.435e-05/0.8833, allocations: 7.906 kB / 0.5832 GB, free: 5.586 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001994/0.8835, allocations: 194.9 kB / 0.5833 GB, free: 5.355 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.465e-06/0.8835, allocations: 0 / 0.5833 GB, free: 5.355 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.791e-05/0.8835, allocations: 4 kB / 0.5834 GB, free: 5.352 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.074e-05/0.8836, allocations: 15.94 kB / 0.5834 GB, free: 5.336 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.632e-05/0.8837, allocations: 45.69 kB / 0.5834 GB, free: 5.285 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.8837, allocations: 3.938 kB / 0.5834 GB, free: 5.281 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.548e-06/0.8837, allocations: 3.906 kB / 0.5834 GB, free: 5.277 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.8837, allocations: 0 / 0.5834 GB, free: 5.277 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003247/0.884, allocations: 261.5 kB / 0.5837 GB, free: 4.984 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000144/0.8842, allocations: 41.61 kB / 0.5837 GB, free: 4.938 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.737e-05/0.8842, allocations: 12.86 kB / 0.5837 GB, free: 4.922 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.646e-05/0.8843, allocations: 0 / 0.5837 GB, free: 4.922 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.476e-05/0.8843, allocations: 30.56 kB / 0.5837 GB, free: 4.883 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 8.62e-07/0.8843, allocations: 0 / 0.5837 GB, free: 4.883 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003604/0.8847, allocations: 113.4 kB / 0.5839 GB, free: 4.766 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.332e-05/0.8847, allocations: 51.41 kB / 0.5839 GB, free: 4.703 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001274/0.8848, allocations: 151.3 kB / 0.5841 GB, free: 4.551 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.605e-05/0.8848, allocations: 25.7 kB / 0.5841 GB, free: 4.52 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.188e-05/0.8849, allocations: 100 kB / 0.5842 GB, free: 4.418 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.006e-05/0.8849, allocations: 15.72 kB / 0.5842 GB, free: 4.402 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.947e-06/0.8849, allocations: 0 / 0.5842 GB, free: 4.402 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.697e-05/0.885, allocations: 322.8 kB / 0.5845 GB, free: 4.078 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.676e-05/0.885, allocations: 16 kB / 0.5845 GB, free: 4.062 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.802e-05/0.8851, allocations: 8 kB / 0.5845 GB, free: 4.055 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.897e-05/0.8851, allocations: 15.98 kB / 0.5845 GB, free: 4.039 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.01e-07/0.8851, allocations: 0 / 0.5845 GB, free: 4.039 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.652e-05/0.8852, allocations: 69.53 kB / 0.5846 GB, free: 3.965 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.218e-05/0.8852, allocations: 4 kB / 0.5846 GB, free: 3.961 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.8852, allocations: 0 / 0.5846 GB, free: 3.961 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.297e-06/0.8853, allocations: 0 / 0.5846 GB, free: 3.961 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.017e-05/0.8853, allocations: 19.98 kB / 0.5846 GB, free: 3.941 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.8853, allocations: 4 kB / 0.5846 GB, free: 3.938 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.176e-05/0.8854, allocations: 4 kB / 0.5846 GB, free: 3.934 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.3e-06/0.8854, allocations: 0 / 0.5846 GB, free: 3.934 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 5.989e-05/0.8855, allocations: 108.9 kB / 0.5847 GB, free: 3.82 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.145e-05/0.8855, allocations: 3.906 kB / 0.5847 GB, free: 3.816 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000144/0.8857, allocations: 85.8 kB / 0.5848 GB, free: 3.727 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.576e-06/0.8857, allocations: 4.125 kB / 0.5848 GB, free: 3.723 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.8857, allocations: 0 / 0.5848 GB, free: 3.723 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.8857, allocations: 3.984 kB / 0.5848 GB, free: 3.719 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000282/0.886, allocations: 323 kB / 0.5851 GB, free: 3.359 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.886, allocations: 0 / 0.5851 GB, free: 3.359 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.585e-05/0.8861, allocations: 16.36 kB / 0.5851 GB, free: 3.344 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.8861, allocations: 0 / 0.5851 GB, free: 3.344 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.734e-06/0.8861, allocations: 8 kB / 0.5852 GB, free: 3.336 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.8861, allocations: 3.938 kB / 0.5852 GB, free: 3.332 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.8861, allocations: 3.938 kB / 0.5852 GB, free: 3.328 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000121/0.8862, allocations: 163.4 kB / 0.5853 GB, free: 3.152 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002085/0.8865, allocations: 0.5388 MB / 0.5858 GB, free: 2.594 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.05e-05/0.8865, allocations: 85.02 kB / 0.5859 GB, free: 2.492 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.834e-05/0.8865, allocations: 0 / 0.5859 GB, free: 2.492 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.946e-05/0.8866, allocations: 7.984 kB / 0.5859 GB, free: 2.484 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.312e-05/0.8867, allocations: 8 kB / 0.5859 GB, free: 2.477 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.038e-06/0.8867, allocations: 3.938 kB / 0.5859 GB, free: 2.473 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001021/0.8868, allocations: 125.8 kB / 0.5861 GB, free: 2.352 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007825/0.8876, allocations: 23.94 kB / 0.5861 GB, free: 2.328 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.0006161/0.8882, allocations: 296 kB / 0.5864 GB, free: 2.105 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 9.63e-05/0.8883, allocations: 31.94 kB / 0.5864 GB, free: 2.074 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.8883, allocations: 0 / 0.5864 GB, free: 2.074 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.347e-05/0.8883, allocations: 23.92 kB / 0.5864 GB, free: 2.051 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002114/0.8886, allocations: 20.52 kB / 0.5864 GB, free: 2.031 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003348/0.8889, allocations: 135.6 kB / 0.5866 GB, free: 1.871 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000294/0.8892, allocations: 0.7114 MB / 0.5873 GB, free: 1.133 MB / 394.7 MB Notification: Performance of SimCode: time 2.71e-07/0.8892, allocations: 0 / 0.5873 GB, free: 1.133 MB / 394.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test12_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test12.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe 2>&1)