Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.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.CombiTable1D.Test12,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test12,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_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.001038/0.001037, allocations: 185.1 kB / 7.8 MB, free: 2.5 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.458/1.458, allocations: 205.2 MB / 213.4 MB, free: 13.85 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.0009794/0.0009794, allocations: 95.66 kB / 261.4 MB, free: 13.54 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.2012/0.2012, allocations: 43.49 MB / 352.8 MB, free: 1.957 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2439/0.4452, allocations: 64.97 MB / 417.8 MB, free: 40.46 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3519/0.7971, allocations: 58.83 MB / 476.6 MB, free: 5.309 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1354/0.9326, allocations: 85.64 MB / 0.5491 GB, free: 13.35 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002305/0.9328, allocations: 63.97 kB / 0.5492 GB, free: 13.29 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.01029/0.9431, allocations: 3.641 MB / 0.5527 GB, free: 9.609 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/0.9432, allocations: 8 kB / 0.5527 GB, free: 9.602 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.241e-05/0.9433, allocations: 7.906 kB / 0.5527 GB, free: 9.594 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002687/0.9435, allocations: 194.2 kB / 0.5529 GB, free: 9.367 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.209e-05/0.9436, allocations: 0 / 0.5529 GB, free: 9.367 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.447e-05/0.9436, allocations: 8 kB / 0.5529 GB, free: 9.359 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.572e-05/0.9437, allocations: 12 kB / 0.5529 GB, free: 9.348 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001057/0.9438, allocations: 45.62 kB / 0.553 GB, free: 9.297 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/0.9438, allocations: 3.906 kB / 0.553 GB, free: 9.293 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/0.9438, allocations: 0 / 0.553 GB, free: 9.293 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.633e-06/0.9439, allocations: 3.984 kB / 0.553 GB, free: 9.289 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004519/0.9443, allocations: 269.4 kB / 0.5533 GB, free: 8.988 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001964/0.9445, allocations: 33.7 kB / 0.5533 GB, free: 8.949 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.036e-05/0.9446, allocations: 8.859 kB / 0.5533 GB, free: 8.938 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.158e-05/0.9446, allocations: 0 / 0.5533 GB, free: 8.938 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.191e-05/0.9446, allocations: 34.5 kB / 0.5533 GB, free: 8.895 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.9446, allocations: 0 / 0.5533 GB, free: 8.895 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004616/0.9451, allocations: 113.5 kB / 0.5534 GB, free: 8.777 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.237e-05/0.9451, allocations: 51.41 kB / 0.5535 GB, free: 8.715 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001583/0.9453, allocations: 145 kB / 0.5536 GB, free: 8.566 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.326e-05/0.9453, allocations: 25.7 kB / 0.5536 GB, free: 8.535 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.384e-05/0.9454, allocations: 92.06 kB / 0.5537 GB, free: 8.441 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.734e-05/0.9454, allocations: 23.66 kB / 0.5538 GB, free: 8.418 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.757e-06/0.9454, allocations: 0 / 0.5538 GB, free: 8.418 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001056/0.9455, allocations: 322.8 kB / 0.5541 GB, free: 8.094 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.557e-05/0.9456, allocations: 12 kB / 0.5541 GB, free: 8.082 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.108e-05/0.9456, allocations: 12 kB / 0.5541 GB, free: 8.07 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.353e-05/0.9456, allocations: 24.05 kB / 0.5541 GB, free: 8.047 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.51e-07/0.9456, allocations: 4 kB / 0.5541 GB, free: 8.043 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001099/0.9458, allocations: 61.59 kB / 0.5542 GB, free: 7.977 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/0.9458, allocations: 4 kB / 0.5542 GB, free: 7.973 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.9458, allocations: 4 kB / 0.5542 GB, free: 7.969 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.122e-05/0.9458, allocations: 0 / 0.5542 GB, free: 7.969 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.636e-05/0.9459, allocations: 19.98 kB / 0.5542 GB, free: 7.949 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.9459, allocations: 0 / 0.5542 GB, free: 7.949 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.831e-05/0.946, allocations: 7.906 kB / 0.5542 GB, free: 7.941 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.686e-06/0.946, allocations: 4 kB / 0.5542 GB, free: 7.938 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 8.293e-05/0.9461, allocations: 102.4 kB / 0.5543 GB, free: 7.832 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.99e-05/0.9461, allocations: 11.91 kB / 0.5543 GB, free: 7.82 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001605/0.9463, allocations: 81.8 kB / 0.5544 GB, free: 7.73 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.624e-06/0.9463, allocations: 0 / 0.5544 GB, free: 7.73 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.9463, allocations: 0 / 0.5544 GB, free: 7.73 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.572e-06/0.9463, allocations: 7.984 kB / 0.5544 GB, free: 7.723 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003351/0.9467, allocations: 311.1 kB / 0.5547 GB, free: 7.375 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.9467, allocations: 0 / 0.5547 GB, free: 7.375 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.831e-05/0.9468, allocations: 23.92 kB / 0.5547 GB, free: 7.352 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.9468, allocations: 0 / 0.5547 GB, free: 7.352 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.396e-06/0.9468, allocations: 0 / 0.5547 GB, free: 7.352 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.9468, allocations: 0 / 0.5547 GB, free: 7.352 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.65e-06/0.9468, allocations: 7.906 kB / 0.5547 GB, free: 7.344 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001501/0.947, allocations: 163.8 kB / 0.5549 GB, free: 7.168 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002574/0.9472, allocations: 0.5388 MB / 0.5554 GB, free: 6.609 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.414e-05/0.9473, allocations: 89.02 kB / 0.5555 GB, free: 6.504 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.217e-05/0.9473, allocations: 0 / 0.5555 GB, free: 6.504 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.119e-05/0.9474, allocations: 15.92 kB / 0.5555 GB, free: 6.488 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.923e-05/0.9475, allocations: 0 / 0.5555 GB, free: 6.488 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.338e-06/0.9475, allocations: 0 / 0.5555 GB, free: 6.488 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001134/0.9476, allocations: 126.3 kB / 0.5556 GB, free: 6.367 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008726/0.9485, allocations: 27.94 kB / 0.5557 GB, free: 6.34 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.0007162/0.9492, allocations: 302 kB / 0.5559 GB, free: 6.074 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001134/0.9493, allocations: 32 kB / 0.556 GB, free: 6.043 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.9493, allocations: 0 / 0.556 GB, free: 6.043 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.387e-05/0.9494, allocations: 23.92 kB / 0.556 GB, free: 6.02 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002345/0.9496, allocations: 16.14 kB / 0.556 GB, free: 6.004 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004685/0.9501, allocations: 139.6 kB / 0.5561 GB, free: 5.84 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004572/0.9506, allocations: 0.7114 MB / 0.5568 GB, free: 5.102 MB / 394.7 MB Notification: Performance of SimCode: time 2.61e-07/0.9506, allocations: 4 kB / 0.5568 GB, free: 5.098 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test12.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test12.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test12_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test12_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test12.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test12.pipe 2>&1)