Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.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.Test71,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test71",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test71,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test71",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.001279/0.001279, allocations: 182.7 kB / 8.522 MB, free: 1.789 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.316/1.316, allocations: 221.4 MB / 230.3 MB, free: 7.742 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.0009749/0.0009749, allocations: 83.36 kB / 281.2 MB, free: 5.508 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.1836/0.1836, allocations: 44.15 MB / 376.1 MB, free: 3.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2362/0.4198, allocations: 68.04 MB / 444.1 MB, free: 15.51 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1228/0.5427, allocations: 61.9 MB / 0.4942 GB, free: 1.523 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3379/0.8807, allocations: 88.33 MB / 0.5804 GB, free: 8.469 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002082/0.8809, allocations: 67.97 kB / 0.5805 GB, free: 8.402 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.01842/0.8993, allocations: 6.897 MB / 0.5872 GB, free: 1.469 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/0.8994, allocations: 15.94 kB / 0.5873 GB, free: 1.453 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001116/0.8995, allocations: 51.34 kB / 0.5873 GB, free: 1.402 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000817/0.9003, allocations: 479 kB / 0.5878 GB, free: 0.8945 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.634e-05/0.9004, allocations: 0 / 0.5878 GB, free: 0.8945 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.904e-05/0.9004, allocations: 11.98 kB / 0.5878 GB, free: 0.8828 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.418e-05/0.9005, allocations: 23.98 kB / 0.5878 GB, free: 0.8594 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001571/0.9007, allocations: 83.31 kB / 0.5879 GB, free: 0.7656 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.9007, allocations: 0 / 0.5879 GB, free: 0.7656 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.487e-05/0.9007, allocations: 7.906 kB / 0.5879 GB, free: 0.7578 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.9007, allocations: 0 / 0.5879 GB, free: 0.7578 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004309/0.9012, allocations: 358.9 kB / 0.5882 GB, free: 376 kB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001614/0.9013, allocations: 93.28 kB / 0.5883 GB, free: 264 kB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.068e-05/0.9014, allocations: 37.72 kB / 0.5883 GB, free: 220 kB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.861e-05/0.9014, allocations: 0 / 0.5883 GB, free: 220 kB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001431/0.9016, allocations: 101.1 kB / 0.5884 GB, free: 100 kB / 394.7 MB Notification: Performance of pre-optimization done (n=10): time 1.292e-06/0.9016, allocations: 0 / 0.5884 GB, free: 100 kB / 394.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003383/0.9019, allocations: 141 kB / 0.5886 GB, free: 15.95 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.829e-05/0.902, allocations: 85.11 kB / 0.5887 GB, free: 15.85 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001204/0.9032, allocations: 0.9083 MB / 0.5895 GB, free: 14.94 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.966e-05/0.9032, allocations: 25.7 kB / 0.5896 GB, free: 14.91 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000111/0.9033, allocations: 136.1 kB / 0.5897 GB, free: 14.77 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.099e-05/0.9034, allocations: 31.62 kB / 0.5897 GB, free: 14.73 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.571e-06/0.9034, allocations: 0 / 0.5897 GB, free: 14.73 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001516/0.9036, allocations: 366.8 kB / 0.5901 GB, free: 14.37 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.087e-05/0.9036, allocations: 20 kB / 0.5901 GB, free: 14.35 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.731e-05/0.9037, allocations: 59.42 kB / 0.5902 GB, free: 14.28 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.901e-05/0.9038, allocations: 36.05 kB / 0.5902 GB, free: 14.24 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.778e-06/0.9038, allocations: 4 kB / 0.5902 GB, free: 14.24 MB / 410.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002515/0.904, allocations: 149 kB / 0.5903 GB, free: 14.09 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.9041, allocations: 4 kB / 0.5903 GB, free: 14.08 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.9041, allocations: 0 / 0.5903 GB, free: 14.08 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.9041, allocations: 8.062 kB / 0.5903 GB, free: 14.07 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001229/0.9042, allocations: 27.92 kB / 0.5904 GB, free: 14.05 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.336e-06/0.9042, allocations: 4 kB / 0.5904 GB, free: 14.04 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001176/0.9044, allocations: 11.89 kB / 0.5904 GB, free: 14.03 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.154e-05/0.9044, allocations: 4 kB / 0.5904 GB, free: 14.03 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.868e-05/0.9045, allocations: 112.8 kB / 0.5905 GB, free: 13.91 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.929e-05/0.9046, allocations: 55.28 kB / 0.5906 GB, free: 13.86 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003193/0.9049, allocations: 169.7 kB / 0.5907 GB, free: 13.68 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.863e-06/0.9049, allocations: 7.906 kB / 0.5907 GB, free: 13.67 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/0.9049, allocations: 3.984 kB / 0.5907 GB, free: 13.67 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.9049, allocations: 0 / 0.5907 GB, free: 13.67 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003489/0.9053, allocations: 353.9 kB / 0.5911 GB, free: 13.29 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.9053, allocations: 0 / 0.5911 GB, free: 13.29 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.955e-05/0.9054, allocations: 11.98 kB / 0.5911 GB, free: 13.27 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.603e-06/0.9054, allocations: 7.906 kB / 0.5911 GB, free: 13.27 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.403e-05/0.9054, allocations: 256 / 0.5911 GB, free: 13.27 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.971e-06/0.9054, allocations: 4 kB / 0.5911 GB, free: 13.26 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.9054, allocations: 4 kB / 0.5911 GB, free: 13.26 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002821/0.9057, allocations: 201.1 kB / 0.5913 GB, free: 13.04 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004137/0.9061, allocations: 0.5813 MB / 0.5918 GB, free: 12.42 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002444/0.9064, allocations: 188.4 kB / 0.592 GB, free: 12.22 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.18e-05/0.9065, allocations: 7.906 kB / 0.592 GB, free: 12.21 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001088/0.9066, allocations: 8 kB / 0.592 GB, free: 12.2 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.765e-05/0.9067, allocations: 7.984 kB / 0.5921 GB, free: 12.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.324e-05/0.9067, allocations: 7.984 kB / 0.5921 GB, free: 12.19 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0008496/0.9075, allocations: 0.7136 MB / 0.5928 GB, free: 11.48 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009106/0.9084, allocations: 79.98 kB / 0.5928 GB, free: 11.4 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.0007431/0.9092, allocations: 318.7 kB / 0.5931 GB, free: 11.16 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001773/0.9094, allocations: 76.05 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.9094, allocations: 0 / 0.5932 GB, free: 11.09 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.424e-05/0.9095, allocations: 44.19 kB / 0.5933 GB, free: 11.04 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004438/0.9099, allocations: 63.91 kB / 0.5933 GB, free: 10.98 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001394/0.9113, allocations: 0.7681 MB / 0.5941 GB, free: 10.18 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005225/0.9119, allocations: 0.8967 MB / 0.5949 GB, free: 9.262 MB / 410.7 MB Notification: Performance of SimCode: time 3.21e-07/0.9119, allocations: 0 / 0.5949 GB, free: 9.262 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test71_fmu --startTime=0 --stopTime=8000 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test71.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1)