Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.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.CombiTable2Dv.Test8,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test8,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test8",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.001253/0.001253, allocations: 185.1 kB / 7.802 MB, free: 2.492 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.133/1.133, allocations: 205.2 MB / 213.4 MB, free: 13.93 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.000945/0.000945, allocations: 97.5 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.1689/0.1689, allocations: 43.49 MB / 352.8 MB, free: 1.973 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1727/0.3416, allocations: 64.97 MB / 417.8 MB, free: 40.48 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2524/0.5941, allocations: 58.84 MB / 476.7 MB, free: 5.176 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1115/0.7056, allocations: 86.3 MB / 0.5498 GB, free: 12.59 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001851/0.7059, allocations: 71.47 kB / 0.5498 GB, free: 12.53 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.01754/0.7234, allocations: 7.957 MB / 0.5576 GB, free: 4.504 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.7235, allocations: 8 kB / 0.5576 GB, free: 4.496 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.656e-05/0.7236, allocations: 43.44 kB / 0.5576 GB, free: 4.453 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005011/0.7241, allocations: 323.3 kB / 0.558 GB, free: 4.094 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.33e-05/0.7241, allocations: 0 / 0.558 GB, free: 4.094 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.545e-05/0.7242, allocations: 4 kB / 0.558 GB, free: 4.09 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.861e-05/0.7243, allocations: 23.98 kB / 0.558 GB, free: 4.066 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.162e-05/0.7243, allocations: 41.64 kB / 0.558 GB, free: 4.02 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.715e-06/0.7244, allocations: 0 / 0.558 GB, free: 4.02 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.7244, allocations: 0 / 0.558 GB, free: 4.02 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.7244, allocations: 3.938 kB / 0.558 GB, free: 4.016 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005881/0.725, allocations: 417.3 kB / 0.5584 GB, free: 3.57 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.185e-05/0.7251, allocations: 26.48 kB / 0.5584 GB, free: 3.535 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.856e-05/0.7251, allocations: 12.91 kB / 0.5585 GB, free: 3.52 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.567e-05/0.7251, allocations: 4 kB / 0.5585 GB, free: 3.516 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.844e-05/0.7251, allocations: 38.44 kB / 0.5585 GB, free: 3.469 MB / 394.7 MB Notification: Performance of pre-optimization done (n=2): time 1.453e-06/0.7251, allocations: 0 / 0.5585 GB, free: 3.469 MB / 394.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001867/0.7253, allocations: 77.23 kB / 0.5586 GB, free: 3.387 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.254e-05/0.7254, allocations: 55.44 kB / 0.5586 GB, free: 3.32 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001121/0.7265, allocations: 0.7589 MB / 0.5594 GB, free: 2.551 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.371e-05/0.7265, allocations: 25.7 kB / 0.5594 GB, free: 2.52 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.57e-05/0.7266, allocations: 128.1 kB / 0.5595 GB, free: 2.391 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.788e-05/0.7266, allocations: 7.906 kB / 0.5595 GB, free: 2.383 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.015e-06/0.7266, allocations: 0 / 0.5595 GB, free: 2.383 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001199/0.7268, allocations: 366.8 kB / 0.5599 GB, free: 2.016 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.685e-05/0.7268, allocations: 4 kB / 0.5599 GB, free: 2.012 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.432e-05/0.7268, allocations: 12 kB / 0.5599 GB, free: 2 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.373e-05/0.7268, allocations: 4 kB / 0.5599 GB, free: 1.996 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.7268, allocations: 0 / 0.5599 GB, free: 1.996 MB / 394.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001211/0.727, allocations: 89.06 kB / 0.56 GB, free: 1.902 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.727, allocations: 4 kB / 0.56 GB, free: 1.898 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.727, allocations: 0 / 0.56 GB, free: 1.898 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.081e-05/0.727, allocations: 0 / 0.56 GB, free: 1.898 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.933e-05/0.7271, allocations: 8 kB / 0.56 GB, free: 1.891 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/0.7271, allocations: 8.078 kB / 0.56 GB, free: 1.883 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.549e-05/0.7272, allocations: 4 kB / 0.56 GB, free: 1.879 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.282e-06/0.7272, allocations: 4 kB / 0.56 GB, free: 1.875 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 (2): * Single equations (assignments): 2 * 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.75e-05/0.7273, allocations: 113.7 kB / 0.5601 GB, free: 1.762 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.253e-05/0.7273, allocations: 35.53 kB / 0.5601 GB, free: 1.727 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001665/0.7275, allocations: 100.7 kB / 0.5602 GB, free: 1.617 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/0.7275, allocations: 3.906 kB / 0.5602 GB, free: 1.613 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.7275, allocations: 7.969 kB / 0.5603 GB, free: 1.605 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.7276, allocations: 4 kB / 0.5603 GB, free: 1.602 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000265/0.7278, allocations: 302 kB / 0.5605 GB, free: 1.27 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.7278, allocations: 0 / 0.5605 GB, free: 1.27 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.265e-05/0.7279, allocations: 4 kB / 0.5605 GB, free: 1.266 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.7279, allocations: 4 kB / 0.5606 GB, free: 1.262 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.442e-06/0.7279, allocations: 0 / 0.5606 GB, free: 1.262 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.7279, allocations: 0 / 0.5606 GB, free: 1.262 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.7279, allocations: 0 / 0.5606 GB, free: 1.262 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001801/0.7281, allocations: 179 kB / 0.5607 GB, free: 1.07 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002275/0.7283, allocations: 0.5656 MB / 0.5613 GB, free: 496 kB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001653/0.7285, allocations: 160.5 kB / 0.5614 GB, free: 316 kB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.996e-05/0.7286, allocations: 0 / 0.5614 GB, free: 316 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001007/0.7287, allocations: 8.062 kB / 0.5614 GB, free: 308 kB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.674e-05/0.7287, allocations: 11.88 kB / 0.5614 GB, free: 296 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.417e-06/0.7287, allocations: 0 / 0.5614 GB, free: 296 kB / 394.7 MB Notification: Performance of sort global known variables: time 0.0005873/0.7293, allocations: 0.6082 MB / 0.562 GB, free: 15.68 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000902/0.7302, allocations: 56 kB / 0.5621 GB, free: 15.63 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 (2): * Single equations (assignments): 2 * 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.0005127/0.7307, allocations: 254.9 kB / 0.5623 GB, free: 15.41 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 7.405e-05/0.7308, allocations: 19.98 kB / 0.5624 GB, free: 15.39 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.7308, allocations: 0 / 0.5624 GB, free: 15.39 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.111e-05/0.7309, allocations: 11.88 kB / 0.5624 GB, free: 15.38 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002594/0.7311, allocations: 33.94 kB / 0.5624 GB, free: 15.35 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001164/0.7323, allocations: 0.6839 MB / 0.5631 GB, free: 14.62 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004326/0.7328, allocations: 0.8489 MB / 0.5639 GB, free: 13.75 MB / 410.7 MB Notification: Performance of SimCode: time 4.21e-07/0.7328, allocations: 0 / 0.5639 GB, free: 13.75 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test8_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test8.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe 2>&1)