Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test8.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.Test8,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test8,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test8",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.00138/0.00138, allocations: 185.8 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.347/1.347, 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.0008545/0.0008546, allocations: 85.41 kB / 261.4 MB, free: 13.52 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.2017/0.2017, allocations: 43.49 MB / 352.8 MB, free: 1.93 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2098/0.4115, allocations: 64.96 MB / 417.8 MB, free: 40.45 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3705/0.7821, allocations: 58.84 MB / 476.6 MB, free: 5.168 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.132/0.9141, allocations: 85.64 MB / 0.5491 GB, free: 13.26 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002494/0.9144, allocations: 71.97 kB / 0.5492 GB, free: 13.19 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.009765/0.9242, allocations: 3.586 MB / 0.5527 GB, free: 9.562 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.9243, allocations: 8 kB / 0.5527 GB, free: 9.555 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.418e-05/0.9243, allocations: 11.81 kB / 0.5527 GB, free: 9.543 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002773/0.9246, allocations: 190.9 kB / 0.5529 GB, free: 9.312 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.131e-05/0.9246, allocations: 0 / 0.5529 GB, free: 9.312 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.83e-05/0.9246, allocations: 4 kB / 0.5529 GB, free: 9.309 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.782e-05/0.9247, allocations: 12 kB / 0.5529 GB, free: 9.297 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.75e-05/0.9248, allocations: 45.69 kB / 0.5529 GB, free: 9.246 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.9248, allocations: 0 / 0.5529 GB, free: 9.246 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.908e-06/0.9249, allocations: 0 / 0.5529 GB, free: 9.246 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.9249, allocations: 0 / 0.5529 GB, free: 9.246 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003995/0.9253, allocations: 265.4 kB / 0.5532 GB, free: 8.949 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001763/0.9255, allocations: 33.7 kB / 0.5532 GB, free: 8.91 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.319e-05/0.9255, allocations: 16.86 kB / 0.5532 GB, free: 8.891 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.555e-05/0.9255, allocations: 3.906 kB / 0.5532 GB, free: 8.887 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.02e-05/0.9256, allocations: 30.56 kB / 0.5533 GB, free: 8.848 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.563e-06/0.9256, allocations: 0 / 0.5533 GB, free: 8.848 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004506/0.926, allocations: 117.3 kB / 0.5534 GB, free: 8.727 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.412e-05/0.9261, allocations: 51.41 kB / 0.5534 GB, free: 8.664 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001436/0.9262, allocations: 133.2 kB / 0.5536 GB, free: 8.523 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.496e-05/0.9263, allocations: 25.7 kB / 0.5536 GB, free: 8.492 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.077e-05/0.9263, allocations: 88.14 kB / 0.5537 GB, free: 8.402 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.427e-05/0.9263, allocations: 15.75 kB / 0.5537 GB, free: 8.387 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.057e-06/0.9263, allocations: 0 / 0.5537 GB, free: 8.387 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001213/0.9265, allocations: 326.7 kB / 0.554 GB, free: 8.059 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.74e-05/0.9265, allocations: 15.94 kB / 0.554 GB, free: 8.043 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.338e-05/0.9265, allocations: 15.98 kB / 0.554 GB, free: 8.027 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.974e-05/0.9266, allocations: 12.19 kB / 0.554 GB, free: 8.016 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.61e-07/0.9266, allocations: 0 / 0.554 GB, free: 8.016 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001099/0.9267, allocations: 73.53 kB / 0.5541 GB, free: 7.938 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.9267, allocations: 4 kB / 0.5541 GB, free: 7.934 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.9267, allocations: 0 / 0.5541 GB, free: 7.934 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.9267, allocations: 0 / 0.5541 GB, free: 7.934 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.66e-05/0.9268, allocations: 15.98 kB / 0.5541 GB, free: 7.918 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.9268, allocations: 8 kB / 0.5541 GB, free: 7.91 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.581e-05/0.9269, allocations: 7.938 kB / 0.5541 GB, free: 7.902 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.428e-06/0.9269, allocations: 3.984 kB / 0.5541 GB, free: 7.898 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 0.0001013/0.927, allocations: 106.4 kB / 0.5542 GB, free: 7.789 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.645e-05/0.9271, allocations: 7.812 kB / 0.5543 GB, free: 7.781 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001854/0.9273, allocations: 81.84 kB / 0.5543 GB, free: 7.691 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.9273, allocations: 0 / 0.5543 GB, free: 7.691 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.9273, allocations: 7.938 kB / 0.5543 GB, free: 7.684 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.9273, allocations: 0 / 0.5543 GB, free: 7.684 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003257/0.9276, allocations: 311.2 kB / 0.5546 GB, free: 7.336 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.9276, allocations: 0 / 0.5546 GB, free: 7.336 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.987e-05/0.9277, allocations: 15.98 kB / 0.5547 GB, free: 7.32 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/0.9277, allocations: 3.984 kB / 0.5547 GB, free: 7.316 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.494e-06/0.9277, allocations: 0 / 0.5547 GB, free: 7.316 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.9277, allocations: 4 kB / 0.5547 GB, free: 7.312 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.9278, allocations: 4 kB / 0.5547 GB, free: 7.309 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001482/0.9279, allocations: 159.7 kB / 0.5548 GB, free: 7.137 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002612/0.9282, allocations: 0.5467 MB / 0.5554 GB, free: 6.57 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.179e-05/0.9282, allocations: 85.02 kB / 0.5554 GB, free: 6.469 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.214e-05/0.9283, allocations: 4 kB / 0.5554 GB, free: 6.465 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.12e-05/0.9284, allocations: 7.984 kB / 0.5554 GB, free: 6.457 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.024e-05/0.9284, allocations: 4 kB / 0.5554 GB, free: 6.453 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.628e-06/0.9284, allocations: 0 / 0.5554 GB, free: 6.453 MB / 394.7 MB Notification: Performance of sort global known variables: time 9.259e-05/0.9285, allocations: 122.6 kB / 0.5556 GB, free: 6.336 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007987/0.9293, allocations: 23.98 kB / 0.5556 GB, free: 6.312 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.0006615/0.93, allocations: 303.5 kB / 0.5559 GB, free: 6.051 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001046/0.9301, allocations: 28 kB / 0.5559 GB, free: 6.023 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.9301, allocations: 0 / 0.5559 GB, free: 6.023 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.271e-05/0.9302, allocations: 20 kB / 0.5559 GB, free: 6.004 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002155/0.9304, allocations: 11.84 kB / 0.5559 GB, free: 5.992 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003491/0.9307, allocations: 123.6 kB / 0.5561 GB, free: 5.848 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000342/0.9311, allocations: 0.7224 MB / 0.5568 GB, free: 5.102 MB / 394.7 MB Notification: Performance of SimCode: time 2.81e-07/0.9311, allocations: 0 / 0.5568 GB, free: 5.102 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test8.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test8.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test8.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test8_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test8_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test8.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test8.pipe 2>&1)