Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.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.Test4,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test4,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test4",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.001713/0.001713, allocations: 190.3 kB / 7.802 MB, free: 2.504 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.359/1.359, 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.000937/0.0009371, allocations: 91.67 kB / 261.4 MB, free: 13.62 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.2065/0.2065, allocations: 43.48 MB / 352.8 MB, free: 2.027 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2175/0.4241, allocations: 64.98 MB / 417.8 MB, free: 40.47 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.322/0.7461, allocations: 58.84 MB / 476.7 MB, free: 5.168 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1307/0.8769, allocations: 86.04 MB / 0.5495 GB, free: 12.86 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002331/0.8771, allocations: 71.95 kB / 0.5496 GB, free: 12.79 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.01791/0.8951, allocations: 7.792 MB / 0.5572 GB, free: 4.945 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.003e-05/0.8951, allocations: 8 kB / 0.5572 GB, free: 4.938 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001116/0.8953, allocations: 43.44 kB / 0.5572 GB, free: 4.895 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005147/0.8958, allocations: 326.6 kB / 0.5575 GB, free: 4.535 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.105e-06/0.8958, allocations: 0 / 0.5575 GB, free: 4.535 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.422e-05/0.8958, allocations: 4 kB / 0.5575 GB, free: 4.531 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.394e-05/0.8959, allocations: 12 kB / 0.5576 GB, free: 4.52 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.198e-05/0.896, allocations: 49.62 kB / 0.5576 GB, free: 4.465 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.896, allocations: 0 / 0.5576 GB, free: 4.465 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.878e-06/0.8961, allocations: 0 / 0.5576 GB, free: 4.465 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.8961, allocations: 3.906 kB / 0.5576 GB, free: 4.461 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006346/0.8967, allocations: 409.2 kB / 0.558 GB, free: 4.023 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001964/0.8969, allocations: 29.7 kB / 0.558 GB, free: 3.988 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.217e-05/0.897, allocations: 16.8 kB / 0.558 GB, free: 3.969 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.399e-05/0.897, allocations: 4 kB / 0.558 GB, free: 3.965 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.161e-05/0.897, allocations: 30.56 kB / 0.5581 GB, free: 3.926 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.563e-06/0.897, allocations: 0 / 0.5581 GB, free: 3.926 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005066/0.8975, allocations: 184.2 kB / 0.5583 GB, free: 3.738 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.165e-05/0.8976, allocations: 51.41 kB / 0.5583 GB, free: 3.676 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001211/0.8988, allocations: 0.759 MB / 0.559 GB, free: 2.91 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/0.8988, allocations: 25.7 kB / 0.5591 GB, free: 2.879 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.503e-05/0.8989, allocations: 132 kB / 0.5592 GB, free: 2.746 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.756e-05/0.899, allocations: 23.73 kB / 0.5592 GB, free: 2.723 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.677e-06/0.899, allocations: 0 / 0.5592 GB, free: 2.723 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001589/0.8991, allocations: 354.8 kB / 0.5596 GB, free: 2.367 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.792e-05/0.8992, allocations: 15.94 kB / 0.5596 GB, free: 2.352 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.993e-05/0.8992, allocations: 8 kB / 0.5596 GB, free: 2.344 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.926e-05/0.8992, allocations: 12 kB / 0.5596 GB, free: 2.332 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.8992, allocations: 0 / 0.5596 GB, free: 2.332 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001565/0.8994, allocations: 101.3 kB / 0.5597 GB, free: 2.227 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.8994, allocations: 4 kB / 0.5597 GB, free: 2.223 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.8994, allocations: 0 / 0.5597 GB, free: 2.223 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.8995, allocations: 0 / 0.5597 GB, free: 2.223 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.994e-05/0.8995, allocations: 19.92 kB / 0.5597 GB, free: 2.203 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.8996, allocations: 0 / 0.5597 GB, free: 2.203 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.332e-05/0.8996, allocations: 15.91 kB / 0.5597 GB, free: 2.188 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.384e-06/0.8997, allocations: 0 / 0.5597 GB, free: 2.188 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.598e-05/0.8998, allocations: 110.5 kB / 0.5598 GB, free: 2.074 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.425e-05/0.8998, allocations: 43.42 kB / 0.5599 GB, free: 2.031 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002184/0.9001, allocations: 109.2 kB / 0.56 GB, free: 1.914 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.9001, allocations: 3.938 kB / 0.56 GB, free: 1.91 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.9001, allocations: 4 kB / 0.56 GB, free: 1.906 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.9001, allocations: 0 / 0.56 GB, free: 1.906 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006823/0.9008, allocations: 0.5379 MB / 0.5605 GB, free: 1.324 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.9008, allocations: 0 / 0.5605 GB, free: 1.324 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.138e-05/0.9009, allocations: 15.98 kB / 0.5605 GB, free: 1.309 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.9009, allocations: 0 / 0.5605 GB, free: 1.309 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.526e-06/0.9009, allocations: 0 / 0.5605 GB, free: 1.309 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.9009, allocations: 4 kB / 0.5605 GB, free: 1.305 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.9009, allocations: 4 kB / 0.5605 GB, free: 1.301 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001894/0.9011, allocations: 191 kB / 0.5607 GB, free: 1.098 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003201/0.9014, allocations: 0.5738 MB / 0.5613 GB, free: 0.5039 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001777/0.9016, allocations: 160.5 kB / 0.5614 GB, free: 336 kB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.25e-05/0.9017, allocations: 0 / 0.5614 GB, free: 336 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001099/0.9018, allocations: 8 kB / 0.5614 GB, free: 328 kB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.679e-05/0.9019, allocations: 7.984 kB / 0.5614 GB, free: 320 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.449e-06/0.9019, allocations: 0 / 0.5614 GB, free: 320 kB / 394.7 MB Notification: Performance of sort global known variables: time 0.0007361/0.9026, allocations: 0.6121 MB / 0.562 GB, free: 15.7 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008899/0.9035, allocations: 59.94 kB / 0.5621 GB, free: 15.64 MB / 410.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.000728/0.9043, allocations: 304.9 kB / 0.5624 GB, free: 15.38 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001366/0.9044, allocations: 24 kB / 0.5624 GB, free: 15.36 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.9044, allocations: 3.938 kB / 0.5624 GB, free: 15.36 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.909e-05/0.9045, allocations: 12 kB / 0.5624 GB, free: 15.34 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002952/0.9048, allocations: 33.75 kB / 0.5625 GB, free: 15.31 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001168/0.9059, allocations: 0.6957 MB / 0.5631 GB, free: 14.58 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005078/0.9065, allocations: 0.8566 MB / 0.564 GB, free: 13.69 MB / 410.7 MB Notification: Performance of SimCode: time 2.6e-07/0.9065, allocations: 4 kB / 0.564 GB, free: 13.69 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test4_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test4.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.pipe 2>&1)