Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.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.CombiTable2Dv.Test4,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test4,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test4",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.001255/0.001255, allocations: 185.1 kB / 7.8 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.241/1.241, allocations: 205.2 MB / 213.4 MB, free: 13.85 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.0009052/0.0009053, allocations: 89.98 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.1886/0.1886, allocations: 43.49 MB / 352.8 MB, free: 1.957 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2055/0.3942, allocations: 64.97 MB / 417.8 MB, free: 40.49 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2729/0.6672, allocations: 58.84 MB / 476.6 MB, free: 5.188 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1219/0.7891, allocations: 86.43 MB / 0.5499 GB, free: 12.48 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003392/0.7896, allocations: 79.45 kB / 0.55 GB, free: 12.41 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.01814/0.8078, allocations: 7.899 MB / 0.5577 GB, free: 4.449 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.586e-05/0.8078, allocations: 12 kB / 0.5577 GB, free: 4.438 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.83e-05/0.8079, allocations: 39.44 kB / 0.5577 GB, free: 4.398 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004464/0.8083, allocations: 331.2 kB / 0.558 GB, free: 4.031 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.124e-05/0.8084, allocations: 7.984 kB / 0.558 GB, free: 4.023 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.734e-05/0.8084, allocations: 4 kB / 0.558 GB, free: 4.02 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.82e-05/0.8085, allocations: 20 kB / 0.5581 GB, free: 4 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.242e-05/0.8086, allocations: 45.67 kB / 0.5581 GB, free: 3.949 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.8086, allocations: 7.906 kB / 0.5581 GB, free: 3.941 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.067e-06/0.8086, allocations: 0 / 0.5581 GB, free: 3.941 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.8086, allocations: 0 / 0.5581 GB, free: 3.941 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005687/0.8092, allocations: 425.2 kB / 0.5585 GB, free: 3.488 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001551/0.8094, allocations: 33.7 kB / 0.5586 GB, free: 3.449 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.853e-05/0.8094, allocations: 8.859 kB / 0.5586 GB, free: 3.438 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.848e-05/0.8094, allocations: 3.938 kB / 0.5586 GB, free: 3.434 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.811e-05/0.8094, allocations: 34.56 kB / 0.5586 GB, free: 3.391 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.333e-06/0.8094, allocations: 4 kB / 0.5586 GB, free: 3.387 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004605/0.8099, allocations: 192.1 kB / 0.5588 GB, free: 3.191 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.02e-05/0.81, allocations: 59.31 kB / 0.5588 GB, free: 3.121 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001108/0.8111, allocations: 0.7512 MB / 0.5596 GB, free: 2.363 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.3e-05/0.8111, allocations: 25.7 kB / 0.5596 GB, free: 2.332 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.932e-05/0.8112, allocations: 136 kB / 0.5597 GB, free: 2.195 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.317e-05/0.8112, allocations: 19.8 kB / 0.5598 GB, free: 2.176 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.148e-06/0.8112, allocations: 0 / 0.5598 GB, free: 2.176 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001499/0.8114, allocations: 362.7 kB / 0.5601 GB, free: 1.812 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.709e-05/0.8114, allocations: 12 kB / 0.5601 GB, free: 1.801 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.24e-05/0.8114, allocations: 12 kB / 0.5601 GB, free: 1.789 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.162e-05/0.8115, allocations: 15.98 kB / 0.5601 GB, free: 1.773 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.41e-07/0.8115, allocations: 0 / 0.5601 GB, free: 1.773 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001371/0.8116, allocations: 97.16 kB / 0.5602 GB, free: 1.672 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.148e-05/0.8116, allocations: 4 kB / 0.5602 GB, free: 1.668 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.8116, allocations: 7.906 kB / 0.5602 GB, free: 1.66 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.183e-05/0.8117, allocations: 4 kB / 0.5602 GB, free: 1.656 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.098e-05/0.8117, allocations: 19.98 kB / 0.5603 GB, free: 1.637 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.8118, allocations: 0 / 0.5603 GB, free: 1.637 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.61e-05/0.8118, allocations: 7.938 kB / 0.5603 GB, free: 1.629 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.245e-06/0.8119, allocations: 4 kB / 0.5603 GB, free: 1.625 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.893e-05/0.8119, allocations: 106.5 kB / 0.5604 GB, free: 1.516 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.968e-05/0.812, allocations: 43.42 kB / 0.5604 GB, free: 1.473 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002137/0.8122, allocations: 121.2 kB / 0.5605 GB, free: 1.344 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.908e-06/0.8122, allocations: 4 kB / 0.5605 GB, free: 1.34 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.8123, allocations: 0 / 0.5605 GB, free: 1.34 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.8123, allocations: 3.938 kB / 0.5605 GB, free: 1.336 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006504/0.8129, allocations: 0.5418 MB / 0.5611 GB, free: 0.75 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.8129, allocations: 0 / 0.5611 GB, free: 0.75 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.976e-05/0.813, allocations: 19.98 kB / 0.5611 GB, free: 0.7305 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.813, allocations: 0 / 0.5611 GB, free: 0.7305 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.018e-05/0.813, allocations: 4 kB / 0.5611 GB, free: 0.7266 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.813, allocations: 384 / 0.5611 GB, free: 0.7266 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.833e-06/0.8131, allocations: 3.906 kB / 0.5611 GB, free: 0.7227 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001925/0.8133, allocations: 206.9 kB / 0.5613 GB, free: 0.5039 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003133/0.8136, allocations: 0.5814 MB / 0.5619 GB, free: 15.9 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001781/0.8138, allocations: 160.5 kB / 0.562 GB, free: 15.73 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.127e-05/0.8138, allocations: 0 / 0.562 GB, free: 15.73 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000165/0.814, allocations: 4 kB / 0.562 GB, free: 15.72 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.592e-05/0.8141, allocations: 7.984 kB / 0.562 GB, free: 15.71 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.34e-06/0.8141, allocations: 4 kB / 0.562 GB, free: 15.71 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0006602/0.8147, allocations: 0.6082 MB / 0.5626 GB, free: 15.11 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009203/0.8157, allocations: 63.94 kB / 0.5627 GB, free: 15.04 MB / 410.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.0006509/0.8163, allocations: 302.1 kB / 0.563 GB, free: 14.78 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001085/0.8164, allocations: 36 kB / 0.563 GB, free: 14.75 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.8165, allocations: 0 / 0.563 GB, free: 14.75 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.382e-05/0.8165, allocations: 20 kB / 0.563 GB, free: 14.73 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002658/0.8168, allocations: 29.72 kB / 0.5631 GB, free: 14.7 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001191/0.818, allocations: 0.7074 MB / 0.5637 GB, free: 13.95 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005162/0.8185, allocations: 0.8567 MB / 0.5646 GB, free: 13.06 MB / 410.7 MB Notification: Performance of SimCode: time 2.8e-07/0.8185, allocations: 0 / 0.5646 GB, free: 13.06 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test4_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test4.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe 2>&1)