Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test24.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.CombiTable2D.Test24,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test24",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test24,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test24",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.001629/0.001629, allocations: 190.4 kB / 7.803 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.434/1.434, allocations: 205.2 MB / 213.4 MB, free: 13.86 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.0009352/0.0009353, allocations: 91.44 kB / 261.4 MB, free: 13.56 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.2056/0.2056, allocations: 43.5 MB / 352.9 MB, free: 1.969 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.225/0.4307, allocations: 64.96 MB / 417.8 MB, free: 40.47 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3338/0.7645, allocations: 58.84 MB / 476.7 MB, free: 5.184 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1402/0.9047, allocations: 86.01 MB / 0.5495 GB, free: 12.91 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002558/0.9051, allocations: 75.47 kB / 0.5496 GB, free: 12.84 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.01146/0.9165, allocations: 4.117 MB / 0.5536 GB, free: 8.668 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.9166, allocations: 12 kB / 0.5536 GB, free: 8.656 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.075e-05/0.9166, allocations: 7.906 kB / 0.5536 GB, free: 8.648 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002443/0.9169, allocations: 207.4 kB / 0.5538 GB, free: 8.402 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.508e-06/0.9169, allocations: 0 / 0.5538 GB, free: 8.402 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.947e-05/0.9169, allocations: 3.906 kB / 0.5538 GB, free: 8.398 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.892e-05/0.917, allocations: 19.17 kB / 0.5538 GB, free: 8.383 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.977e-05/0.9171, allocations: 41.69 kB / 0.5539 GB, free: 8.336 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.9171, allocations: 0 / 0.5539 GB, free: 8.336 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.977e-06/0.9171, allocations: 0 / 0.5539 GB, free: 8.336 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/0.9171, allocations: 4 kB / 0.5539 GB, free: 8.332 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003416/0.9175, allocations: 273.3 kB / 0.5541 GB, free: 8.027 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.457e-05/0.9176, allocations: 26.58 kB / 0.5541 GB, free: 7.992 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.895e-05/0.9176, allocations: 16.86 kB / 0.5542 GB, free: 7.973 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.166e-05/0.9176, allocations: 0 / 0.5542 GB, free: 7.973 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.942e-05/0.9177, allocations: 38.64 kB / 0.5542 GB, free: 7.926 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.9177, allocations: 0 / 0.5542 GB, free: 7.926 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004548/0.9181, allocations: 141.2 kB / 0.5543 GB, free: 7.781 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.162e-05/0.9182, allocations: 51.41 kB / 0.5544 GB, free: 7.719 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001482/0.9183, allocations: 155.5 kB / 0.5545 GB, free: 7.555 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.656e-05/0.9184, allocations: 25.7 kB / 0.5546 GB, free: 7.523 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.909e-05/0.9184, allocations: 100 kB / 0.5546 GB, free: 7.422 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.729e-05/0.9185, allocations: 23.66 kB / 0.5547 GB, free: 7.398 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.769e-06/0.9185, allocations: 0 / 0.5547 GB, free: 7.398 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001077/0.9186, allocations: 322.8 kB / 0.555 GB, free: 7.074 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.974e-05/0.9186, allocations: 12 kB / 0.555 GB, free: 7.062 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.785e-05/0.9187, allocations: 12 kB / 0.555 GB, free: 7.051 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.488e-05/0.9187, allocations: 16 kB / 0.555 GB, free: 7.035 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.9187, allocations: 4 kB / 0.555 GB, free: 7.031 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001143/0.9188, allocations: 65.59 kB / 0.5551 GB, free: 6.961 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.9188, allocations: 4 kB / 0.5551 GB, free: 6.957 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.9189, allocations: 4 kB / 0.5551 GB, free: 6.953 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/0.9189, allocations: 3.906 kB / 0.5551 GB, free: 6.949 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000128/0.919, allocations: 31.91 kB / 0.5551 GB, free: 6.918 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.9191, allocations: 8.312 kB / 0.5551 GB, free: 6.91 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.756e-05/0.9191, allocations: 11.94 kB / 0.5551 GB, free: 6.898 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.113e-05/0.9191, allocations: 7.984 kB / 0.5552 GB, free: 6.891 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 (7): * Single equations (assignments): 7 * 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 6.843e-05/0.9192, allocations: 109.8 kB / 0.5553 GB, free: 6.781 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.763e-05/0.9193, allocations: 11.81 kB / 0.5553 GB, free: 6.77 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001633/0.9194, allocations: 90.09 kB / 0.5554 GB, free: 6.68 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.9194, allocations: 0 / 0.5554 GB, free: 6.68 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.9195, allocations: 4 kB / 0.5554 GB, free: 6.676 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.848e-06/0.9195, allocations: 3.938 kB / 0.5554 GB, free: 6.672 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003304/0.9198, allocations: 331 kB / 0.5557 GB, free: 6.305 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.9198, allocations: 0 / 0.5557 GB, free: 6.305 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.629e-05/0.9199, allocations: 27.98 kB / 0.5557 GB, free: 6.277 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.9199, allocations: 0 / 0.5557 GB, free: 6.277 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.156e-05/0.9199, allocations: 7.984 kB / 0.5557 GB, free: 6.27 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.9199, allocations: 0 / 0.5557 GB, free: 6.27 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.92, allocations: 0 / 0.5557 GB, free: 6.27 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001541/0.9201, allocations: 179.3 kB / 0.5559 GB, free: 6.078 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002648/0.9204, allocations: 0.5314 MB / 0.5564 GB, free: 5.527 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.502e-05/0.9204, allocations: 100.9 kB / 0.5565 GB, free: 5.41 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.138e-05/0.9205, allocations: 144 / 0.5565 GB, free: 5.41 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001106/0.9206, allocations: 11.98 kB / 0.5565 GB, free: 5.398 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.668e-05/0.9206, allocations: 11.98 kB / 0.5565 GB, free: 5.387 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.833e-06/0.9207, allocations: 4 kB / 0.5565 GB, free: 5.383 MB / 394.7 MB Notification: Performance of sort global known variables: time 9.773e-05/0.9208, allocations: 132.5 kB / 0.5567 GB, free: 5.254 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007994/0.9216, allocations: 20 kB / 0.5567 GB, free: 5.234 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 (7): * Single equations (assignments): 7 * 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.00063/0.9222, allocations: 305.7 kB / 0.557 GB, free: 4.969 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001267/0.9223, allocations: 36 kB / 0.557 GB, free: 4.934 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.9224, allocations: 4 kB / 0.557 GB, free: 4.93 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.838e-05/0.9224, allocations: 27.94 kB / 0.557 GB, free: 4.902 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002505/0.9227, allocations: 15.75 kB / 0.557 GB, free: 4.887 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003975/0.9231, allocations: 139.3 kB / 0.5572 GB, free: 4.73 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003669/0.9235, allocations: 0.7188 MB / 0.5579 GB, free: 3.988 MB / 394.7 MB Notification: Performance of SimCode: time 2.134e-06/0.9235, allocations: 0 / 0.5579 GB, free: 3.988 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test24.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test24.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test24.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test24.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test24_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test24_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test24.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test24.pipe 2>&1)