Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.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.Test11,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test11,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test11",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.001174/0.001174, allocations: 179 kB / 8.519 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.299/1.299, allocations: 221.4 MB / 230.3 MB, free: 7.676 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.0008952/0.0008955, allocations: 87.98 kB / 281.2 MB, free: 5.488 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.1915/0.1915, allocations: 44.15 MB / 376.1 MB, free: 3.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2584/0.4499, allocations: 68.03 MB / 444.1 MB, free: 15.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1355/0.5854, allocations: 61.91 MB / 0.4942 GB, free: 1.555 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3111/0.8966, allocations: 87.25 MB / 0.5794 GB, free: 9.473 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002706/0.8969, allocations: 70.53 kB / 0.5794 GB, free: 9.438 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.009894/0.9068, allocations: 3.786 MB / 0.5831 GB, free: 5.629 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.9069, allocations: 15.94 kB / 0.5832 GB, free: 5.613 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.755e-05/0.9069, allocations: 7.906 kB / 0.5832 GB, free: 5.605 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002472/0.9072, allocations: 194.8 kB / 0.5834 GB, free: 5.375 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.877e-06/0.9072, allocations: 0 / 0.5834 GB, free: 5.375 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.803e-05/0.9072, allocations: 0 / 0.5834 GB, free: 5.375 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.343e-05/0.9073, allocations: 19.98 kB / 0.5834 GB, free: 5.355 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.07e-05/0.9074, allocations: 37.7 kB / 0.5834 GB, free: 5.312 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.9074, allocations: 4 kB / 0.5834 GB, free: 5.309 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/0.9074, allocations: 7.891 kB / 0.5834 GB, free: 5.301 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.9074, allocations: 0 / 0.5834 GB, free: 5.301 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003398/0.9078, allocations: 265.5 kB / 0.5837 GB, free: 5.004 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001541/0.9079, allocations: 45.53 kB / 0.5837 GB, free: 4.953 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.538e-05/0.908, allocations: 8.859 kB / 0.5837 GB, free: 4.941 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.033e-05/0.908, allocations: 4 kB / 0.5837 GB, free: 4.938 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.831e-05/0.908, allocations: 34.56 kB / 0.5838 GB, free: 4.895 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.908, allocations: 0 / 0.5838 GB, free: 4.895 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.000362/0.9084, allocations: 109.4 kB / 0.5839 GB, free: 4.781 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.802e-05/0.9084, allocations: 55.41 kB / 0.5839 GB, free: 4.715 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001231/0.9086, allocations: 151.3 kB / 0.5841 GB, free: 4.562 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.527e-05/0.9086, allocations: 25.7 kB / 0.5841 GB, free: 4.531 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.058e-05/0.9086, allocations: 96.02 kB / 0.5842 GB, free: 4.434 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.02e-05/0.9087, allocations: 15.7 kB / 0.5842 GB, free: 4.418 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.466e-06/0.9087, allocations: 0 / 0.5842 GB, free: 4.418 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.381e-05/0.9088, allocations: 318.8 kB / 0.5845 GB, free: 4.098 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.581e-05/0.9088, allocations: 15.98 kB / 0.5845 GB, free: 4.082 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.029e-05/0.9088, allocations: 12 kB / 0.5845 GB, free: 4.07 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.709e-05/0.9089, allocations: 12 kB / 0.5845 GB, free: 4.059 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.91e-07/0.9089, allocations: 0 / 0.5845 GB, free: 4.059 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.873e-05/0.909, allocations: 65.59 kB / 0.5846 GB, free: 3.988 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.096e-05/0.909, allocations: 4 kB / 0.5846 GB, free: 3.984 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.909, allocations: 0 / 0.5846 GB, free: 3.984 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.085e-05/0.909, allocations: 3.984 kB / 0.5846 GB, free: 3.98 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.009e-05/0.9091, allocations: 15.94 kB / 0.5846 GB, free: 3.965 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.907e-06/0.9091, allocations: 0 / 0.5846 GB, free: 3.965 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.517e-05/0.9091, allocations: 15.98 kB / 0.5846 GB, free: 3.949 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.922e-06/0.9092, allocations: 0 / 0.5846 GB, free: 3.949 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.603e-05/0.9092, allocations: 108.9 kB / 0.5847 GB, free: 3.836 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.205e-05/0.9093, allocations: 7.906 kB / 0.5847 GB, free: 3.828 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001493/0.9094, allocations: 85.78 kB / 0.5848 GB, free: 3.738 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.9094, allocations: 0 / 0.5848 GB, free: 3.738 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.868e-06/0.9094, allocations: 4 kB / 0.5848 GB, free: 3.734 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.155e-06/0.9094, allocations: 0 / 0.5848 GB, free: 3.734 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002914/0.9097, allocations: 323 kB / 0.5851 GB, free: 3.375 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.9097, allocations: 0 / 0.5851 GB, free: 3.375 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.958e-05/0.9098, allocations: 12.38 kB / 0.5852 GB, free: 3.363 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.9098, allocations: 0 / 0.5852 GB, free: 3.363 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.043e-06/0.9098, allocations: 0 / 0.5852 GB, free: 3.363 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.828e-06/0.9098, allocations: 7.984 kB / 0.5852 GB, free: 3.355 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.9099, allocations: 4 kB / 0.5852 GB, free: 3.352 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001388/0.91, allocations: 167.3 kB / 0.5853 GB, free: 3.172 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002476/0.9103, allocations: 0.531 MB / 0.5858 GB, free: 2.621 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.127e-05/0.9103, allocations: 93 kB / 0.5859 GB, free: 2.512 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.982e-05/0.9103, allocations: 4 kB / 0.5859 GB, free: 2.508 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.996e-05/0.9104, allocations: 4 kB / 0.5859 GB, free: 2.504 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.951e-05/0.9105, allocations: 7.984 kB / 0.5859 GB, free: 2.496 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.208e-06/0.9105, allocations: 3.938 kB / 0.5859 GB, free: 2.492 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.705e-05/0.9106, allocations: 125.8 kB / 0.5861 GB, free: 2.371 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008511/0.9114, allocations: 23.92 kB / 0.5861 GB, free: 2.348 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.0006537/0.9121, allocations: 296 kB / 0.5864 GB, free: 2.129 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001157/0.9122, allocations: 39.92 kB / 0.5864 GB, free: 2.09 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.9122, allocations: 0 / 0.5864 GB, free: 2.09 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.49e-05/0.9123, allocations: 16 kB / 0.5864 GB, free: 2.074 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002209/0.9125, allocations: 27.59 kB / 0.5865 GB, free: 2.051 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003232/0.9128, allocations: 127.5 kB / 0.5866 GB, free: 1.898 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002994/0.9131, allocations: 0.7153 MB / 0.5873 GB, free: 1.156 MB / 394.7 MB Notification: Performance of SimCode: time 2.7e-07/0.9132, allocations: 0 / 0.5873 GB, free: 1.156 MB / 394.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test11_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test11.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe 2>&1)