Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test15.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.CombiTable1Ds.Test15,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test15",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test15,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test15",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.001014/0.001014, allocations: 183.8 kB / 7.801 MB, free: 2.199 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.531/1.531, 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.001073/0.001073, allocations: 90.38 kB / 261.4 MB, free: 13.62 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.2061/0.2061, allocations: 43.49 MB / 352.8 MB, free: 2.012 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2372/0.4433, allocations: 64.97 MB / 417.8 MB, free: 40.46 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3478/0.7911, allocations: 58.83 MB / 476.7 MB, free: 5.184 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1403/0.9315, allocations: 85.56 MB / 0.549 GB, free: 13.35 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002535/0.9318, allocations: 71.97 kB / 0.5491 GB, free: 13.28 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.01124/0.943, allocations: 3.938 MB / 0.553 GB, free: 9.309 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.997e-05/0.9431, allocations: 11.94 kB / 0.553 GB, free: 9.297 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.673e-05/0.9431, allocations: 11.91 kB / 0.553 GB, free: 9.285 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002912/0.9434, allocations: 201.6 kB / 0.5532 GB, free: 9.051 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.234e-05/0.9435, allocations: 0 / 0.5532 GB, free: 9.051 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.915e-05/0.9435, allocations: 4 kB / 0.5532 GB, free: 9.047 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.397e-05/0.9436, allocations: 12 kB / 0.5532 GB, free: 9.035 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.056e-05/0.9437, allocations: 37.69 kB / 0.5532 GB, free: 8.992 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/0.9437, allocations: 0 / 0.5532 GB, free: 8.992 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.578e-06/0.9437, allocations: 0 / 0.5532 GB, free: 8.992 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.9437, allocations: 4 kB / 0.5532 GB, free: 8.988 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003977/0.9441, allocations: 265.4 kB / 0.5535 GB, free: 8.691 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001852/0.9443, allocations: 29.7 kB / 0.5535 GB, free: 8.656 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.255e-05/0.9444, allocations: 12.86 kB / 0.5535 GB, free: 8.641 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.392e-05/0.9444, allocations: 0 / 0.5535 GB, free: 8.641 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.577e-05/0.9444, allocations: 30.56 kB / 0.5535 GB, free: 8.602 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.453e-06/0.9444, allocations: 0 / 0.5535 GB, free: 8.602 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005153/0.945, allocations: 113.5 kB / 0.5537 GB, free: 8.484 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.282e-05/0.945, allocations: 51.41 kB / 0.5537 GB, free: 8.422 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002137/0.9452, allocations: 181.3 kB / 0.5539 GB, free: 8.238 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.957e-05/0.9453, allocations: 25.7 kB / 0.5539 GB, free: 8.207 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.981e-05/0.9453, allocations: 92.12 kB / 0.554 GB, free: 8.113 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.882e-05/0.9453, allocations: 15.75 kB / 0.554 GB, free: 8.098 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.578e-06/0.9454, allocations: 4 kB / 0.554 GB, free: 8.094 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001837/0.9456, allocations: 318.8 kB / 0.5543 GB, free: 7.773 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.929e-05/0.9456, allocations: 12 kB / 0.5543 GB, free: 7.762 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.179e-05/0.9456, allocations: 11.94 kB / 0.5543 GB, free: 7.75 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.197e-05/0.9457, allocations: 12.17 kB / 0.5543 GB, free: 7.738 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.9457, allocations: 0 / 0.5543 GB, free: 7.738 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000118/0.9458, allocations: 65.52 kB / 0.5544 GB, free: 7.668 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.9458, allocations: 7.938 kB / 0.5544 GB, free: 7.66 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.9458, allocations: 7.938 kB / 0.5544 GB, free: 7.652 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/0.9459, allocations: 7.984 kB / 0.5544 GB, free: 7.645 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.451e-05/0.946, allocations: 15.98 kB / 0.5544 GB, free: 7.629 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.946, allocations: 0 / 0.5544 GB, free: 7.629 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.283e-05/0.946, allocations: 7.984 kB / 0.5545 GB, free: 7.621 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.708e-06/0.946, allocations: 4 kB / 0.5545 GB, free: 7.617 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 0.0001027/0.9462, allocations: 102.5 kB / 0.5546 GB, free: 7.512 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.742e-05/0.9462, allocations: 15.81 kB / 0.5546 GB, free: 7.496 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001767/0.9464, allocations: 69.86 kB / 0.5546 GB, free: 7.418 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.115e-06/0.9464, allocations: 4 kB / 0.5546 GB, free: 7.414 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.9464, allocations: 0 / 0.5546 GB, free: 7.414 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.9464, allocations: 0 / 0.5546 GB, free: 7.414 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004358/0.9469, allocations: 319 kB / 0.5549 GB, free: 7.055 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.9469, allocations: 3.984 kB / 0.5549 GB, free: 7.051 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.982e-05/0.947, allocations: 16 kB / 0.555 GB, free: 7.035 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.947, allocations: 0 / 0.555 GB, free: 7.035 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.247e-06/0.947, allocations: 0 / 0.555 GB, free: 7.035 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.947, allocations: 0 / 0.555 GB, free: 7.035 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.947, allocations: 0 / 0.555 GB, free: 7.035 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001769/0.9472, allocations: 163.3 kB / 0.5551 GB, free: 6.859 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000333/0.9475, allocations: 0.5352 MB / 0.5556 GB, free: 6.305 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.298e-05/0.9476, allocations: 97 kB / 0.5557 GB, free: 6.191 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.309e-05/0.9476, allocations: 0 / 0.5557 GB, free: 6.191 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.386e-05/0.9477, allocations: 7.984 kB / 0.5557 GB, free: 6.184 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.415e-05/0.9478, allocations: 7.906 kB / 0.5557 GB, free: 6.176 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.238e-06/0.9478, allocations: 0 / 0.5557 GB, free: 6.176 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001469/0.9479, allocations: 156.1 kB / 0.5559 GB, free: 6.023 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009182/0.9489, allocations: 20 kB / 0.5559 GB, free: 6.004 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.0007197/0.9496, allocations: 310.1 kB / 0.5562 GB, free: 5.73 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001043/0.9497, allocations: 24 kB / 0.5562 GB, free: 5.707 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.9497, allocations: 0 / 0.5562 GB, free: 5.707 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.188e-05/0.9498, allocations: 16 kB / 0.5562 GB, free: 5.691 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002506/0.95, allocations: 19.84 kB / 0.5563 GB, free: 5.672 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004254/0.9505, allocations: 155.8 kB / 0.5564 GB, free: 5.488 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004975/0.951, allocations: 0.7192 MB / 0.5571 GB, free: 4.742 MB / 394.7 MB Notification: Performance of SimCode: time 2.6e-07/0.951, allocations: 0 / 0.5571 GB, free: 4.742 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test15.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test15_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test15_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test15.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe 2>&1)