Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test33.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test33,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test33",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test33,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test33",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 4.0.0+maint.om/package.mo): time 0.001076/0.001076, allocations: 174.8 kB / 8.518 MB, free: 1.832 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.318/1.318, allocations: 221.4 MB / 230.3 MB, free: 7.707 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009661/0.0009658, allocations: 91.16 kB / 281.2 MB, free: 5.473 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2329/0.2329, allocations: 44.15 MB / 376.1 MB, free: 3.246 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2778/0.5108, allocations: 68.03 MB / 444.1 MB, free: 15.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.138/0.6488, allocations: 61.91 MB / 0.4942 GB, free: 1.555 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.33/0.9788, allocations: 88.8 MB / 0.5809 GB, free: 8.051 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001854/0.9791, allocations: 76.61 kB / 0.581 GB, free: 7.977 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.01584/0.9949, allocations: 6.342 MB / 0.5872 GB, free: 1.578 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.998e-05/0.995, allocations: 11.94 kB / 0.5872 GB, free: 1.566 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.949e-05/0.995, allocations: 15.81 kB / 0.5872 GB, free: 1.551 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002528/0.9953, allocations: 230.7 kB / 0.5874 GB, free: 1.285 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.618e-06/0.9953, allocations: 0 / 0.5874 GB, free: 1.285 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.633e-05/0.9953, allocations: 4 kB / 0.5874 GB, free: 1.281 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000129/0.9955, allocations: 59.83 kB / 0.5875 GB, free: 1.223 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001329/0.9956, allocations: 73.66 kB / 0.5875 GB, free: 1.145 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.9956, allocations: 0 / 0.5875 GB, free: 1.145 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.577e-05/0.9956, allocations: 8 kB / 0.5875 GB, free: 1.137 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.9956, allocations: 0 / 0.5875 GB, free: 1.137 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007666/0.9964, allocations: 445 kB / 0.588 GB, free: 0.6641 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001346/0.9966, allocations: 74.58 kB / 0.588 GB, free: 0.582 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.504e-05/0.9966, allocations: 36.8 kB / 0.5881 GB, free: 0.543 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.408e-05/0.9967, allocations: 0 / 0.5881 GB, free: 0.543 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001249/0.9968, allocations: 91.28 kB / 0.5882 GB, free: 452 kB / 394.7 MB Notification: Performance of pre-optimization done (n=10): time 1.092e-06/0.9968, allocations: 0 / 0.5882 GB, free: 452 kB / 394.7 MB Notification: Performance of matching and sorting (n=13): time 0.001715/0.9985, allocations: 0.524 MB / 0.5887 GB, free: 15.91 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.468e-05/0.9986, allocations: 55.31 kB / 0.5887 GB, free: 15.84 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001871/0.9988, allocations: 214.1 kB / 0.5889 GB, free: 15.62 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.35e-05/0.9988, allocations: 25.7 kB / 0.589 GB, free: 15.59 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.614e-05/0.9988, allocations: 96.12 kB / 0.5891 GB, free: 15.5 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.16e-05/0.9989, allocations: 39.89 kB / 0.5891 GB, free: 15.46 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.417e-05/0.9989, allocations: 4 kB / 0.5891 GB, free: 15.45 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.731e-05/0.999, allocations: 334.8 kB / 0.5894 GB, free: 15.12 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000105/0.9991, allocations: 51.94 kB / 0.5895 GB, free: 15.07 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001027/0.9992, allocations: 52 kB / 0.5895 GB, free: 15.02 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.702e-05/0.9993, allocations: 38.33 kB / 0.5895 GB, free: 14.98 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.9993, allocations: 0 / 0.5895 GB, free: 14.98 MB / 410.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002718/0.9996, allocations: 157.3 kB / 0.5897 GB, free: 14.82 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.837e-06/0.9996, allocations: 4 kB / 0.5897 GB, free: 14.82 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.9996, allocations: 4 kB / 0.5897 GB, free: 14.81 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.026e-05/0.9996, allocations: 3.906 kB / 0.5897 GB, free: 14.81 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004531/1, allocations: 115.9 kB / 0.5898 GB, free: 14.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/1, allocations: 0 / 0.5898 GB, free: 14.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004468/1.001, allocations: 100 kB / 0.5899 GB, free: 14.6 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.147e-05/1.001, allocations: 11.94 kB / 0.5899 GB, free: 14.59 MB / 410.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: 10 ($whenCondition2,$whenCondition1,$PRE.trapezoid1.T_start,trapezoid1.T_start,$PRE.trapezoid1.count,trapezoid1.count,$PRE.trapezoid2.T_start,trapezoid2.T_start,$PRE.trapezoid2.count,trapezoid2.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 2 * 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 7.343e-05/1.001, allocations: 112.9 kB / 0.59 GB, free: 14.47 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.43e-05/1.001, allocations: 19.72 kB / 0.5901 GB, free: 14.45 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002904/1.001, allocations: 159 kB / 0.5902 GB, free: 14.28 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.798e-06/1.001, allocations: 4 kB / 0.5902 GB, free: 14.28 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.915e-06/1.001, allocations: 0 / 0.5902 GB, free: 14.28 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/1.001, allocations: 4 kB / 0.5902 GB, free: 14.27 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004666/1.001, allocations: 468.1 kB / 0.5907 GB, free: 13.77 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/1.001, allocations: 0 / 0.5907 GB, free: 13.77 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000431/1.002, allocations: 103.9 kB / 0.5908 GB, free: 13.67 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/1.002, allocations: 4 kB / 0.5908 GB, free: 13.67 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.911e-05/1.002, allocations: 4 kB / 0.5908 GB, free: 13.66 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/1.002, allocations: 3.984 kB / 0.5908 GB, free: 13.66 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/1.002, allocations: 4 kB / 0.5908 GB, free: 13.66 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002627/1.002, allocations: 230.8 kB / 0.591 GB, free: 13.42 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003472/1.003, allocations: 0.6129 MB / 0.5916 GB, free: 12.79 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.714e-05/1.003, allocations: 100.9 kB / 0.5917 GB, free: 12.67 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.498e-05/1.003, allocations: 0 / 0.5917 GB, free: 12.67 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004809/1.003, allocations: 99.91 kB / 0.5918 GB, free: 12.57 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001457/1.003, allocations: 55.91 kB / 0.5918 GB, free: 12.52 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.807e-05/1.003, allocations: 3.984 kB / 0.5918 GB, free: 12.51 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0001254/1.004, allocations: 168.6 kB / 0.592 GB, free: 12.35 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008887/1.004, allocations: 63.83 kB / 0.5921 GB, free: 12.29 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: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,trapezoid2.T_start,trapezoid2.count) * Number of discrete states: 2 (trapezoid2.count,trapezoid1.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0005285/1.005, allocations: 310.9 kB / 0.5924 GB, free: 12.05 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002864/1.005, allocations: 171.4 kB / 0.5925 GB, free: 11.87 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.222e-06/1.005, allocations: 0 / 0.5925 GB, free: 11.87 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001384/1.005, allocations: 71.94 kB / 0.5926 GB, free: 11.8 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002494/1.006, allocations: 27.97 kB / 0.5926 GB, free: 11.77 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005472/1.006, allocations: 239.6 kB / 0.5928 GB, free: 11.51 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003334/1.007, allocations: 0.7625 MB / 0.5936 GB, free: 10.72 MB / 410.7 MB Notification: Performance of SimCode: time 3.2e-07/1.007, allocations: 3.938 kB / 0.5936 GB, free: 10.72 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test33.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test33_fmu --startTime=0 --stopTime=14 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test33.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe 2>&1)