Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22.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.Test22,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test22",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test22,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test22",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.001392/0.001392, allocations: 189.1 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.555/1.555, 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.0009986/0.0009987, allocations: 91.38 kB / 261.4 MB, free: 13.61 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.2258/0.2258, allocations: 43.48 MB / 352.8 MB, free: 2.027 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2477/0.4736, allocations: 64.98 MB / 417.8 MB, free: 40.47 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5019/0.9755, allocations: 58.84 MB / 476.7 MB, free: 5.191 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.183/1.159, allocations: 87.22 MB / 0.5507 GB, free: 11.71 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003594/1.159, allocations: 75.95 kB / 0.5507 GB, free: 11.64 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.03179/1.191, allocations: 8.606 MB / 0.5591 GB, free: 2.973 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.32e-05/1.191, allocations: 8 kB / 0.5591 GB, free: 2.965 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001581/1.191, allocations: 55.33 kB / 0.5592 GB, free: 2.91 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001173/1.192, allocations: 467 kB / 0.5596 GB, free: 2.41 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.71e-05/1.192, allocations: 0 / 0.5596 GB, free: 2.41 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.629e-05/1.192, allocations: 11.98 kB / 0.5596 GB, free: 2.398 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002172/1.193, allocations: 55.89 kB / 0.5597 GB, free: 2.344 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002874/1.193, allocations: 109.1 kB / 0.5598 GB, free: 2.227 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.06e-05/1.193, allocations: 0 / 0.5598 GB, free: 2.227 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.311e-05/1.193, allocations: 4 kB / 0.5598 GB, free: 2.223 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.023e-05/1.193, allocations: 0 / 0.5598 GB, free: 2.223 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001496/1.194, allocations: 0.6726 MB / 0.5605 GB, free: 1.508 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001946/1.195, allocations: 75.55 kB / 0.5605 GB, free: 1.422 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.065e-05/1.195, allocations: 37.83 kB / 0.5606 GB, free: 1.379 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.371e-05/1.195, allocations: 4 kB / 0.5606 GB, free: 1.375 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.552e-05/1.195, allocations: 34.5 kB / 0.5606 GB, free: 1.332 MB / 394.7 MB Notification: Performance of pre-optimization done (n=10): time 1.663e-06/1.195, allocations: 0 / 0.5606 GB, free: 1.332 MB / 394.7 MB Notification: Performance of matching and sorting (n=16): time 0.001617/1.197, allocations: 418.5 kB / 0.561 GB, free: 0.9141 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.252e-05/1.197, allocations: 85.09 kB / 0.5611 GB, free: 0.8125 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001482/1.198, allocations: 0.7444 MB / 0.5618 GB, free: 64 kB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.998e-05/1.198, allocations: 25.7 kB / 0.5618 GB, free: 32 kB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001718/1.198, allocations: 152.2 kB / 0.562 GB, free: 15.88 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.523e-05/1.198, allocations: 51.27 kB / 0.562 GB, free: 15.82 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.387e-05/1.198, allocations: 0 / 0.562 GB, free: 15.82 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002197/1.199, allocations: 370.8 kB / 0.5624 GB, free: 15.45 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001138/1.199, allocations: 35.94 kB / 0.5624 GB, free: 15.42 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001323/1.199, allocations: 49.7 kB / 0.5625 GB, free: 15.36 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001353/1.199, allocations: 43.89 kB / 0.5625 GB, free: 15.32 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/1.199, allocations: 0 / 0.5625 GB, free: 15.32 MB / 410.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005071/1.2, allocations: 176.9 kB / 0.5627 GB, free: 15.14 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.356e-05/1.2, allocations: 8 kB / 0.5627 GB, free: 15.13 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.303e-05/1.2, allocations: 4 kB / 0.5627 GB, free: 15.13 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.017e-05/1.2, allocations: 0 / 0.5627 GB, free: 15.13 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003295/1.2, allocations: 44.03 kB / 0.5627 GB, free: 15.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/1.2, allocations: 320 / 0.5627 GB, free: 15.09 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000242/1.2, allocations: 19.98 kB / 0.5628 GB, free: 15.07 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.736e-05/1.2, allocations: 11.92 kB / 0.5628 GB, free: 15.05 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * 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.0001266/1.201, allocations: 113.8 kB / 0.5629 GB, free: 14.94 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002034/1.201, allocations: 55.25 kB / 0.5629 GB, free: 14.89 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007033/1.201, allocations: 229.9 kB / 0.5631 GB, free: 14.65 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.214e-06/1.201, allocations: 0 / 0.5631 GB, free: 14.65 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.716e-06/1.201, allocations: 4 kB / 0.5632 GB, free: 14.65 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.081e-05/1.202, allocations: 3.984 kB / 0.5632 GB, free: 14.64 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00163/1.203, allocations: 0.7714 MB / 0.5639 GB, free: 13.83 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/1.203, allocations: 0 / 0.5639 GB, free: 13.83 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000265/1.203, allocations: 43.91 kB / 0.564 GB, free: 13.79 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.09e-06/1.203, allocations: 0 / 0.564 GB, free: 13.79 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.692e-05/1.203, allocations: 4 kB / 0.564 GB, free: 13.78 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/1.203, allocations: 0 / 0.564 GB, free: 13.78 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/1.204, allocations: 0 / 0.564 GB, free: 13.78 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006013/1.204, allocations: 371.7 kB / 0.5643 GB, free: 13.39 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000826/1.205, allocations: 0.7385 MB / 0.565 GB, free: 12.63 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003688/1.205, allocations: 176.4 kB / 0.5652 GB, free: 12.44 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001296/1.205, allocations: 4 kB / 0.5652 GB, free: 12.43 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003701/1.206, allocations: 15.89 kB / 0.5652 GB, free: 12.42 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.208e-05/1.206, allocations: 15.92 kB / 0.5652 GB, free: 12.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.099e-05/1.206, allocations: 8 kB / 0.5652 GB, free: 12.39 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.001202/1.207, allocations: 0.5847 MB / 0.5658 GB, free: 11.81 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001883/1.209, allocations: 71.94 kB / 0.5659 GB, free: 11.74 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * 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.001039/1.21, allocations: 292.6 kB / 0.5662 GB, free: 11.49 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003998/1.211, allocations: 103.9 kB / 0.5663 GB, free: 11.39 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/1.211, allocations: 0 / 0.5663 GB, free: 11.39 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001658/1.211, allocations: 64.55 kB / 0.5663 GB, free: 11.33 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008537/1.212, allocations: 61.05 kB / 0.5664 GB, free: 11.27 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001992/1.214, allocations: 0.6932 MB / 0.5671 GB, free: 10.54 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008927/1.215, allocations: 0.9073 MB / 0.5679 GB, free: 9.605 MB / 410.7 MB Notification: Performance of SimCode: time 3.9e-07/1.215, allocations: 0 / 0.5679 GB, free: 9.605 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test22_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test22.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22.pipe 2>&1)