Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3.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.Test3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test3",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.001725/0.001725, allocations: 188.5 kB / 7.803 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.501/1.501, allocations: 205.2 MB / 213.4 MB, free: 13.87 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.0008436/0.0008436, allocations: 89.27 kB / 261.4 MB, free: 13.57 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.2065/0.2065, allocations: 43.49 MB / 352.9 MB, free: 1.977 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2212/0.4277, allocations: 64.96 MB / 417.8 MB, free: 40.48 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2995/0.7273, allocations: 58.84 MB / 476.7 MB, free: 5.191 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1156/0.843, allocations: 85.67 MB / 0.5491 GB, free: 13.27 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002169/0.8432, allocations: 71.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.01042/0.8537, allocations: 3.872 MB / 0.553 GB, free: 9.289 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.62e-05/0.8537, allocations: 15.94 kB / 0.553 GB, free: 9.273 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.062e-05/0.8538, allocations: 7.906 kB / 0.553 GB, free: 9.266 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002533/0.854, allocations: 202.7 kB / 0.5532 GB, free: 9.027 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.341e-05/0.8541, allocations: 11.91 kB / 0.5532 GB, free: 9.016 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.298e-05/0.8541, allocations: 0 / 0.5532 GB, free: 9.016 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.835e-05/0.8542, allocations: 12 kB / 0.5532 GB, free: 9.004 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.518e-05/0.8543, allocations: 41.69 kB / 0.5533 GB, free: 8.957 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.8543, allocations: 0 / 0.5533 GB, free: 8.957 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.8543, allocations: 0 / 0.5533 GB, free: 8.957 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.618e-06/0.8543, allocations: 4 kB / 0.5533 GB, free: 8.953 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004533/0.8548, allocations: 269.4 kB / 0.5535 GB, free: 8.652 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001772/0.855, allocations: 33.66 kB / 0.5536 GB, free: 8.613 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.033e-05/0.855, allocations: 12.95 kB / 0.5536 GB, free: 8.598 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.687e-05/0.855, allocations: 3.984 kB / 0.5536 GB, free: 8.594 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.137e-05/0.8551, allocations: 30.56 kB / 0.5536 GB, free: 8.555 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.483e-06/0.8551, allocations: 0 / 0.5536 GB, free: 8.555 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004138/0.8555, allocations: 121.2 kB / 0.5537 GB, free: 8.43 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.405e-05/0.8555, allocations: 51.41 kB / 0.5538 GB, free: 8.367 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001501/0.8557, allocations: 165.4 kB / 0.5539 GB, free: 8.199 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.127e-05/0.8557, allocations: 29.7 kB / 0.554 GB, free: 8.164 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.324e-05/0.8557, allocations: 88.12 kB / 0.554 GB, free: 8.074 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.76e-05/0.8558, allocations: 15.72 kB / 0.5541 GB, free: 8.059 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.359e-06/0.8558, allocations: 4 kB / 0.5541 GB, free: 8.055 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001084/0.8559, allocations: 322.8 kB / 0.5544 GB, free: 7.73 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.002e-05/0.8559, allocations: 15.94 kB / 0.5544 GB, free: 7.715 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.053e-05/0.856, allocations: 8 kB / 0.5544 GB, free: 7.707 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.067e-05/0.856, allocations: 15.98 kB / 0.5544 GB, free: 7.691 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.91e-07/0.856, allocations: 0 / 0.5544 GB, free: 7.691 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001056/0.8561, allocations: 65.59 kB / 0.5545 GB, free: 7.621 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.8561, allocations: 4 kB / 0.5545 GB, free: 7.617 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.8562, allocations: 0 / 0.5545 GB, free: 7.617 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.8562, allocations: 0 / 0.5545 GB, free: 7.617 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.678e-05/0.8563, allocations: 23.92 kB / 0.5545 GB, free: 7.594 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.657e-06/0.8563, allocations: 4 kB / 0.5545 GB, free: 7.59 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.754e-05/0.8563, allocations: 7.906 kB / 0.5545 GB, free: 7.582 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.745e-06/0.8563, allocations: 4 kB / 0.5545 GB, free: 7.578 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.035e-05/0.8564, allocations: 106.5 kB / 0.5546 GB, free: 7.469 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.745e-05/0.8565, allocations: 11.91 kB / 0.5546 GB, free: 7.457 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001504/0.8566, allocations: 78.09 kB / 0.5547 GB, free: 7.379 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.686e-06/0.8566, allocations: 4.109 kB / 0.5547 GB, free: 7.375 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.644e-06/0.8566, allocations: 11.98 kB / 0.5547 GB, free: 7.363 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.8566, allocations: 0 / 0.5547 GB, free: 7.363 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003314/0.857, allocations: 327 kB / 0.555 GB, free: 7 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.857, allocations: 0 / 0.555 GB, free: 7 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.658e-05/0.8571, allocations: 16 kB / 0.555 GB, free: 6.984 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.512e-06/0.8571, allocations: 7.891 kB / 0.5551 GB, free: 6.977 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.438e-06/0.8571, allocations: 4 kB / 0.5551 GB, free: 6.973 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.8571, allocations: 0 / 0.5551 GB, free: 6.973 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.8571, allocations: 0 / 0.5551 GB, free: 6.973 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001308/0.8573, allocations: 159.5 kB / 0.5552 GB, free: 6.801 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002276/0.8575, allocations: 0.5427 MB / 0.5557 GB, free: 6.238 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.86e-05/0.8575, allocations: 89 kB / 0.5558 GB, free: 6.133 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.172e-05/0.8576, allocations: 3.906 kB / 0.5558 GB, free: 6.129 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.214e-05/0.8577, allocations: 11.98 kB / 0.5558 GB, free: 6.117 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.037e-05/0.8577, allocations: 4 kB / 0.5558 GB, free: 6.113 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.857e-06/0.8577, allocations: 0 / 0.5558 GB, free: 6.113 MB / 394.7 MB Notification: Performance of sort global known variables: time 9.945e-05/0.8578, allocations: 140.1 kB / 0.556 GB, free: 5.977 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008266/0.8587, allocations: 27.94 kB / 0.556 GB, free: 5.949 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.0006165/0.8593, allocations: 301.3 kB / 0.5563 GB, free: 5.688 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001023/0.8594, allocations: 35.94 kB / 0.5563 GB, free: 5.652 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.8594, allocations: 0 / 0.5563 GB, free: 5.652 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.315e-05/0.8594, allocations: 19.98 kB / 0.5563 GB, free: 5.633 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002199/0.8597, allocations: 13.31 kB / 0.5564 GB, free: 5.621 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003572/0.86, allocations: 147.7 kB / 0.5565 GB, free: 5.445 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002834/0.8603, allocations: 0.7308 MB / 0.5572 GB, free: 4.688 MB / 394.7 MB Notification: Performance of SimCode: time 2.51e-07/0.8603, allocations: 0 / 0.5572 GB, free: 4.688 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test3_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test3.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3.pipe 2>&1)