Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.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.Test12,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test12,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_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 3.2.3+maint.om/package.mo): time 0.00163/0.001631, allocations: 185.5 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.472/1.472, 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.0009911/0.0009911, allocations: 89.09 kB / 261.4 MB, free: 13.53 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.2113/0.2113, allocations: 43.49 MB / 352.8 MB, free: 1.949 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2318/0.443, allocations: 64.97 MB / 417.8 MB, free: 40.47 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3399/0.783, allocations: 58.84 MB / 476.7 MB, free: 5.184 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1346/0.9176, allocations: 85.52 MB / 0.549 GB, free: 13.38 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001957/0.9178, allocations: 71.95 kB / 0.5491 GB, free: 13.31 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.01008/0.9279, allocations: 3.614 MB / 0.5526 GB, free: 9.656 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.627e-05/0.928, allocations: 8 kB / 0.5526 GB, free: 9.648 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.124e-05/0.928, allocations: 10.86 kB / 0.5526 GB, free: 9.641 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000272/0.9283, allocations: 198.1 kB / 0.5528 GB, free: 9.41 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.238e-06/0.9283, allocations: 0 / 0.5528 GB, free: 9.41 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.181e-05/0.9284, allocations: 8 kB / 0.5528 GB, free: 9.402 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.152e-05/0.9284, allocations: 11.98 kB / 0.5528 GB, free: 9.391 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.66e-05/0.9285, allocations: 37.7 kB / 0.5529 GB, free: 9.348 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.448e-05/0.9285, allocations: 3.906 kB / 0.5529 GB, free: 9.344 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.107e-06/0.9286, allocations: 3.938 kB / 0.5529 GB, free: 9.34 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.9286, allocations: 4 kB / 0.5529 GB, free: 9.336 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003635/0.9289, allocations: 249.4 kB / 0.5531 GB, free: 9.055 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000178/0.9291, allocations: 33.7 kB / 0.5531 GB, free: 9.016 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.098e-05/0.9292, allocations: 12.86 kB / 0.5532 GB, free: 9 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.343e-05/0.9292, allocations: 0 / 0.5532 GB, free: 9 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.7e-05/0.9292, allocations: 34.5 kB / 0.5532 GB, free: 8.957 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.212e-06/0.9292, allocations: 0 / 0.5532 GB, free: 8.957 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004385/0.9297, allocations: 101.4 kB / 0.5533 GB, free: 8.852 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.686e-05/0.9298, allocations: 55.41 kB / 0.5533 GB, free: 8.785 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000155/0.9299, allocations: 145 kB / 0.5535 GB, free: 8.637 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.592e-05/0.9299, allocations: 25.7 kB / 0.5535 GB, free: 8.605 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.322e-05/0.93, allocations: 92.06 kB / 0.5536 GB, free: 8.512 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.29e-05/0.93, allocations: 15.72 kB / 0.5536 GB, free: 8.496 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.467e-06/0.93, allocations: 0 / 0.5536 GB, free: 8.496 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000129/0.9302, allocations: 322.8 kB / 0.5539 GB, free: 8.172 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.35e-05/0.9302, allocations: 15.94 kB / 0.5539 GB, free: 8.156 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.962e-05/0.9302, allocations: 8 kB / 0.5539 GB, free: 8.148 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.681e-05/0.9303, allocations: 8 kB / 0.5539 GB, free: 8.141 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-07/0.9303, allocations: 4 kB / 0.5539 GB, free: 8.137 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000116/0.9304, allocations: 57.53 kB / 0.554 GB, free: 8.074 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.9304, allocations: 8 kB / 0.554 GB, free: 8.066 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.9304, allocations: 0 / 0.554 GB, free: 8.066 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/0.9304, allocations: 0 / 0.554 GB, free: 8.066 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.856e-05/0.9305, allocations: 16.38 kB / 0.554 GB, free: 8.051 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.9305, allocations: 4 kB / 0.554 GB, free: 8.047 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.567e-05/0.9306, allocations: 11.91 kB / 0.554 GB, free: 8.035 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.435e-06/0.9306, allocations: 4 kB / 0.554 GB, free: 8.031 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 7.469e-05/0.9307, allocations: 106.4 kB / 0.5541 GB, free: 7.922 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.911e-05/0.9307, allocations: 11.89 kB / 0.5542 GB, free: 7.91 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001688/0.9309, allocations: 69.8 kB / 0.5542 GB, free: 7.832 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.9309, allocations: 4 kB / 0.5542 GB, free: 7.828 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.9309, allocations: 0 / 0.5542 GB, free: 7.828 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.144e-06/0.931, allocations: 4 kB / 0.5542 GB, free: 7.824 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003448/0.9313, allocations: 303.1 kB / 0.5545 GB, free: 7.484 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.562e-06/0.9313, allocations: 4 kB / 0.5545 GB, free: 7.48 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.653e-05/0.9314, allocations: 11.98 kB / 0.5545 GB, free: 7.469 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.9314, allocations: 4 kB / 0.5545 GB, free: 7.465 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.406e-06/0.9314, allocations: 4 kB / 0.5545 GB, free: 7.461 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.9314, allocations: 0 / 0.5545 GB, free: 7.461 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.933e-06/0.9314, allocations: 3.906 kB / 0.5545 GB, free: 7.457 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001503/0.9316, allocations: 155.5 kB / 0.5547 GB, free: 7.289 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003552/0.932, allocations: 0.5349 MB / 0.5552 GB, free: 6.734 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.425e-05/0.9321, allocations: 97 kB / 0.5553 GB, free: 6.621 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.173e-05/0.9321, allocations: 256 / 0.5553 GB, free: 6.621 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.137e-05/0.9322, allocations: 4 kB / 0.5553 GB, free: 6.617 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.832e-05/0.9322, allocations: 11.98 kB / 0.5553 GB, free: 6.605 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.829e-06/0.9322, allocations: 0 / 0.5553 GB, free: 6.605 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001093/0.9324, allocations: 130.3 kB / 0.5554 GB, free: 6.48 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008879/0.9333, allocations: 19.94 kB / 0.5555 GB, free: 6.461 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.0007387/0.934, allocations: 302.2 kB / 0.5558 GB, free: 6.195 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001274/0.9341, allocations: 24 kB / 0.5558 GB, free: 6.172 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.9342, allocations: 0 / 0.5558 GB, free: 6.172 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.351e-05/0.9342, allocations: 19.94 kB / 0.5558 GB, free: 6.152 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002918/0.9345, allocations: 19.75 kB / 0.5558 GB, free: 6.133 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005057/0.935, allocations: 123.6 kB / 0.5559 GB, free: 5.984 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006708/0.9357, allocations: 0.723 MB / 0.5566 GB, free: 5.234 MB / 394.7 MB Notification: Performance of SimCode: time 2.31e-07/0.9357, allocations: 0 / 0.5566 GB, free: 5.234 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test12_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test12.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe 2>&1)