Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test17.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.CombiTable2D.Test17,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test17",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test17,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test17",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.001115/0.001115, allocations: 192.1 kB / 7.804 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.424/1.424, 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.001062/0.001063, allocations: 96.88 kB / 261.4 MB, free: 13.55 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.2386/0.2386, allocations: 43.5 MB / 352.9 MB, free: 1.953 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2631/0.5018, allocations: 64.95 MB / 417.8 MB, free: 40.47 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3937/0.8954, allocations: 58.84 MB / 476.6 MB, free: 5.191 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1536/1.049, allocations: 85.65 MB / 0.5491 GB, free: 13.25 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002577/1.049, allocations: 75.95 kB / 0.5492 GB, free: 13.18 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.01277/1.062, allocations: 4.508 MB / 0.5536 GB, free: 8.613 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.547e-05/1.062, allocations: 12 kB / 0.5536 GB, free: 8.602 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.659e-05/1.062, allocations: 7.906 kB / 0.5536 GB, free: 8.594 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002167/1.063, allocations: 167 kB / 0.5538 GB, free: 8.391 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.618e-05/1.063, allocations: 4 kB / 0.5538 GB, free: 8.387 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.062e-05/1.063, allocations: 11.92 kB / 0.5538 GB, free: 8.375 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001299/1.063, allocations: 39.89 kB / 0.5538 GB, free: 8.336 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002641/1.063, allocations: 186.7 kB / 0.554 GB, free: 8.102 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.808e-05/1.063, allocations: 3.938 kB / 0.554 GB, free: 8.098 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.551e-05/1.063, allocations: 0 / 0.554 GB, free: 8.098 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.869e-05/1.063, allocations: 11.94 kB / 0.554 GB, free: 8.086 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001161/1.064, allocations: 1.675 MB / 0.5557 GB, free: 6.316 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.812e-05/1.064, allocations: 173 kB / 0.5558 GB, free: 6.137 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.132e-05/1.064, allocations: 80.14 kB / 0.5559 GB, free: 6.055 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.994e-05/1.064, allocations: 79.31 kB / 0.556 GB, free: 5.977 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.99e-05/1.065, allocations: 113.8 kB / 0.5561 GB, free: 5.855 MB / 394.7 MB Notification: Performance of pre-optimization done (n=0): time 1.352e-06/1.065, allocations: 4 kB / 0.5561 GB, free: 5.852 MB / 394.7 MB Notification: Performance of matching and sorting (n=0): time 0.0001044/1.065, allocations: 33.61 kB / 0.5561 GB, free: 5.812 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.4e-05/1.065, allocations: 55.41 kB / 0.5562 GB, free: 5.746 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000168/1.065, allocations: 160.1 kB / 0.5563 GB, free: 5.586 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.565e-05/1.065, allocations: 25.7 kB / 0.5563 GB, free: 5.555 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.009e-05/1.065, allocations: 155.1 kB / 0.5565 GB, free: 5.398 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.855e-06/1.065, allocations: 0 / 0.5565 GB, free: 5.398 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.873e-06/1.065, allocations: 0 / 0.5565 GB, free: 5.398 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001409/1.065, allocations: 326.8 kB / 0.5568 GB, free: 5.07 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.336e-05/1.065, allocations: 28.33 kB / 0.5568 GB, free: 5.043 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001625/1.065, allocations: 149.1 kB / 0.557 GB, free: 4.836 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.878e-05/1.065, allocations: 63.91 kB / 0.557 GB, free: 4.773 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/1.065, allocations: 0 / 0.557 GB, free: 4.773 MB / 394.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002848/1.066, allocations: 169.8 kB / 0.5572 GB, free: 4.602 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/1.066, allocations: 4 kB / 0.5572 GB, free: 4.598 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.305e-06/1.066, allocations: 4 kB / 0.5572 GB, free: 4.594 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.211e-05/1.066, allocations: 11.98 kB / 0.5572 GB, free: 4.582 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001334/1.066, allocations: 35.92 kB / 0.5573 GB, free: 4.547 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.063e-05/1.066, allocations: 11.94 kB / 0.5573 GB, free: 4.535 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.197e-05/1.066, allocations: 23.75 kB / 0.5573 GB, free: 4.512 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.732e-05/1.066, allocations: 8 kB / 0.5573 GB, free: 4.504 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001127/1.066, allocations: 197.5 kB / 0.5575 GB, free: 4.305 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.542e-05/1.066, allocations: 112.9 kB / 0.5576 GB, free: 4.188 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.211e-05/1.066, allocations: 116.5 kB / 0.5577 GB, free: 4.062 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.393e-05/1.066, allocations: 180.3 kB / 0.5579 GB, free: 3.879 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-05/1.067, allocations: 184.2 kB / 0.558 GB, free: 3.691 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.096e-05/1.067, allocations: 182.1 kB / 0.5582 GB, free: 3.508 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002122/1.067, allocations: 405.8 kB / 0.5586 GB, free: 3.066 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.354e-05/1.067, allocations: 101 kB / 0.5587 GB, free: 2.961 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.403e-05/1.067, allocations: 104.9 kB / 0.5588 GB, free: 2.852 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.611e-05/1.067, allocations: 184.2 kB / 0.559 GB, free: 2.664 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.678e-05/1.067, allocations: 180.3 kB / 0.5592 GB, free: 2.48 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.341e-05/1.067, allocations: 180.2 kB / 0.5593 GB, free: 2.297 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.682e-05/1.067, allocations: 180.3 kB / 0.5595 GB, free: 2.113 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000134/1.067, allocations: 319.7 kB / 0.5598 GB, free: 1.777 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003016/1.068, allocations: 0.6761 MB / 0.5605 GB, free: 1.074 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001083/1.068, allocations: 193.9 kB / 0.5606 GB, free: 0.8594 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.708e-05/1.068, allocations: 184.3 kB / 0.5608 GB, free: 0.6719 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.295e-05/1.068, allocations: 105 kB / 0.5609 GB, free: 0.5625 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.084e-05/1.068, allocations: 180.2 kB / 0.5611 GB, free: 388 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.549e-05/1.068, allocations: 101 kB / 0.5612 GB, free: 280 kB / 394.7 MB Notification: Performance of sort global known variables: time 8.96e-05/1.068, allocations: 132.1 kB / 0.5613 GB, free: 148 kB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008794/1.069, allocations: 15.91 kB / 0.5613 GB, free: 132 kB / 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 (0): * Single equations (assignments): 0 * 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.0005082/1.07, allocations: 253.5 kB / 0.5616 GB, free: 15.89 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001338/1.07, allocations: 63.8 kB / 0.5616 GB, free: 15.83 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/1.07, allocations: 0 / 0.5616 GB, free: 15.83 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.363e-06/1.07, allocations: 1.25 kB / 0.5616 GB, free: 15.83 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003275/1.07, allocations: 0.5302 MB / 0.5622 GB, free: 15.29 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003268/1.07, allocations: 194.7 kB / 0.5623 GB, free: 15.08 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003797/1.071, allocations: 0.7235 MB / 0.563 GB, free: 14.33 MB / 410.7 MB Notification: Performance of SimCode: time 2.9e-07/1.071, allocations: 0 / 0.563 GB, free: 14.33 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test17.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test17.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test17.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test17.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test17_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test17_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test17.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test17.pipe 2>&1)