Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5.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.Test5,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test5,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test5",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.001053/0.001053, 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.216/1.216, 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.0009001/0.0009001, allocations: 90.62 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.1893/0.1893, allocations: 43.49 MB / 352.8 MB, free: 1.961 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1681/0.3574, allocations: 64.97 MB / 417.8 MB, free: 40.48 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2592/0.6166, allocations: 58.84 MB / 476.7 MB, free: 5.184 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1257/0.7423, allocations: 85.67 MB / 0.5491 GB, free: 13.25 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002554/0.7426, allocations: 79.45 kB / 0.5492 GB, free: 13.18 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.01092/0.7536, allocations: 4.004 MB / 0.5531 GB, free: 9.133 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.7536, allocations: 8 kB / 0.5531 GB, free: 9.125 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.08e-05/0.7537, allocations: 11.91 kB / 0.5532 GB, free: 9.113 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002391/0.7539, allocations: 197 kB / 0.5533 GB, free: 8.879 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.003e-05/0.754, allocations: 4 kB / 0.5533 GB, free: 8.875 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.224e-05/0.754, allocations: 4 kB / 0.5533 GB, free: 8.871 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.101e-05/0.7541, allocations: 12 kB / 0.5534 GB, free: 8.859 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.609e-05/0.7542, allocations: 45.67 kB / 0.5534 GB, free: 8.809 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.7542, allocations: 3.906 kB / 0.5534 GB, free: 8.805 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.7542, allocations: 0 / 0.5534 GB, free: 8.805 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.7542, allocations: 0 / 0.5534 GB, free: 8.805 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004144/0.7546, allocations: 289.3 kB / 0.5537 GB, free: 8.484 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001619/0.7548, allocations: 29.7 kB / 0.5537 GB, free: 8.449 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3e-05/0.7548, allocations: 8.859 kB / 0.5537 GB, free: 8.438 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.291e-05/0.7549, allocations: 4 kB / 0.5537 GB, free: 8.434 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.656e-05/0.7549, allocations: 34.56 kB / 0.5538 GB, free: 8.391 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.242e-06/0.7549, allocations: 0 / 0.5538 GB, free: 8.391 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.000456/0.7554, allocations: 121.3 kB / 0.5539 GB, free: 8.266 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.21e-05/0.7554, allocations: 51.41 kB / 0.5539 GB, free: 8.203 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000214/0.7556, allocations: 193.5 kB / 0.5541 GB, free: 8.004 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.404e-05/0.7557, allocations: 25.7 kB / 0.5541 GB, free: 7.973 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.302e-05/0.7557, allocations: 96.03 kB / 0.5542 GB, free: 7.875 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.308e-05/0.7558, allocations: 19.69 kB / 0.5542 GB, free: 7.855 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.158e-06/0.7558, allocations: 4 kB / 0.5542 GB, free: 7.852 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001244/0.7559, allocations: 326.8 kB / 0.5546 GB, free: 7.523 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.432e-05/0.7559, allocations: 15.94 kB / 0.5546 GB, free: 7.508 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.265e-05/0.756, allocations: 11.98 kB / 0.5546 GB, free: 7.496 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.914e-05/0.756, allocations: 12 kB / 0.5546 GB, free: 7.484 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-07/0.756, allocations: 0 / 0.5546 GB, free: 7.484 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001134/0.7561, allocations: 73.44 kB / 0.5547 GB, free: 7.406 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.154e-05/0.7561, allocations: 4 kB / 0.5547 GB, free: 7.402 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.7562, allocations: 4 kB / 0.5547 GB, free: 7.398 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.7562, allocations: 4 kB / 0.5547 GB, free: 7.395 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.679e-05/0.7563, allocations: 15.98 kB / 0.5547 GB, free: 7.379 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.519e-06/0.7563, allocations: 0 / 0.5547 GB, free: 7.379 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.829e-05/0.7563, allocations: 8.234 kB / 0.5547 GB, free: 7.371 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.705e-06/0.7563, allocations: 4 kB / 0.5547 GB, free: 7.367 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 6.502e-05/0.7564, allocations: 101.1 kB / 0.5548 GB, free: 7.262 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.995e-05/0.7565, allocations: 19.81 kB / 0.5548 GB, free: 7.242 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001721/0.7566, allocations: 82.7 kB / 0.5549 GB, free: 7.16 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.7567, allocations: 0 / 0.5549 GB, free: 7.16 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.7567, allocations: 0 / 0.5549 GB, free: 7.16 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.7567, allocations: 0 / 0.5549 GB, free: 7.16 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003568/0.757, allocations: 339 kB / 0.5552 GB, free: 6.785 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.757, allocations: 0 / 0.5552 GB, free: 6.785 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.158e-05/0.7571, allocations: 16 kB / 0.5552 GB, free: 6.77 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.7571, allocations: 0 / 0.5552 GB, free: 6.77 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.01e-05/0.7571, allocations: 7.984 kB / 0.5552 GB, free: 6.762 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.7571, allocations: 0 / 0.5552 GB, free: 6.762 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.7572, allocations: 0 / 0.5552 GB, free: 6.762 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001469/0.7573, allocations: 167.3 kB / 0.5554 GB, free: 6.582 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002797/0.7576, allocations: 0.5388 MB / 0.5559 GB, free: 6.023 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.037e-05/0.7577, allocations: 100.9 kB / 0.556 GB, free: 5.906 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.243e-05/0.7577, allocations: 0 / 0.556 GB, free: 5.906 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.445e-05/0.7578, allocations: 7.984 kB / 0.556 GB, free: 5.898 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.758e-05/0.7578, allocations: 4.25 kB / 0.556 GB, free: 5.895 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.078e-06/0.7579, allocations: 0 / 0.556 GB, free: 5.895 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.000175/0.758, allocations: 159.2 kB / 0.5562 GB, free: 5.738 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008682/0.7589, allocations: 27.98 kB / 0.5562 GB, free: 5.711 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.0006732/0.7596, allocations: 313.8 kB / 0.5565 GB, free: 5.438 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 9.755e-05/0.7597, allocations: 28 kB / 0.5565 GB, free: 5.41 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.7597, allocations: 4 kB / 0.5565 GB, free: 5.406 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.246e-05/0.7597, allocations: 16 kB / 0.5566 GB, free: 5.391 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002221/0.76, allocations: 23.75 kB / 0.5566 GB, free: 5.367 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000391/0.7604, allocations: 175.6 kB / 0.5567 GB, free: 5.168 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003573/0.7607, allocations: 0.7341 MB / 0.5575 GB, free: 4.41 MB / 394.7 MB Notification: Performance of SimCode: time 2.71e-07/0.7608, allocations: 0 / 0.5575 GB, free: 4.41 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test5_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test5.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test5.pipe 2>&1)