Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.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.Test2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test2",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.001331/0.001332, allocations: 191.1 kB / 7.804 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.497/1.497, allocations: 205.2 MB / 213.4 MB, free: 13.85 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.0009284/0.0009284, allocations: 91.42 kB / 261.4 MB, free: 13.54 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.2075/0.2075, allocations: 43.49 MB / 352.9 MB, free: 1.938 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2368/0.4443, allocations: 64.96 MB / 417.8 MB, free: 40.46 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3295/0.7738, allocations: 58.84 MB / 476.6 MB, free: 5.184 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1209/0.8947, allocations: 85.64 MB / 0.5491 GB, free: 13.27 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002137/0.895, allocations: 67.47 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.01035/0.9053, allocations: 3.547 MB / 0.5526 GB, free: 9.617 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.628e-05/0.9054, allocations: 15.94 kB / 0.5527 GB, free: 9.602 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.667e-05/0.9055, allocations: 7.906 kB / 0.5527 GB, free: 9.594 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002831/0.9058, allocations: 182.9 kB / 0.5528 GB, free: 9.375 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.324e-05/0.9058, allocations: 7.906 kB / 0.5528 GB, free: 9.367 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.504e-05/0.9058, allocations: 7.984 kB / 0.5529 GB, free: 9.359 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.15e-05/0.9059, allocations: 12 kB / 0.5529 GB, free: 9.348 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.379e-05/0.9061, allocations: 41.69 kB / 0.5529 GB, free: 9.301 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.9061, allocations: 0 / 0.5529 GB, free: 9.301 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/0.9061, allocations: 0 / 0.5529 GB, free: 9.301 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.9061, allocations: 0 / 0.5529 GB, free: 9.301 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004863/0.9066, allocations: 261.4 kB / 0.5532 GB, free: 9.008 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001955/0.9068, allocations: 37.7 kB / 0.5532 GB, free: 8.965 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.598e-05/0.9069, allocations: 8.859 kB / 0.5532 GB, free: 8.953 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.144e-05/0.9069, allocations: 0 / 0.5532 GB, free: 8.953 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.284e-05/0.9069, allocations: 34.56 kB / 0.5532 GB, free: 8.91 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.362e-06/0.9069, allocations: 0 / 0.5532 GB, free: 8.91 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005211/0.9075, allocations: 113.4 kB / 0.5533 GB, free: 8.793 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.012e-05/0.9075, allocations: 51.41 kB / 0.5534 GB, free: 8.73 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001705/0.9077, allocations: 125.2 kB / 0.5535 GB, free: 8.598 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.735e-05/0.9077, allocations: 25.7 kB / 0.5535 GB, free: 8.566 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.42e-05/0.9078, allocations: 92.12 kB / 0.5536 GB, free: 8.473 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.691e-05/0.9078, allocations: 11.72 kB / 0.5536 GB, free: 8.461 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.501e-06/0.9078, allocations: 4 kB / 0.5536 GB, free: 8.457 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001285/0.908, allocations: 322.8 kB / 0.5539 GB, free: 8.133 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.819e-05/0.908, allocations: 8 kB / 0.5539 GB, free: 8.125 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.086e-05/0.9081, allocations: 12 kB / 0.554 GB, free: 8.113 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.659e-05/0.9081, allocations: 16.17 kB / 0.554 GB, free: 8.098 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.9081, allocations: 3.938 kB / 0.554 GB, free: 8.094 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001544/0.9083, allocations: 77.53 kB / 0.5541 GB, free: 8.012 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.9083, allocations: 4 kB / 0.5541 GB, free: 8.008 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.9083, allocations: 0 / 0.5541 GB, free: 8.008 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.9084, allocations: 0 / 0.5541 GB, free: 8.008 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001031/0.9085, allocations: 16 kB / 0.5541 GB, free: 7.992 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.9085, allocations: 0 / 0.5541 GB, free: 7.992 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.695e-05/0.9086, allocations: 11.98 kB / 0.5541 GB, free: 7.98 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.776e-06/0.9086, allocations: 0 / 0.5541 GB, free: 7.98 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.185e-05/0.9087, allocations: 109.7 kB / 0.5542 GB, free: 7.871 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.586e-05/0.9087, allocations: 11.91 kB / 0.5542 GB, free: 7.859 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002112/0.909, allocations: 73.86 kB / 0.5543 GB, free: 7.781 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.909, allocations: 144 / 0.5543 GB, free: 7.781 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/0.909, allocations: 3.984 kB / 0.5543 GB, free: 7.777 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.909, allocations: 7.938 kB / 0.5543 GB, free: 7.77 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004165/0.9094, allocations: 315 kB / 0.5546 GB, free: 7.418 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.093e-06/0.9095, allocations: 0 / 0.5546 GB, free: 7.418 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.456e-05/0.9096, allocations: 19.98 kB / 0.5546 GB, free: 7.398 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.9096, allocations: 0 / 0.5546 GB, free: 7.398 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.358e-06/0.9096, allocations: 0 / 0.5546 GB, free: 7.398 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.9096, allocations: 0 / 0.5546 GB, free: 7.398 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.9096, allocations: 0 / 0.5546 GB, free: 7.398 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001966/0.9098, allocations: 167.6 kB / 0.5548 GB, free: 7.219 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003206/0.9101, allocations: 0.5429 MB / 0.5553 GB, free: 6.656 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.404e-05/0.9102, allocations: 81.02 kB / 0.5554 GB, free: 6.559 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.788e-05/0.9103, allocations: 4 kB / 0.5554 GB, free: 6.555 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001324/0.9104, allocations: 11.98 kB / 0.5554 GB, free: 6.543 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.056e-05/0.9105, allocations: 0 / 0.5554 GB, free: 6.543 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.756e-06/0.9105, allocations: 4 kB / 0.5554 GB, free: 6.539 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001017/0.9106, allocations: 107.3 kB / 0.5555 GB, free: 6.434 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001461/0.9121, allocations: 31.83 kB / 0.5555 GB, free: 6.402 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.000885/0.913, allocations: 300.8 kB / 0.5558 GB, free: 6.145 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001462/0.9131, allocations: 31.98 kB / 0.5558 GB, free: 6.113 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.9132, allocations: 0 / 0.5558 GB, free: 6.113 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.077e-05/0.9132, allocations: 16 kB / 0.5559 GB, free: 6.098 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002974/0.9135, allocations: 19.84 kB / 0.5559 GB, free: 6.078 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003932/0.9139, allocations: 115.6 kB / 0.556 GB, free: 5.938 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003704/0.9143, allocations: 0.7075 MB / 0.5567 GB, free: 5.203 MB / 394.7 MB Notification: Performance of SimCode: time 3.2e-07/0.9143, allocations: 0 / 0.5567 GB, free: 5.203 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test2_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test2.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.pipe 2>&1)