Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.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.CombiTimeTable.Test31,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test31,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test31",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.001161/0.001161, allocations: 188.3 kB / 8.526 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.284/1.284, allocations: 221.4 MB / 230.3 MB, free: 7.711 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.0009493/0.0009493, allocations: 88.73 kB / 281.2 MB, free: 5.48 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.1681/0.1681, allocations: 44.15 MB / 376.1 MB, free: 3.258 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1994/0.3676, allocations: 68.03 MB / 444.1 MB, free: 15.55 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1045/0.4721, allocations: 61.92 MB / 0.4942 GB, free: 1.559 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2799/0.752, allocations: 88.44 MB / 0.5806 GB, free: 8.32 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002274/0.7523, allocations: 80.17 kB / 0.5806 GB, free: 8.25 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.01584/0.7682, allocations: 5.481 MB / 0.586 GB, free: 2.742 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.7682, allocations: 11.94 kB / 0.586 GB, free: 2.73 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.528e-05/0.7683, allocations: 7.906 kB / 0.586 GB, free: 2.723 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003238/0.7686, allocations: 218.7 kB / 0.5862 GB, free: 2.469 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.626e-05/0.7686, allocations: 4 kB / 0.5862 GB, free: 2.465 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.712e-05/0.7686, allocations: 4 kB / 0.5862 GB, free: 2.461 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.608e-05/0.7687, allocations: 23.97 kB / 0.5862 GB, free: 2.438 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.391e-05/0.7688, allocations: 53.67 kB / 0.5863 GB, free: 2.379 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.7688, allocations: 0 / 0.5863 GB, free: 2.379 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.214e-05/0.7689, allocations: 3.906 kB / 0.5863 GB, free: 2.375 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.7689, allocations: 0 / 0.5863 GB, free: 2.375 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003463/0.7692, allocations: 265.5 kB / 0.5865 GB, free: 2.078 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.96e-05/0.7693, allocations: 50.69 kB / 0.5866 GB, free: 2.02 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.143e-05/0.7694, allocations: 24.83 kB / 0.5866 GB, free: 1.992 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.418e-05/0.7694, allocations: 4 kB / 0.5866 GB, free: 1.988 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.559e-05/0.7695, allocations: 59.39 kB / 0.5867 GB, free: 1.918 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 2.975e-06/0.7695, allocations: 4 kB / 0.5867 GB, free: 1.914 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004105/0.7699, allocations: 133.2 kB / 0.5868 GB, free: 1.777 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.38e-05/0.77, allocations: 55.41 kB / 0.5869 GB, free: 1.711 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001696/0.7701, allocations: 165.4 kB / 0.587 GB, free: 1.543 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.061e-05/0.7702, allocations: 25.7 kB / 0.587 GB, free: 1.512 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.609e-05/0.7702, allocations: 92.12 kB / 0.5871 GB, free: 1.418 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.183e-05/0.7702, allocations: 19.72 kB / 0.5872 GB, free: 1.398 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.419e-06/0.7703, allocations: 0 / 0.5872 GB, free: 1.398 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.765e-05/0.7704, allocations: 322.8 kB / 0.5875 GB, free: 1.074 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.636e-05/0.7704, allocations: 16 kB / 0.5875 GB, free: 1.059 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.99e-05/0.7705, allocations: 42.39 kB / 0.5875 GB, free: 1.012 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.871e-05/0.7705, allocations: 23.98 kB / 0.5875 GB, free: 0.9883 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.7705, allocations: 0 / 0.5875 GB, free: 0.9883 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001503/0.7707, allocations: 93.48 kB / 0.5876 GB, free: 0.8906 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.7707, allocations: 4 kB / 0.5876 GB, free: 0.8867 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/0.7707, allocations: 192 / 0.5876 GB, free: 0.8867 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.7707, allocations: 0 / 0.5876 GB, free: 0.8867 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001285/0.7709, allocations: 23.88 kB / 0.5877 GB, free: 0.8633 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.7709, allocations: 8.016 kB / 0.5877 GB, free: 0.8555 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.691e-05/0.7709, allocations: 7.938 kB / 0.5877 GB, free: 0.8477 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.235e-06/0.771, allocations: 0 / 0.5877 GB, free: 0.8477 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 8.502e-05/0.7711, allocations: 112 kB / 0.5878 GB, free: 0.7344 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.222e-05/0.7711, allocations: 11.91 kB / 0.5878 GB, free: 0.7227 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000236/0.7713, allocations: 106.3 kB / 0.5879 GB, free: 0.6133 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.7714, allocations: 0 / 0.5879 GB, free: 0.6133 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.7714, allocations: 4 kB / 0.5879 GB, free: 0.6094 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.7714, allocations: 8 kB / 0.5879 GB, free: 0.6016 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004156/0.7718, allocations: 371.8 kB / 0.5883 GB, free: 192 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.7718, allocations: 0 / 0.5883 GB, free: 192 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.796e-05/0.7719, allocations: 11.98 kB / 0.5883 GB, free: 180 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.7719, allocations: 0 / 0.5883 GB, free: 180 kB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.3e-05/0.7719, allocations: 4 kB / 0.5883 GB, free: 176 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.7719, allocations: 0 / 0.5883 GB, free: 176 kB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.7719, allocations: 3.938 kB / 0.5883 GB, free: 172 kB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002595/0.7722, allocations: 210.1 kB / 0.5885 GB, free: 15.93 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003224/0.7725, allocations: 0.5805 MB / 0.589 GB, free: 15.32 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.153e-05/0.7726, allocations: 92.91 kB / 0.5891 GB, free: 15.21 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.268e-05/0.7726, allocations: 4 kB / 0.5891 GB, free: 15.21 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.641e-05/0.7727, allocations: 4 kB / 0.5891 GB, free: 15.21 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.95e-05/0.7728, allocations: 7.984 kB / 0.5891 GB, free: 15.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.066e-05/0.7728, allocations: 4 kB / 0.5892 GB, free: 15.2 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0001057/0.7729, allocations: 133.3 kB / 0.5893 GB, free: 15.07 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000848/0.7737, allocations: 31.98 kB / 0.5893 GB, free: 15.04 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0007007/0.7745, allocations: 346.5 kB / 0.5896 GB, free: 14.77 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001391/0.7746, allocations: 55.98 kB / 0.5897 GB, free: 14.72 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.7746, allocations: 0 / 0.5897 GB, free: 14.72 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.603e-05/0.7747, allocations: 28.06 kB / 0.5897 GB, free: 14.69 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002899/0.775, allocations: 30.92 kB / 0.5897 GB, free: 14.66 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004517/0.7754, allocations: 160.5 kB / 0.5899 GB, free: 14.47 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003956/0.7758, allocations: 0.7269 MB / 0.5906 GB, free: 13.72 MB / 410.7 MB Notification: Performance of SimCode: time 2.495e-06/0.7759, allocations: 0 / 0.5906 GB, free: 13.72 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test31_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test31.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe 2>&1)