Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.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.CombiTable1D.Test32,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test32",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test32,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_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.001099/0.001099, allocations: 192 kB / 7.804 MB, free: 2.504 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.426/1.426, 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.0009481/0.000948, allocations: 83.66 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.216/0.216, allocations: 43.5 MB / 352.9 MB, free: 1.945 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2294/0.4454, allocations: 64.96 MB / 417.8 MB, free: 40.46 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3349/0.7804, allocations: 58.84 MB / 476.7 MB, free: 5.16 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1212/0.9017, allocations: 85.67 MB / 0.5491 GB, free: 13.23 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002471/0.902, allocations: 71.97 kB / 0.5492 GB, free: 13.16 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.01079/0.9128, allocations: 4.068 MB / 0.5532 GB, free: 9.051 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/0.9128, allocations: 8 kB / 0.5532 GB, free: 9.043 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.365e-05/0.9129, allocations: 15.81 kB / 0.5532 GB, free: 9.027 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002813/0.9132, allocations: 206.8 kB / 0.5534 GB, free: 8.785 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.115e-05/0.9132, allocations: 4 kB / 0.5534 GB, free: 8.781 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.733e-05/0.9132, allocations: 0 / 0.5534 GB, free: 8.781 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.953e-05/0.9133, allocations: 15.98 kB / 0.5534 GB, free: 8.766 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.569e-05/0.9134, allocations: 41.64 kB / 0.5535 GB, free: 8.719 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.9134, allocations: 0 / 0.5535 GB, free: 8.719 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.089e-05/0.9134, allocations: 0 / 0.5535 GB, free: 8.719 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.825e-06/0.9134, allocations: 15.92 kB / 0.5535 GB, free: 8.703 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004241/0.9139, allocations: 273.4 kB / 0.5537 GB, free: 8.398 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001754/0.9141, allocations: 29.72 kB / 0.5538 GB, free: 8.363 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.942e-05/0.9141, allocations: 8.859 kB / 0.5538 GB, free: 8.352 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.376e-05/0.9141, allocations: 4 kB / 0.5538 GB, free: 8.348 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.059e-05/0.9142, allocations: 46.58 kB / 0.5538 GB, free: 8.293 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 2.465e-06/0.9142, allocations: 3.984 kB / 0.5538 GB, free: 8.289 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.000456/0.9146, allocations: 117.1 kB / 0.5539 GB, free: 8.168 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.582e-05/0.9147, allocations: 51.41 kB / 0.554 GB, free: 8.105 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002278/0.9149, allocations: 221.9 kB / 0.5542 GB, free: 7.879 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.39e-05/0.9149, allocations: 25.7 kB / 0.5542 GB, free: 7.848 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.974e-05/0.915, allocations: 92.12 kB / 0.5543 GB, free: 7.754 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.437e-05/0.915, allocations: 19.66 kB / 0.5543 GB, free: 7.734 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.801e-06/0.915, allocations: 0 / 0.5543 GB, free: 7.734 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001215/0.9152, allocations: 330.8 kB / 0.5546 GB, free: 7.402 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.49e-05/0.9152, allocations: 11.98 kB / 0.5547 GB, free: 7.391 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.119e-05/0.9152, allocations: 15.94 kB / 0.5547 GB, free: 7.375 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.039e-05/0.9153, allocations: 12.19 kB / 0.5547 GB, free: 7.363 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-07/0.9153, allocations: 4 kB / 0.5547 GB, free: 7.359 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001046/0.9154, allocations: 73.5 kB / 0.5548 GB, free: 7.281 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.9154, allocations: 6.812 kB / 0.5548 GB, free: 7.277 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.9154, allocations: 3.984 kB / 0.5548 GB, free: 7.273 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.9154, allocations: 0 / 0.5548 GB, free: 7.273 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.169e-05/0.9155, allocations: 12 kB / 0.5548 GB, free: 7.262 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.9155, allocations: 4 kB / 0.5548 GB, free: 7.258 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.816e-05/0.9156, allocations: 11.98 kB / 0.5548 GB, free: 7.246 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.901e-06/0.9156, allocations: 0 / 0.5548 GB, free: 7.246 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.229e-05/0.9156, allocations: 106.5 kB / 0.5549 GB, free: 7.137 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.634e-05/0.9157, allocations: 11.81 kB / 0.5549 GB, free: 7.125 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001518/0.9158, allocations: 86.7 kB / 0.555 GB, free: 7.039 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.9159, allocations: 0 / 0.555 GB, free: 7.039 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.9159, allocations: 0 / 0.555 GB, free: 7.039 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.9159, allocations: 0 / 0.555 GB, free: 7.039 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003586/0.9162, allocations: 343 kB / 0.5553 GB, free: 6.66 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.9163, allocations: 0 / 0.5553 GB, free: 6.66 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.105e-05/0.9163, allocations: 19.92 kB / 0.5553 GB, free: 6.641 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.9163, allocations: 0 / 0.5553 GB, free: 6.641 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.664e-06/0.9164, allocations: 0 / 0.5553 GB, free: 6.641 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.9164, allocations: 4 kB / 0.5553 GB, free: 6.637 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.9164, allocations: 0 / 0.5553 GB, free: 6.637 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001523/0.9165, allocations: 171.5 kB / 0.5555 GB, free: 6.453 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002712/0.9168, allocations: 0.5428 MB / 0.556 GB, free: 5.891 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.244e-05/0.9169, allocations: 100.8 kB / 0.5561 GB, free: 5.773 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.371e-05/0.9169, allocations: 7.938 kB / 0.5561 GB, free: 5.766 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.095e-05/0.917, allocations: 8 kB / 0.5561 GB, free: 5.758 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.829e-05/0.917, allocations: 3.984 kB / 0.5561 GB, free: 5.754 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.301e-06/0.9171, allocations: 4 kB / 0.5562 GB, free: 5.75 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001371/0.9172, allocations: 171.2 kB / 0.5563 GB, free: 5.582 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008064/0.918, allocations: 31.84 kB / 0.5563 GB, free: 5.551 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.0006691/0.9187, allocations: 296 kB / 0.5566 GB, free: 5.301 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 9.684e-05/0.9188, allocations: 28 kB / 0.5567 GB, free: 5.273 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.9188, allocations: 0 / 0.5567 GB, free: 5.273 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.078e-05/0.9188, allocations: 19.94 kB / 0.5567 GB, free: 5.254 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002188/0.9191, allocations: 19.97 kB / 0.5567 GB, free: 5.23 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004043/0.9195, allocations: 187.7 kB / 0.5569 GB, free: 5.023 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003474/0.9198, allocations: 0.7343 MB / 0.5576 GB, free: 4.266 MB / 394.7 MB Notification: Performance of SimCode: time 2.7e-07/0.9198, allocations: 4 kB / 0.5576 GB, free: 4.262 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test32.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test32.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test32.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test32.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test32_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test32_fmu --startTime=7.99 --stopTime=20 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test32.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test32.pipe 2>&1)