Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test28.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.Test28,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test28,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test28",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.001114/0.001114, allocations: 180.5 kB / 7.803 MB, free: 2.176 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.319/1.319, allocations: 205.2 MB / 213.4 MB, free: 13.84 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.0008725/0.0008726, allocations: 90.69 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.1757/0.1757, allocations: 43.5 MB / 352.8 MB, free: 1.949 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.206/0.3818, allocations: 64.96 MB / 417.8 MB, free: 40.46 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.323/0.7048, allocations: 58.84 MB / 476.6 MB, free: 5.293 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1248/0.8296, allocations: 85.57 MB / 0.549 GB, free: 13.44 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00027/0.83, allocations: 67.97 kB / 0.5491 GB, free: 13.38 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.0113/0.8413, allocations: 4.063 MB / 0.5531 GB, free: 9.273 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/0.8413, allocations: 8 kB / 0.5531 GB, free: 9.266 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.112e-05/0.8414, allocations: 11.81 kB / 0.5531 GB, free: 9.254 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002836/0.8417, allocations: 202.8 kB / 0.5533 GB, free: 9.016 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.8417, allocations: 3.984 kB / 0.5533 GB, free: 9.012 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.323e-05/0.8417, allocations: 4 kB / 0.5533 GB, free: 9.008 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.89e-05/0.8418, allocations: 15.94 kB / 0.5533 GB, free: 8.992 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.388e-05/0.8419, allocations: 37.69 kB / 0.5533 GB, free: 8.949 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.8419, allocations: 4 kB / 0.5533 GB, free: 8.945 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/0.8419, allocations: 4 kB / 0.5533 GB, free: 8.941 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.203e-06/0.842, allocations: 0 / 0.5533 GB, free: 8.941 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003943/0.8424, allocations: 269.4 kB / 0.5536 GB, free: 8.641 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001831/0.8426, allocations: 29.7 kB / 0.5536 GB, free: 8.605 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.03e-05/0.8426, allocations: 12.8 kB / 0.5536 GB, free: 8.59 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.268e-05/0.8426, allocations: 0 / 0.5536 GB, free: 8.59 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.306e-05/0.8427, allocations: 42.5 kB / 0.5537 GB, free: 8.539 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.8427, allocations: 0 / 0.5537 GB, free: 8.539 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004581/0.8431, allocations: 105.2 kB / 0.5538 GB, free: 8.426 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.091e-05/0.8432, allocations: 55.41 kB / 0.5538 GB, free: 8.359 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002343/0.8434, allocations: 213.9 kB / 0.554 GB, free: 8.141 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.507e-05/0.8435, allocations: 29.7 kB / 0.5541 GB, free: 8.105 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.156e-05/0.8435, allocations: 96.12 kB / 0.5542 GB, free: 8.008 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.84e-05/0.8436, allocations: 19.66 kB / 0.5542 GB, free: 7.988 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.268e-06/0.8436, allocations: 3.938 kB / 0.5542 GB, free: 7.984 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001365/0.8437, allocations: 322.8 kB / 0.5545 GB, free: 7.66 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.133e-05/0.8438, allocations: 8 kB / 0.5545 GB, free: 7.652 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.119e-05/0.8438, allocations: 15.94 kB / 0.5545 GB, free: 7.637 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.9e-05/0.8438, allocations: 11.98 kB / 0.5545 GB, free: 7.625 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.01e-07/0.8438, allocations: 0 / 0.5545 GB, free: 7.625 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001055/0.8439, allocations: 61.52 kB / 0.5546 GB, free: 7.559 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.844, allocations: 6.812 kB / 0.5546 GB, free: 7.555 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.453e-06/0.844, allocations: 4 kB / 0.5546 GB, free: 7.551 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.844, allocations: 0 / 0.5546 GB, free: 7.551 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.849e-05/0.8441, allocations: 15.98 kB / 0.5546 GB, free: 7.535 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-06/0.8441, allocations: 0 / 0.5546 GB, free: 7.535 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.401e-05/0.8441, allocations: 11.98 kB / 0.5546 GB, free: 7.523 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.037e-06/0.8442, allocations: 4.25 kB / 0.5546 GB, free: 7.52 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.844e-05/0.8443, allocations: 110.5 kB / 0.5547 GB, free: 7.406 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.158e-05/0.8443, allocations: 11.95 kB / 0.5547 GB, free: 7.395 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001709/0.8445, allocations: 78.75 kB / 0.5548 GB, free: 7.316 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.8445, allocations: 0 / 0.5548 GB, free: 7.316 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.8445, allocations: 0 / 0.5548 GB, free: 7.316 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.8445, allocations: 0 / 0.5548 GB, free: 7.316 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003798/0.8449, allocations: 343 kB / 0.5551 GB, free: 6.938 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.8449, allocations: 0 / 0.5551 GB, free: 6.938 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.669e-05/0.845, allocations: 15.98 kB / 0.5552 GB, free: 6.922 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.845, allocations: 0 / 0.5552 GB, free: 6.922 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.243e-06/0.845, allocations: 0 / 0.5552 GB, free: 6.922 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.845, allocations: 0 / 0.5552 GB, free: 6.922 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/0.845, allocations: 0 / 0.5552 GB, free: 6.922 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001394/0.8452, allocations: 163.4 kB / 0.5553 GB, free: 6.746 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003018/0.8455, allocations: 0.5349 MB / 0.5558 GB, free: 6.191 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.989e-05/0.8455, allocations: 100.9 kB / 0.5559 GB, free: 6.074 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.361e-05/0.8456, allocations: 0 / 0.5559 GB, free: 6.074 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.508e-05/0.8457, allocations: 12 kB / 0.5559 GB, free: 6.062 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.673e-05/0.8457, allocations: 3.984 kB / 0.556 GB, free: 6.059 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.348e-06/0.8457, allocations: 256 / 0.556 GB, free: 6.059 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.000158/0.8459, allocations: 175.2 kB / 0.5561 GB, free: 5.887 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008556/0.8468, allocations: 27.91 kB / 0.5561 GB, free: 5.859 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.0006898/0.8474, allocations: 293.6 kB / 0.5564 GB, free: 5.605 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 9.905e-05/0.8476, allocations: 31.94 kB / 0.5565 GB, free: 5.574 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.8476, allocations: 0 / 0.5565 GB, free: 5.574 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.897e-05/0.8476, allocations: 16 kB / 0.5565 GB, free: 5.559 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002358/0.8478, allocations: 19.31 kB / 0.5565 GB, free: 5.539 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004144/0.8483, allocations: 179.7 kB / 0.5567 GB, free: 5.34 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003949/0.8487, allocations: 0.7342 MB / 0.5574 GB, free: 4.582 MB / 394.7 MB Notification: Performance of SimCode: time 2.5e-07/0.8487, allocations: 0 / 0.5574 GB, free: 4.582 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test28.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test28_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test28_fmu --startTime=7.99 --stopTime=20 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test28.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe 2>&1)