Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test11.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.Test11,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test11,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test11",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.001583/0.001583, allocations: 187 kB / 7.803 MB, free: 2.496 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.46/1.46, allocations: 205.2 MB / 213.4 MB, free: 13.93 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.001017/0.001017, allocations: 90.45 kB / 261.4 MB, free: 13.56 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.2042/0.2042, allocations: 43.5 MB / 352.9 MB, free: 1.969 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2439/0.4482, allocations: 64.96 MB / 417.8 MB, free: 40.48 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3441/0.7923, allocations: 58.84 MB / 476.7 MB, free: 5.184 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1374/0.9298, allocations: 85.63 MB / 0.5491 GB, free: 13.29 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002654/0.9301, allocations: 67.95 kB / 0.5492 GB, free: 13.22 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.01027/0.9404, allocations: 3.645 MB / 0.5527 GB, free: 9.539 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/0.9404, allocations: 8 kB / 0.5527 GB, free: 9.531 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.732e-05/0.9405, allocations: 7.906 kB / 0.5527 GB, free: 9.523 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002319/0.9407, allocations: 198.1 kB / 0.5529 GB, free: 9.293 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.034e-05/0.9407, allocations: 0 / 0.5529 GB, free: 9.293 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.802e-05/0.9408, allocations: 8 kB / 0.5529 GB, free: 9.285 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.58e-05/0.9409, allocations: 15.98 kB / 0.553 GB, free: 9.27 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.232e-05/0.9409, allocations: 37.7 kB / 0.553 GB, free: 9.227 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.941, allocations: 7.844 kB / 0.553 GB, free: 9.219 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.836e-06/0.941, allocations: 0 / 0.553 GB, free: 9.219 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/0.941, allocations: 3.984 kB / 0.553 GB, free: 9.215 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003802/0.9414, allocations: 265.4 kB / 0.5533 GB, free: 8.918 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001637/0.9415, allocations: 33.7 kB / 0.5533 GB, free: 8.879 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.947e-05/0.9416, allocations: 8.859 kB / 0.5533 GB, free: 8.867 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.155e-05/0.9416, allocations: 0 / 0.5533 GB, free: 8.867 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.21e-05/0.9416, allocations: 30.56 kB / 0.5533 GB, free: 8.828 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.9417, allocations: 0 / 0.5533 GB, free: 8.828 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004553/0.9421, allocations: 117.4 kB / 0.5534 GB, free: 8.707 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.94e-05/0.9422, allocations: 51.41 kB / 0.5535 GB, free: 8.645 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001484/0.9423, allocations: 145 kB / 0.5536 GB, free: 8.496 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.689e-05/0.9423, allocations: 25.7 kB / 0.5537 GB, free: 8.465 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.764e-05/0.9424, allocations: 88.08 kB / 0.5537 GB, free: 8.375 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.686e-05/0.9424, allocations: 23.7 kB / 0.5538 GB, free: 8.352 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.968e-06/0.9424, allocations: 0 / 0.5538 GB, free: 8.352 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001171/0.9425, allocations: 318.8 kB / 0.5541 GB, free: 8.031 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.785e-05/0.9426, allocations: 15.98 kB / 0.5541 GB, free: 8.016 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.871e-05/0.9426, allocations: 15.94 kB / 0.5541 GB, free: 8 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.07e-05/0.9426, allocations: 12 kB / 0.5541 GB, free: 7.988 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.91e-07/0.9427, allocations: 0 / 0.5541 GB, free: 7.988 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001015/0.9428, allocations: 65.53 kB / 0.5542 GB, free: 7.918 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.9428, allocations: 4 kB / 0.5542 GB, free: 7.914 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.9428, allocations: 4 kB / 0.5542 GB, free: 7.91 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.9428, allocations: 0 / 0.5542 GB, free: 7.91 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.633e-05/0.9429, allocations: 19.98 kB / 0.5542 GB, free: 7.891 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/0.9429, allocations: 0 / 0.5542 GB, free: 7.891 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.136e-05/0.943, allocations: 12.14 kB / 0.5542 GB, free: 7.879 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.486e-06/0.943, allocations: 4 kB / 0.5542 GB, free: 7.875 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.227e-05/0.9431, allocations: 102.4 kB / 0.5543 GB, free: 7.77 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.502e-05/0.9431, allocations: 15.91 kB / 0.5543 GB, free: 7.754 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001824/0.9433, allocations: 81.8 kB / 0.5544 GB, free: 7.664 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.235e-06/0.9433, allocations: 3.938 kB / 0.5544 GB, free: 7.66 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.9433, allocations: 0 / 0.5544 GB, free: 7.66 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.753e-06/0.9433, allocations: 4 kB / 0.5544 GB, free: 7.656 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00039/0.9437, allocations: 319 kB / 0.5547 GB, free: 7.301 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.572e-06/0.9437, allocations: 0 / 0.5547 GB, free: 7.301 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.826e-05/0.9438, allocations: 16 kB / 0.5547 GB, free: 7.285 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.9438, allocations: 0 / 0.5547 GB, free: 7.285 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.185e-06/0.9438, allocations: 0 / 0.5547 GB, free: 7.285 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.59e-06/0.9439, allocations: 0 / 0.5547 GB, free: 7.285 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.285e-06/0.9439, allocations: 15.83 kB / 0.5547 GB, free: 7.27 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001512/0.944, allocations: 159.6 kB / 0.5549 GB, free: 7.098 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002955/0.9443, allocations: 0.5349 MB / 0.5554 GB, free: 6.543 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.802e-05/0.9444, allocations: 93 kB / 0.5555 GB, free: 6.434 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.017e-05/0.9444, allocations: 0 / 0.5555 GB, free: 6.434 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.006e-05/0.9445, allocations: 8 kB / 0.5555 GB, free: 6.426 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.407e-05/0.9446, allocations: 4.375 kB / 0.5555 GB, free: 6.422 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.993e-06/0.9446, allocations: 4 kB / 0.5555 GB, free: 6.418 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001058/0.9447, allocations: 119 kB / 0.5556 GB, free: 6.305 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008741/0.9456, allocations: 27.94 kB / 0.5557 GB, free: 6.277 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.0007151/0.9463, allocations: 306.6 kB / 0.556 GB, free: 6.008 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001121/0.9464, allocations: 35.98 kB / 0.556 GB, free: 5.973 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.9464, allocations: 0 / 0.556 GB, free: 5.973 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.201e-05/0.9465, allocations: 19.94 kB / 0.556 GB, free: 5.953 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002288/0.9467, allocations: 19.75 kB / 0.556 GB, free: 5.934 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003748/0.9471, allocations: 135.6 kB / 0.5562 GB, free: 5.773 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003351/0.9474, allocations: 0.7114 MB / 0.5569 GB, free: 5.035 MB / 394.7 MB Notification: Performance of SimCode: time 2.4e-07/0.9474, allocations: 4 kB / 0.5569 GB, free: 5.031 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test11.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test11.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test11.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test11.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test11_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test11_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test11.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test11.pipe 2>&1)