Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1.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.Test1,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test1,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test1",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: 190.2 kB / 7.802 MB, free: 2.5 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.327/1.327, 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.0009016/0.0009015, allocations: 89.69 kB / 261.4 MB, free: 13.53 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.1797/0.1797, allocations: 43.49 MB / 352.8 MB, free: 1.957 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2211/0.4009, allocations: 64.97 MB / 417.8 MB, free: 40.47 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3623/0.7632, allocations: 58.83 MB / 476.6 MB, free: 5.18 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1354/0.8986, allocations: 85.63 MB / 0.5491 GB, free: 13.3 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002661/0.899, allocations: 75.47 kB / 0.5492 GB, free: 13.23 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.009866/0.9089, allocations: 3.547 MB / 0.5526 GB, free: 9.645 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.9089, allocations: 15.98 kB / 0.5526 GB, free: 9.629 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.629e-05/0.909, allocations: 11.84 kB / 0.5527 GB, free: 9.617 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002206/0.9092, allocations: 194.8 kB / 0.5528 GB, free: 9.387 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.384e-05/0.9092, allocations: 7.906 kB / 0.5529 GB, free: 9.379 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.891e-05/0.9092, allocations: 0 / 0.5529 GB, free: 9.379 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.923e-05/0.9093, allocations: 15.98 kB / 0.5529 GB, free: 9.363 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.25e-05/0.9094, allocations: 37.69 kB / 0.5529 GB, free: 9.32 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.9094, allocations: 0 / 0.5529 GB, free: 9.32 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/0.9094, allocations: 0 / 0.5529 GB, free: 9.32 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.9094, allocations: 0 / 0.5529 GB, free: 9.32 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004257/0.9099, allocations: 269.4 kB / 0.5532 GB, free: 9.02 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000185/0.9101, allocations: 29.7 kB / 0.5532 GB, free: 8.984 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.084e-05/0.9101, allocations: 12.86 kB / 0.5532 GB, free: 8.969 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.537e-05/0.9102, allocations: 4 kB / 0.5532 GB, free: 8.965 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.008e-05/0.9102, allocations: 34.56 kB / 0.5532 GB, free: 8.922 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.9102, allocations: 0 / 0.5532 GB, free: 8.922 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004293/0.9106, allocations: 105.4 kB / 0.5533 GB, free: 8.812 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.412e-05/0.9107, allocations: 51.41 kB / 0.5534 GB, free: 8.75 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001124/0.9108, allocations: 129.2 kB / 0.5535 GB, free: 8.613 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.721e-05/0.9108, allocations: 25.7 kB / 0.5535 GB, free: 8.582 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.914e-05/0.9109, allocations: 92.14 kB / 0.5536 GB, free: 8.488 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.231e-05/0.9109, allocations: 15.7 kB / 0.5536 GB, free: 8.473 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.108e-06/0.9109, allocations: 0 / 0.5536 GB, free: 8.473 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001252/0.911, allocations: 318.8 kB / 0.5539 GB, free: 8.152 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.746e-05/0.9111, allocations: 15.98 kB / 0.554 GB, free: 8.137 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.979e-05/0.9111, allocations: 8 kB / 0.554 GB, free: 8.129 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.087e-05/0.9111, allocations: 12 kB / 0.554 GB, free: 8.117 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-07/0.9111, allocations: 3.938 kB / 0.554 GB, free: 8.113 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001092/0.9113, allocations: 69.59 kB / 0.554 GB, free: 8.039 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.9113, allocations: 10.8 kB / 0.5541 GB, free: 8.031 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.9113, allocations: 0 / 0.5541 GB, free: 8.031 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.12e-05/0.9113, allocations: 0 / 0.5541 GB, free: 8.031 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.442e-05/0.9114, allocations: 15.94 kB / 0.5541 GB, free: 8.016 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.027e-06/0.9114, allocations: 0 / 0.5541 GB, free: 8.016 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.376e-05/0.9114, allocations: 11.98 kB / 0.5541 GB, free: 8.004 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.63e-06/0.9115, allocations: 4.25 kB / 0.5541 GB, free: 8 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 6.928e-05/0.9115, allocations: 109.7 kB / 0.5542 GB, free: 7.891 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.177e-05/0.9116, allocations: 7.906 kB / 0.5542 GB, free: 7.883 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001609/0.9117, allocations: 77.86 kB / 0.5543 GB, free: 7.801 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.9117, allocations: 4.141 kB / 0.5543 GB, free: 7.797 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.9118, allocations: 0 / 0.5543 GB, free: 7.797 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-06/0.9118, allocations: 3.984 kB / 0.5543 GB, free: 7.793 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002943/0.9121, allocations: 315 kB / 0.5546 GB, free: 7.441 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.9121, allocations: 3.938 kB / 0.5546 GB, free: 7.438 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.521e-05/0.9121, allocations: 15.98 kB / 0.5546 GB, free: 7.422 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.9122, allocations: 0 / 0.5546 GB, free: 7.422 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.903e-06/0.9122, allocations: 0 / 0.5546 GB, free: 7.422 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.9122, allocations: 7.984 kB / 0.5546 GB, free: 7.414 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.075e-06/0.9122, allocations: 0 / 0.5546 GB, free: 7.414 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001425/0.9123, allocations: 171.4 kB / 0.5548 GB, free: 7.23 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002576/0.9126, allocations: 0.535 MB / 0.5553 GB, free: 6.676 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.629e-05/0.9127, allocations: 85.02 kB / 0.5554 GB, free: 6.574 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.738e-05/0.9127, allocations: 0 / 0.5554 GB, free: 6.574 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.74e-05/0.9128, allocations: 7.984 kB / 0.5554 GB, free: 6.566 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.463e-05/0.9128, allocations: 8 kB / 0.5554 GB, free: 6.559 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.428e-06/0.9128, allocations: 256 / 0.5554 GB, free: 6.559 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.74e-05/0.9129, allocations: 109.2 kB / 0.5555 GB, free: 6.453 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007876/0.9137, allocations: 27.83 kB / 0.5555 GB, free: 6.426 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.0005875/0.9143, allocations: 301.2 kB / 0.5558 GB, free: 6.156 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001003/0.9144, allocations: 35.98 kB / 0.5558 GB, free: 6.121 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.9144, allocations: 4 kB / 0.5558 GB, free: 6.117 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.11e-05/0.9144, allocations: 16 kB / 0.5559 GB, free: 6.102 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002086/0.9146, allocations: 23.12 kB / 0.5559 GB, free: 6.082 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003166/0.915, allocations: 111.6 kB / 0.556 GB, free: 5.945 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003106/0.9153, allocations: 0.7114 MB / 0.5567 GB, free: 5.207 MB / 394.7 MB Notification: Performance of SimCode: time 2.4e-07/0.9153, allocations: 0 / 0.5567 GB, free: 5.207 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test1_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test1.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1.pipe 2>&1)