Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test16.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.Test16,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test16,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test16",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.001618/0.001618, allocations: 187.4 kB / 7.802 MB, free: 1.188 MB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.435/1.435, allocations: 205.2 MB / 213.4 MB, free: 3.895 MB / 178.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009076/0.0009076, allocations: 80.97 kB / 261.4 MB, free: 4.266 MB / 210.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3536/0.3536, allocations: 43.48 MB / 352.8 MB, free: 50.23 MB / 290.8 MB Notification: Performance of FrontEnd - loaded program: time 0.106/0.4596, allocations: 64.98 MB / 417.8 MB, free: 5.043 MB / 306.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1475/0.6071, allocations: 58.84 MB / 476.6 MB, free: 10.09 MB / 370.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3397/0.9469, allocations: 85.66 MB / 0.5491 GB, free: 12.48 MB / 386.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003881/0.9473, allocations: 75.95 kB / 0.5492 GB, free: 12.41 MB / 386.8 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.01141/0.9588, allocations: 3.951 MB / 0.5531 GB, free: 8.469 MB / 386.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.9588, allocations: 8 kB / 0.5531 GB, free: 8.461 MB / 386.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.712e-05/0.9589, allocations: 7.906 kB / 0.5531 GB, free: 8.453 MB / 386.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002707/0.9592, allocations: 204.1 kB / 0.5533 GB, free: 8.215 MB / 386.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.049e-05/0.9592, allocations: 8 kB / 0.5533 GB, free: 8.207 MB / 386.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.649e-05/0.9592, allocations: 0 / 0.5533 GB, free: 8.207 MB / 386.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.569e-05/0.9593, allocations: 16.5 kB / 0.5533 GB, free: 8.191 MB / 386.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.702e-05/0.9594, allocations: 41.69 kB / 0.5533 GB, free: 8.145 MB / 386.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.9594, allocations: 0 / 0.5533 GB, free: 8.145 MB / 386.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.378e-06/0.9594, allocations: 0 / 0.5533 GB, free: 8.145 MB / 386.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.9594, allocations: 2.562 kB / 0.5533 GB, free: 8.145 MB / 386.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004356/0.9599, allocations: 277.4 kB / 0.5536 GB, free: 7.836 MB / 386.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000192/0.9601, allocations: 29.72 kB / 0.5536 GB, free: 7.801 MB / 386.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.045e-05/0.9601, allocations: 8.859 kB / 0.5536 GB, free: 7.789 MB / 386.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.8e-05/0.9601, allocations: 4.078 kB / 0.5536 GB, free: 7.785 MB / 386.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.402e-05/0.9602, allocations: 38.5 kB / 0.5537 GB, free: 7.738 MB / 386.8 MB Notification: Performance of pre-optimization done (n=3): time 1.503e-06/0.9602, allocations: 0 / 0.5537 GB, free: 7.738 MB / 386.8 MB Notification: Performance of matching and sorting (n=5): time 0.0004703/0.9606, allocations: 109.3 kB / 0.5538 GB, free: 7.625 MB / 386.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.044e-05/0.9607, allocations: 59.39 kB / 0.5538 GB, free: 7.555 MB / 386.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002221/0.9609, allocations: 179.6 kB / 0.554 GB, free: 7.375 MB / 386.8 MB Notification: Performance of collectPreVariables (initialization): time 1.431e-05/0.961, allocations: 31.02 kB / 0.554 GB, free: 7.34 MB / 386.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.021e-05/0.961, allocations: 92.12 kB / 0.5541 GB, free: 7.246 MB / 386.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.671e-05/0.961, allocations: 11.75 kB / 0.5541 GB, free: 7.234 MB / 386.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.082e-06/0.9611, allocations: 4 kB / 0.5541 GB, free: 7.23 MB / 386.8 MB Notification: Performance of setup shared object (initialization): time 0.0001487/0.9612, allocations: 326.8 kB / 0.5545 GB, free: 6.902 MB / 386.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.7e-05/0.9612, allocations: 12 kB / 0.5545 GB, free: 6.891 MB / 386.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.243e-05/0.9613, allocations: 15.92 kB / 0.5545 GB, free: 6.875 MB / 386.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.818e-05/0.9613, allocations: 12 kB / 0.5545 GB, free: 6.863 MB / 386.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.01e-07/0.9613, allocations: 0 / 0.5545 GB, free: 6.863 MB / 386.8 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001043/0.9614, allocations: 73.5 kB / 0.5546 GB, free: 6.785 MB / 386.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.9614, allocations: 4 kB / 0.5546 GB, free: 6.781 MB / 386.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.9615, allocations: 4.141 kB / 0.5546 GB, free: 6.777 MB / 386.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.061e-05/0.9615, allocations: 4 kB / 0.5546 GB, free: 6.773 MB / 386.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.441e-05/0.9616, allocations: 19.97 kB / 0.5546 GB, free: 6.754 MB / 386.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.9616, allocations: 1.312 kB / 0.5546 GB, free: 6.754 MB / 386.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.547e-05/0.9616, allocations: 7.984 kB / 0.5546 GB, free: 6.746 MB / 386.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.122e-06/0.9616, allocations: 0 / 0.5546 GB, free: 6.746 MB / 386.8 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.457e-05/0.9617, allocations: 110.5 kB / 0.5547 GB, free: 6.633 MB / 386.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.61e-05/0.9618, allocations: 14.94 kB / 0.5547 GB, free: 6.621 MB / 386.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001594/0.9619, allocations: 85.78 kB / 0.5548 GB, free: 6.535 MB / 386.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.9619, allocations: 0 / 0.5548 GB, free: 6.535 MB / 386.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.9619, allocations: 0 / 0.5548 GB, free: 6.535 MB / 386.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.9619, allocations: 0 / 0.5548 GB, free: 6.535 MB / 386.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00034/0.9623, allocations: 327 kB / 0.5551 GB, free: 6.172 MB / 386.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.9623, allocations: 0 / 0.5551 GB, free: 6.172 MB / 386.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.659e-05/0.9624, allocations: 23.92 kB / 0.5551 GB, free: 6.148 MB / 386.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.9624, allocations: 0 / 0.5551 GB, free: 6.148 MB / 386.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-06/0.9624, allocations: 0 / 0.5551 GB, free: 6.148 MB / 386.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.9624, allocations: 6.25 kB / 0.5551 GB, free: 6.145 MB / 386.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.9624, allocations: 0 / 0.5551 GB, free: 6.145 MB / 386.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001421/0.9626, allocations: 167.3 kB / 0.5553 GB, free: 5.965 MB / 386.8 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002686/0.9628, allocations: 0.5455 MB / 0.5558 GB, free: 5.402 MB / 386.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.667e-05/0.9629, allocations: 93 kB / 0.5559 GB, free: 5.293 MB / 386.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.978e-05/0.9629, allocations: 0 / 0.5559 GB, free: 5.293 MB / 386.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.731e-05/0.963, allocations: 8 kB / 0.5559 GB, free: 5.285 MB / 386.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.976e-05/0.9631, allocations: 7.891 kB / 0.5559 GB, free: 5.277 MB / 386.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.681e-06/0.9631, allocations: 4 kB / 0.5559 GB, free: 5.273 MB / 386.8 MB Notification: Performance of sort global known variables: time 0.0001234/0.9632, allocations: 148.6 kB / 0.5561 GB, free: 5.129 MB / 386.8 MB Notification: Performance of remove unused functions: time 0.0007872/0.964, allocations: 23.94 kB / 0.5561 GB, free: 5.105 MB / 386.8 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.0005946/0.9646, allocations: 306.3 kB / 0.5564 GB, free: 4.871 MB / 386.8 MB Notification: Performance of simCode: created initialization part: time 0.0001007/0.9647, allocations: 32 kB / 0.5564 GB, free: 4.84 MB / 386.8 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.9647, allocations: 0 / 0.5564 GB, free: 4.84 MB / 386.8 MB Notification: Performance of simCode: created simulation system equations: time 3.284e-05/0.9648, allocations: 23.92 kB / 0.5565 GB, free: 4.816 MB / 386.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002096/0.965, allocations: 12.75 kB / 0.5565 GB, free: 4.805 MB / 386.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003585/0.9654, allocations: 154.6 kB / 0.5566 GB, free: 4.625 MB / 386.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003256/0.9657, allocations: 0.7225 MB / 0.5573 GB, free: 3.879 MB / 386.8 MB Notification: Performance of SimCode: time 2.5e-07/0.9657, allocations: 0 / 0.5573 GB, free: 3.879 MB / 386.8 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test16.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test16.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test16.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test16.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test16_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test16_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test16.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test16.pipe 2>&1)