Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32.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.Test32,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test32",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test32,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test32",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.001156/0.001156, allocations: 187.6 kB / 7.799 MB, free: 2.508 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.378/1.378, 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.0009158/0.0009157, allocations: 88.98 kB / 261.4 MB, free: 13.55 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.1649/0.1649, allocations: 43.49 MB / 352.8 MB, free: 1.961 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1769/0.3418, allocations: 64.97 MB / 417.8 MB, free: 40.48 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2373/0.5791, allocations: 58.84 MB / 476.7 MB, free: 5.176 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1198/0.699, allocations: 85.55 MB / 0.549 GB, free: 13.36 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002235/0.6992, allocations: 75.47 kB / 0.5491 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.01042/0.7097, allocations: 4.056 MB / 0.5531 GB, free: 9.195 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/0.7097, allocations: 8 kB / 0.5531 GB, free: 9.188 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.958e-05/0.7098, allocations: 15.8 kB / 0.5531 GB, free: 9.172 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002522/0.7101, allocations: 202.8 kB / 0.5533 GB, free: 8.934 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.255e-06/0.7101, allocations: 0 / 0.5533 GB, free: 8.934 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.937e-05/0.7101, allocations: 8 kB / 0.5533 GB, free: 8.926 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.501e-05/0.7102, allocations: 15.94 kB / 0.5533 GB, free: 8.91 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.515e-05/0.7102, allocations: 37.69 kB / 0.5533 GB, free: 8.867 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/0.7103, allocations: 7.984 kB / 0.5533 GB, free: 8.859 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.196e-06/0.7103, allocations: 0 / 0.5533 GB, free: 8.859 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.7103, allocations: 0 / 0.5533 GB, free: 8.859 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003045/0.7106, allocations: 269.4 kB / 0.5536 GB, free: 8.559 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001427/0.7108, allocations: 37.64 kB / 0.5536 GB, free: 8.516 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.49e-05/0.7108, allocations: 12.8 kB / 0.5536 GB, free: 8.5 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.882e-05/0.7108, allocations: 0 / 0.5536 GB, free: 8.5 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.658e-05/0.7108, allocations: 34.56 kB / 0.5537 GB, free: 8.457 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.7108, allocations: 0 / 0.5537 GB, free: 8.457 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003562/0.7112, allocations: 109.2 kB / 0.5538 GB, free: 8.344 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.448e-05/0.7112, allocations: 55.41 kB / 0.5538 GB, free: 8.277 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002071/0.7115, allocations: 213.9 kB / 0.554 GB, free: 8.059 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.277e-05/0.7115, allocations: 25.7 kB / 0.5541 GB, free: 8.027 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.751e-05/0.7115, allocations: 96.12 kB / 0.5542 GB, free: 7.93 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.276e-05/0.7116, allocations: 19.66 kB / 0.5542 GB, free: 7.91 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.446e-06/0.7116, allocations: 3.938 kB / 0.5542 GB, free: 7.906 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001084/0.7117, allocations: 322.8 kB / 0.5545 GB, free: 7.582 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.18e-05/0.7117, allocations: 15.94 kB / 0.5545 GB, free: 7.566 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.756e-05/0.7117, allocations: 12 kB / 0.5545 GB, free: 7.555 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.301e-05/0.7118, allocations: 7.984 kB / 0.5545 GB, free: 7.547 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.01e-07/0.7118, allocations: 0 / 0.5545 GB, free: 7.547 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.32e-05/0.7119, allocations: 61.52 kB / 0.5546 GB, free: 7.48 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.051e-05/0.7119, allocations: 4 kB / 0.5546 GB, free: 7.477 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.7119, allocations: 4 kB / 0.5546 GB, free: 7.473 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.178e-06/0.7119, allocations: 0 / 0.5546 GB, free: 7.473 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.406e-05/0.712, allocations: 19.98 kB / 0.5546 GB, free: 7.453 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.307e-06/0.712, allocations: 0 / 0.5546 GB, free: 7.453 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.861e-05/0.712, allocations: 8.234 kB / 0.5546 GB, free: 7.445 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.541e-06/0.7121, allocations: 0 / 0.5546 GB, free: 7.445 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 5.978e-05/0.7121, allocations: 113.9 kB / 0.5547 GB, free: 7.332 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.966e-05/0.7122, allocations: 15.81 kB / 0.5547 GB, free: 7.316 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001335/0.7123, allocations: 74.77 kB / 0.5548 GB, free: 7.242 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.7123, allocations: 4 kB / 0.5548 GB, free: 7.238 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.7123, allocations: 0 / 0.5548 GB, free: 7.238 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.7123, allocations: 0 / 0.5548 GB, free: 7.238 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003058/0.7126, allocations: 335 kB / 0.5551 GB, free: 6.867 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.7127, allocations: 0 / 0.5551 GB, free: 6.867 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.541e-05/0.7127, allocations: 15.98 kB / 0.5552 GB, free: 6.852 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.7127, allocations: 0 / 0.5552 GB, free: 6.852 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.402e-06/0.7128, allocations: 4 kB / 0.5552 GB, free: 6.848 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.7128, allocations: 0 / 0.5552 GB, free: 6.848 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.7128, allocations: 0 / 0.5552 GB, free: 6.848 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001104/0.7129, allocations: 163.4 kB / 0.5553 GB, free: 6.672 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002065/0.7131, allocations: 0.5349 MB / 0.5558 GB, free: 6.117 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.173e-05/0.7132, allocations: 100.9 kB / 0.5559 GB, free: 6 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.181e-05/0.7132, allocations: 0 / 0.5559 GB, free: 6 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.19e-05/0.7133, allocations: 11.94 kB / 0.5559 GB, free: 5.988 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.887e-05/0.7133, allocations: 8.234 kB / 0.5559 GB, free: 5.98 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.839e-06/0.7133, allocations: 4 kB / 0.556 GB, free: 5.977 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001193/0.7134, allocations: 167.2 kB / 0.5561 GB, free: 5.812 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007895/0.7142, allocations: 27.91 kB / 0.5561 GB, free: 5.785 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.0005559/0.7148, allocations: 310.2 kB / 0.5564 GB, free: 5.516 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 8.012e-05/0.7149, allocations: 27.94 kB / 0.5565 GB, free: 5.488 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.7149, allocations: 4 kB / 0.5565 GB, free: 5.484 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.58e-05/0.7149, allocations: 12 kB / 0.5565 GB, free: 5.473 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00021/0.7151, allocations: 23.97 kB / 0.5565 GB, free: 5.445 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003562/0.7155, allocations: 179.7 kB / 0.5567 GB, free: 5.246 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002986/0.7158, allocations: 0.7231 MB / 0.5574 GB, free: 4.496 MB / 394.7 MB Notification: Performance of SimCode: time 2.4e-07/0.7158, allocations: 0 / 0.5574 GB, free: 4.496 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test32_fmu --startTime=7.99 --stopTime=20 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test32.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe 2>&1)