Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test27.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.CombiTable1D.Test27,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test27",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test27,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test27",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.001314/0.001314, allocations: 185.1 kB / 7.8 MB, free: 2.5 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.398/1.398, 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.001096/0.001096, allocations: 82.3 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.207/0.207, allocations: 43.49 MB / 352.8 MB, free: 1.957 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2362/0.4432, allocations: 64.96 MB / 417.8 MB, free: 40.49 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3847/0.828, allocations: 58.84 MB / 476.6 MB, free: 5.184 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1355/0.9635, allocations: 85.67 MB / 0.5491 GB, free: 13.27 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003207/0.9639, allocations: 75.45 kB / 0.5492 GB, free: 13.2 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.01165/0.9756, allocations: 4.178 MB / 0.5533 GB, free: 8.98 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.347e-05/0.9756, allocations: 12 kB / 0.5533 GB, free: 8.969 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.107e-05/0.9757, allocations: 11.81 kB / 0.5533 GB, free: 8.957 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003705/0.9761, allocations: 222.6 kB / 0.5535 GB, free: 8.699 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.085e-05/0.9761, allocations: 0 / 0.5535 GB, free: 8.699 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.346e-05/0.9762, allocations: 4 kB / 0.5535 GB, free: 8.695 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.839e-05/0.9762, allocations: 15.98 kB / 0.5535 GB, free: 8.68 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.807e-05/0.9763, allocations: 37.7 kB / 0.5536 GB, free: 8.637 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.9764, allocations: 0 / 0.5536 GB, free: 8.637 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.292e-05/0.9764, allocations: 3.906 kB / 0.5536 GB, free: 8.633 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.9764, allocations: 0 / 0.5536 GB, free: 8.633 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004223/0.9768, allocations: 293.3 kB / 0.5539 GB, free: 8.309 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001687/0.977, allocations: 29.66 kB / 0.5539 GB, free: 8.273 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.569e-05/0.977, allocations: 12.94 kB / 0.5539 GB, free: 8.258 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.322e-05/0.9771, allocations: 4 kB / 0.5539 GB, free: 8.254 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.239e-05/0.9771, allocations: 38.56 kB / 0.5539 GB, free: 8.207 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.503e-06/0.9771, allocations: 0 / 0.5539 GB, free: 8.207 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004341/0.9776, allocations: 117.1 kB / 0.5541 GB, free: 8.086 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.653e-05/0.9776, allocations: 55.41 kB / 0.5541 GB, free: 8.02 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002508/0.9779, allocations: 221.6 kB / 0.5543 GB, free: 7.793 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.556e-05/0.9779, allocations: 25.7 kB / 0.5543 GB, free: 7.762 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.314e-05/0.9779, allocations: 104.1 kB / 0.5544 GB, free: 7.656 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.326e-05/0.978, allocations: 15.66 kB / 0.5545 GB, free: 7.641 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.617e-06/0.978, allocations: 0 / 0.5545 GB, free: 7.641 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001344/0.9781, allocations: 330.8 kB / 0.5548 GB, free: 7.309 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.648e-05/0.9781, allocations: 15.92 kB / 0.5548 GB, free: 7.293 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.097e-05/0.9782, allocations: 12 kB / 0.5548 GB, free: 7.281 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.299e-05/0.9782, allocations: 12 kB / 0.5548 GB, free: 7.27 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.01e-07/0.9782, allocations: 0 / 0.5548 GB, free: 7.27 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001138/0.9783, allocations: 69.5 kB / 0.5549 GB, free: 7.195 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.9784, allocations: 8 kB / 0.5549 GB, free: 7.188 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.9784, allocations: 3.984 kB / 0.5549 GB, free: 7.184 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.9784, allocations: 4 kB / 0.5549 GB, free: 7.18 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.519e-05/0.9785, allocations: 12.19 kB / 0.5549 GB, free: 7.168 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.429e-06/0.9785, allocations: 4 kB / 0.5549 GB, free: 7.164 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.378e-05/0.9785, allocations: 15.92 kB / 0.5549 GB, free: 7.148 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.542e-06/0.9786, allocations: 4 kB / 0.5549 GB, free: 7.145 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 7.65e-05/0.9786, allocations: 106.5 kB / 0.555 GB, free: 7.035 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.164e-05/0.9787, allocations: 11.81 kB / 0.555 GB, free: 7.023 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001666/0.9789, allocations: 82.91 kB / 0.5551 GB, free: 6.938 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.9789, allocations: 3.984 kB / 0.5551 GB, free: 6.934 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.9789, allocations: 7.906 kB / 0.5551 GB, free: 6.926 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.9789, allocations: 0 / 0.5551 GB, free: 6.926 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003693/0.9793, allocations: 355 kB / 0.5555 GB, free: 6.535 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.9793, allocations: 0 / 0.5555 GB, free: 6.535 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.712e-05/0.9794, allocations: 15.98 kB / 0.5555 GB, free: 6.52 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.125e-06/0.9794, allocations: 0 / 0.5555 GB, free: 6.52 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.127e-06/0.9794, allocations: 3.906 kB / 0.5555 GB, free: 6.516 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.9794, allocations: 0 / 0.5555 GB, free: 6.516 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.9794, allocations: 3.984 kB / 0.5555 GB, free: 6.512 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001476/0.9796, allocations: 175.3 kB / 0.5557 GB, free: 6.324 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002513/0.9798, allocations: 0.5388 MB / 0.5562 GB, free: 5.766 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.631e-05/0.9799, allocations: 100.9 kB / 0.5563 GB, free: 5.648 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.419e-05/0.9799, allocations: 256 / 0.5563 GB, free: 5.648 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.447e-05/0.98, allocations: 7.984 kB / 0.5563 GB, free: 5.641 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.321e-05/0.9801, allocations: 8 kB / 0.5563 GB, free: 5.633 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.318e-06/0.9801, allocations: 4 kB / 0.5563 GB, free: 5.629 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001543/0.9802, allocations: 196.3 kB / 0.5565 GB, free: 5.438 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008091/0.9811, allocations: 20 kB / 0.5565 GB, free: 5.418 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.0006376/0.9817, allocations: 297.8 kB / 0.5568 GB, free: 5.156 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001112/0.9818, allocations: 35.94 kB / 0.5568 GB, free: 5.121 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.9818, allocations: 4 kB / 0.5568 GB, free: 5.117 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.35e-05/0.9819, allocations: 19.98 kB / 0.5569 GB, free: 5.098 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000256/0.9821, allocations: 19.95 kB / 0.5569 GB, free: 5.074 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004586/0.9826, allocations: 208 kB / 0.5571 GB, free: 4.84 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003669/0.983, allocations: 0.7419 MB / 0.5578 GB, free: 4.074 MB / 394.7 MB Notification: Performance of SimCode: time 2.7e-07/0.983, allocations: 4 kB / 0.5578 GB, free: 4.07 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test27.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test27.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test27.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test27.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test27_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test27_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test27.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test27.pipe 2>&1)