Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.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.Test72,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test72",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test72,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test72",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.001326/0.001326, allocations: 185.2 kB / 8.52 MB, free: 1.824 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.258/1.258, allocations: 221.4 MB / 230.3 MB, free: 7.688 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.0009346/0.0009345, allocations: 92.61 kB / 281.2 MB, free: 5.438 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.1835/0.1835, allocations: 44.15 MB / 376.1 MB, free: 3.215 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2334/0.417, allocations: 68.04 MB / 444.1 MB, free: 15.51 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1212/0.5382, allocations: 61.92 MB / 0.4942 GB, free: 1.508 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.337/0.8753, allocations: 88.32 MB / 0.5804 GB, free: 8.465 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002252/0.8756, allocations: 79.52 kB / 0.5805 GB, free: 8.391 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.01795/0.8935, allocations: 6.893 MB / 0.5872 GB, free: 1.465 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.8936, allocations: 11.94 kB / 0.5873 GB, free: 1.453 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001114/0.8937, allocations: 51.34 kB / 0.5873 GB, free: 1.402 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007835/0.8945, allocations: 479 kB / 0.5878 GB, free: 0.8945 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.833e-05/0.8945, allocations: 0 / 0.5878 GB, free: 0.8945 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.809e-05/0.8946, allocations: 4 kB / 0.5878 GB, free: 0.8906 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.662e-05/0.8947, allocations: 27.98 kB / 0.5878 GB, free: 0.8633 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001733/0.8948, allocations: 87.31 kB / 0.5879 GB, free: 0.7656 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.8949, allocations: 0 / 0.5879 GB, free: 0.7656 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.597e-05/0.8949, allocations: 3.906 kB / 0.5879 GB, free: 0.7617 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.8949, allocations: 4 kB / 0.5879 GB, free: 0.7578 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003878/0.8953, allocations: 354.9 kB / 0.5882 GB, free: 380 kB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001551/0.8954, allocations: 93.27 kB / 0.5883 GB, free: 268 kB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.439e-05/0.8955, allocations: 37.89 kB / 0.5883 GB, free: 224 kB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.616e-05/0.8955, allocations: 3.938 kB / 0.5883 GB, free: 220 kB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001393/0.8957, allocations: 97 kB / 0.5884 GB, free: 104 kB / 394.7 MB Notification: Performance of pre-optimization done (n=10): time 2.104e-06/0.8957, allocations: 0 / 0.5884 GB, free: 104 kB / 394.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003522/0.8961, allocations: 145 kB / 0.5886 GB, free: 15.95 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.561e-05/0.8961, allocations: 81.11 kB / 0.5887 GB, free: 15.86 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001282/0.8974, allocations: 0.9044 MB / 0.5895 GB, free: 14.95 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.999e-05/0.8974, allocations: 25.7 kB / 0.5896 GB, free: 14.91 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.074e-05/0.8975, allocations: 140.1 kB / 0.5897 GB, free: 14.77 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.65e-05/0.8976, allocations: 28.41 kB / 0.5897 GB, free: 14.75 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.312e-06/0.8976, allocations: 0 / 0.5897 GB, free: 14.75 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001575/0.8978, allocations: 370.8 kB / 0.5901 GB, free: 14.38 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.297e-05/0.8978, allocations: 24 kB / 0.5901 GB, free: 14.35 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.917e-05/0.8979, allocations: 56.17 kB / 0.5902 GB, free: 14.29 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.566e-05/0.898, allocations: 27.98 kB / 0.5902 GB, free: 14.26 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.898, allocations: 3.938 kB / 0.5902 GB, free: 14.25 MB / 410.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002396/0.8983, allocations: 157.1 kB / 0.5903 GB, free: 14.09 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/0.8983, allocations: 7.938 kB / 0.5903 GB, free: 14.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.8983, allocations: 8.062 kB / 0.5904 GB, free: 14.08 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.087e-05/0.8983, allocations: 0 / 0.5904 GB, free: 14.08 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001211/0.8984, allocations: 19.98 kB / 0.5904 GB, free: 14.06 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.678e-06/0.8985, allocations: 4 kB / 0.5904 GB, free: 14.05 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001171/0.8986, allocations: 7.906 kB / 0.5904 GB, free: 14.05 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.383e-05/0.8986, allocations: 8 kB / 0.5904 GB, free: 14.04 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.startTime.nextTimeEvent,startTime.nextTimeEvent,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEventScaled,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.805e-05/0.8987, allocations: 116.8 kB / 0.5905 GB, free: 13.92 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.83e-05/0.8988, allocations: 59.28 kB / 0.5906 GB, free: 13.86 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003085/0.8991, allocations: 169.7 kB / 0.5907 GB, free: 13.68 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.085e-06/0.8991, allocations: 11.89 kB / 0.5907 GB, free: 13.67 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.8991, allocations: 0 / 0.5907 GB, free: 13.67 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.8991, allocations: 0 / 0.5907 GB, free: 13.67 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003561/0.8995, allocations: 361.9 kB / 0.5911 GB, free: 13.28 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.8995, allocations: 0 / 0.5911 GB, free: 13.28 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.848e-05/0.8996, allocations: 8 kB / 0.5911 GB, free: 13.27 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.8996, allocations: 7.906 kB / 0.5911 GB, free: 13.27 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.46e-05/0.8996, allocations: 3.984 kB / 0.5911 GB, free: 13.26 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.719e-06/0.8996, allocations: 8 kB / 0.5911 GB, free: 13.25 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.564e-06/0.8996, allocations: 0 / 0.5911 GB, free: 13.25 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002618/0.8999, allocations: 187.4 kB / 0.5913 GB, free: 13.04 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003474/0.9002, allocations: 0.5891 MB / 0.5919 GB, free: 12.42 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002313/0.9005, allocations: 188.4 kB / 0.592 GB, free: 12.22 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.433e-05/0.9006, allocations: 11.89 kB / 0.592 GB, free: 12.21 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001096/0.9007, allocations: 4 kB / 0.5921 GB, free: 12.2 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.823e-05/0.9007, allocations: 11.98 kB / 0.5921 GB, free: 12.19 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.198e-05/0.9008, allocations: 4 kB / 0.5921 GB, free: 12.19 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0008059/0.9016, allocations: 0.7214 MB / 0.5928 GB, free: 11.47 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009505/0.9025, allocations: 76 kB / 0.5928 GB, free: 11.39 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * 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.0006638/0.9032, allocations: 310.2 kB / 0.5931 GB, free: 11.16 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001755/0.9034, allocations: 71.92 kB / 0.5932 GB, free: 11.09 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.9034, allocations: 0 / 0.5932 GB, free: 11.09 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.405e-05/0.9035, allocations: 43.98 kB / 0.5932 GB, free: 11.05 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004124/0.9039, allocations: 63.38 kB / 0.5933 GB, free: 10.99 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001344/0.9053, allocations: 0.7679 MB / 0.5941 GB, free: 10.19 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005683/0.9058, allocations: 0.9006 MB / 0.5949 GB, free: 9.266 MB / 410.7 MB Notification: Performance of SimCode: time 2.2e-07/0.9059, allocations: 0 / 0.5949 GB, free: 9.266 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test72_fmu --startTime=0 --stopTime=8000 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test72.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1)