Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16.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.Test16,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test16,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test16",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.001875/0.001875, allocations: 188.5 kB / 7.808 MB, free: 2.488 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.457/1.457, 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.0008704/0.0008703, allocations: 98.27 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.2175/0.2175, allocations: 43.49 MB / 352.8 MB, free: 1.98 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2716/0.4891, allocations: 64.96 MB / 417.8 MB, free: 40.49 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3924/0.8815, allocations: 58.83 MB / 476.6 MB, free: 5.312 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.152/1.034, allocations: 85.45 MB / 0.5489 GB, free: 13.57 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000456/1.034, allocations: 75.14 kB / 0.549 GB, free: 13.5 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.01347/1.048, allocations: 4.502 MB / 0.5534 GB, free: 8.941 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.156e-05/1.048, allocations: 8 kB / 0.5534 GB, free: 8.934 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.944e-05/1.048, allocations: 7.906 kB / 0.5534 GB, free: 8.926 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001941/1.048, allocations: 175 kB / 0.5536 GB, free: 8.715 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.999e-05/1.048, allocations: 4 kB / 0.5536 GB, free: 8.711 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.703e-05/1.048, allocations: 7.938 kB / 0.5536 GB, free: 8.703 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001157/1.048, allocations: 43.77 kB / 0.5536 GB, free: 8.66 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002199/1.048, allocations: 174.6 kB / 0.5538 GB, free: 8.438 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.383e-05/1.048, allocations: 7.938 kB / 0.5538 GB, free: 8.43 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.48e-05/1.048, allocations: 4 kB / 0.5538 GB, free: 8.426 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.208e-05/1.048, allocations: 11.98 kB / 0.5538 GB, free: 8.414 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001209/1.05, allocations: 1.675 MB / 0.5555 GB, free: 6.645 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001131/1.05, allocations: 177 kB / 0.5556 GB, free: 6.461 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.949e-05/1.05, allocations: 80.14 kB / 0.5557 GB, free: 6.379 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.702e-05/1.05, allocations: 79.31 kB / 0.5558 GB, free: 6.301 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.75e-05/1.05, allocations: 109.8 kB / 0.5559 GB, free: 6.184 MB / 394.7 MB Notification: Performance of pre-optimization done (n=0): time 1.844e-06/1.05, allocations: 0 / 0.5559 GB, free: 6.184 MB / 394.7 MB Notification: Performance of matching and sorting (n=0): time 0.0001097/1.05, allocations: 37.55 kB / 0.5559 GB, free: 6.141 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.792e-05/1.05, allocations: 51.41 kB / 0.556 GB, free: 6.078 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001884/1.05, allocations: 168.1 kB / 0.5561 GB, free: 5.91 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.323e-05/1.05, allocations: 29.7 kB / 0.5562 GB, free: 5.875 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.757e-05/1.05, allocations: 155.1 kB / 0.5563 GB, free: 5.719 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.257e-06/1.051, allocations: 0 / 0.5563 GB, free: 5.719 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.18e-06/1.051, allocations: 0 / 0.5563 GB, free: 5.719 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001889/1.051, allocations: 322.8 kB / 0.5566 GB, free: 5.395 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.48e-05/1.051, allocations: 24.34 kB / 0.5566 GB, free: 5.371 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001396/1.051, allocations: 149.1 kB / 0.5568 GB, free: 5.164 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.481e-05/1.051, allocations: 67.91 kB / 0.5568 GB, free: 5.098 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/1.051, allocations: 0 / 0.5568 GB, free: 5.098 MB / 394.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000319/1.051, allocations: 165.8 kB / 0.557 GB, free: 4.93 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/1.051, allocations: 12.03 kB / 0.557 GB, free: 4.918 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.116e-05/1.051, allocations: 8 kB / 0.557 GB, free: 4.91 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.132e-05/1.051, allocations: 8 kB / 0.557 GB, free: 4.902 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001434/1.052, allocations: 35.92 kB / 0.5571 GB, free: 4.867 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.091e-05/1.052, allocations: 4 kB / 0.5571 GB, free: 4.863 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001082/1.052, allocations: 23.73 kB / 0.5571 GB, free: 4.84 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.933e-05/1.052, allocations: 12 kB / 0.5571 GB, free: 4.828 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.0001357/1.052, allocations: 193.5 kB / 0.5573 GB, free: 4.633 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.107e-05/1.052, allocations: 116.8 kB / 0.5574 GB, free: 4.512 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.945e-05/1.052, allocations: 112.6 kB / 0.5575 GB, free: 4.391 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.819e-05/1.052, allocations: 184.2 kB / 0.5577 GB, free: 4.203 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001116/1.052, allocations: 180.2 kB / 0.5578 GB, free: 4.02 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.175e-05/1.052, allocations: 182.1 kB / 0.558 GB, free: 3.836 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002858/1.053, allocations: 405.8 kB / 0.5584 GB, free: 3.395 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.242e-05/1.053, allocations: 104.9 kB / 0.5585 GB, free: 3.285 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.843e-05/1.053, allocations: 105 kB / 0.5586 GB, free: 3.176 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.117e-05/1.053, allocations: 180.2 kB / 0.5588 GB, free: 2.992 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.939e-05/1.053, allocations: 180.2 kB / 0.559 GB, free: 2.809 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.187e-05/1.053, allocations: 184.2 kB / 0.5591 GB, free: 2.621 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.256e-05/1.053, allocations: 184.3 kB / 0.5593 GB, free: 2.434 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001858/1.053, allocations: 311.7 kB / 0.5596 GB, free: 2.105 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004225/1.054, allocations: 0.6838 MB / 0.5603 GB, free: 1.395 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001229/1.054, allocations: 186 kB / 0.5604 GB, free: 1.188 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001162/1.054, allocations: 180.3 kB / 0.5606 GB, free: 1.004 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000107/1.054, allocations: 112.9 kB / 0.5607 GB, free: 0.8867 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001112/1.054, allocations: 180.3 kB / 0.5609 GB, free: 0.7031 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.218e-05/1.054, allocations: 101 kB / 0.561 GB, free: 0.5977 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001282/1.054, allocations: 132.1 kB / 0.5611 GB, free: 480 kB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009929/1.055, allocations: 15.91 kB / 0.5611 GB, free: 464 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.0005058/1.056, allocations: 250 kB / 0.5614 GB, free: 224 kB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001586/1.056, allocations: 67.78 kB / 0.5614 GB, free: 156 kB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.604e-06/1.056, allocations: 0 / 0.5614 GB, free: 156 kB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.436e-06/1.056, allocations: 5.25 kB / 0.5614 GB, free: 152 kB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004037/1.057, allocations: 0.5224 MB / 0.562 GB, free: 15.62 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003673/1.057, allocations: 194.6 kB / 0.5621 GB, free: 15.41 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004629/1.057, allocations: 0.7274 MB / 0.5628 GB, free: 14.65 MB / 410.7 MB Notification: Performance of SimCode: time 2.61e-07/1.057, allocations: 0 / 0.5628 GB, free: 14.65 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test16_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test16.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16.pipe 2>&1)